Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_page.h
Show First 20 Lines • Show All 531 Lines • ▼ Show 20 Lines | |||||
* (p) - vm_page_grab_pages() supports the flag. | * (p) - vm_page_grab_pages() supports the flag. | ||||
* Bits above 15 define the count of additional pages that the caller | * Bits above 15 define the count of additional pages that the caller | ||||
* intends to allocate. | * intends to allocate. | ||||
*/ | */ | ||||
#define VM_ALLOC_NORMAL 0 | #define VM_ALLOC_NORMAL 0 | ||||
#define VM_ALLOC_INTERRUPT 1 | #define VM_ALLOC_INTERRUPT 1 | ||||
#define VM_ALLOC_SYSTEM 2 | #define VM_ALLOC_SYSTEM 2 | ||||
#define VM_ALLOC_CLASS_MASK 3 | #define VM_ALLOC_CLASS_MASK 3 | ||||
#define VM_ALLOC_NOZERO 0x0004 /* (g) Don't load a zero page */ | |||||
#define VM_ALLOC_WAITOK 0x0008 /* (acf) Sleep and retry */ | #define VM_ALLOC_WAITOK 0x0008 /* (acf) Sleep and retry */ | ||||
#define VM_ALLOC_WAITFAIL 0x0010 /* (acf) Sleep and return error */ | #define VM_ALLOC_WAITFAIL 0x0010 /* (acf) Sleep and return error */ | ||||
#define VM_ALLOC_WIRED 0x0020 /* (acfgp) Allocate a wired page */ | #define VM_ALLOC_WIRED 0x0020 /* (acfgp) Allocate a wired page */ | ||||
#define VM_ALLOC_ZERO 0x0040 /* (acfgp) Allocate a prezeroed page */ | #define VM_ALLOC_ZERO 0x0040 /* (acfgp) Allocate a prezeroed page */ | ||||
#define VM_ALLOC_NORECLAIM 0x0080 /* (c) Do not reclaim after failure */ | #define VM_ALLOC_NORECLAIM 0x0080 /* (c) Do not reclaim after failure */ | ||||
#define VM_ALLOC_NOOBJ 0x0100 /* (acg) No associated object */ | #define VM_ALLOC_NOOBJ 0x0100 /* (acg) No associated object */ | ||||
#define VM_ALLOC_NOBUSY 0x0200 /* (acgp) Do not excl busy the page */ | #define VM_ALLOC_NOBUSY 0x0200 /* (acgp) Do not excl busy the page */ | ||||
#define VM_ALLOC_NOCREAT 0x0400 /* (gp) Don't create a page */ | #define VM_ALLOC_NOCREAT 0x0400 /* (gp) Don't create a page */ | ||||
▲ Show 20 Lines • Show All 473 Lines • Show Last 20 Lines |