1 //! This module corresponds to `mach/vm_behavior.h`. 2 3 pub type vm_behavior_t = ::libc::c_int; 4 5 pub const VM_BEHAVIOR_DEFAULT: vm_behavior_t = 0; 6 pub const VM_BEHAVIOR_RANDOM: vm_behavior_t = 1; 7 pub const VM_BEHAVIOR_SEQUENTIAL: vm_behavior_t = 2; 8 pub const VM_BEHAVIOR_RSEQNTL: vm_behavior_t = 3; 9 pub const VM_BEHAVIOR_WILLNEED: vm_behavior_t = 4; 10 pub const VM_BEHAVIOR_DONTNEED: vm_behavior_t = 5; 11 pub const VM_BEHAVIOR_FREE: vm_behavior_t = 6; 12 pub const VM_BEHAVIOR_ZERO_WIRED_PAGES: vm_behavior_t = 7; 13 pub const VM_BEHAVIOR_REUSABLE: vm_behavior_t = 8; 14 pub const VM_BEHAVIOR_REUSE: vm_behavior_t = 9; 15 pub const VM_BEHAVIOR_CAN_REUSE: vm_behavior_t = 10; 16