Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_map.h
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | |||||
#define VM_FAULT_NOFILL 0x04 /* Fail if the pager doesn't have a copy */ | #define VM_FAULT_NOFILL 0x04 /* Fail if the pager doesn't have a copy */ | ||||
/* | /* | ||||
* Initially, mappings are slightly sequential. The maximum window size must | * Initially, mappings are slightly sequential. The maximum window size must | ||||
* account for the map entry's "read_ahead" field being defined as an uint8_t. | * account for the map entry's "read_ahead" field being defined as an uint8_t. | ||||
*/ | */ | ||||
#define VM_FAULT_READ_AHEAD_MIN 7 | #define VM_FAULT_READ_AHEAD_MIN 7 | ||||
#define VM_FAULT_READ_AHEAD_INIT 15 | #define VM_FAULT_READ_AHEAD_INIT 15 | ||||
#define VM_FAULT_READ_AHEAD_MAX min(atop(MAXPHYS) - 1, UINT8_MAX) | #define VM_FAULT_READ_AHEAD_MAX min(atop(maxphys) - 1, UINT8_MAX) | ||||
/* | /* | ||||
* The following "find_space" options are supported by vm_map_find(). | * The following "find_space" options are supported by vm_map_find(). | ||||
* | * | ||||
* For VMFS_ALIGNED_SPACE, the desired alignment is specified to | * For VMFS_ALIGNED_SPACE, the desired alignment is specified to | ||||
* the macro argument as log base 2 of the desired alignment. | * the macro argument as log base 2 of the desired alignment. | ||||
*/ | */ | ||||
#define VMFS_NO_SPACE 0 /* don't find; use the given range */ | #define VMFS_NO_SPACE 0 /* don't find; use the given range */ | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |