#include <mach/vm_sync.h> also included by
<mach/mach.h>mach/vm_sync.h
File: mach/vm_sync.h
Virtual memory synchronisation definitions.
typedefvm_sync_t
typedef unsigned vm_sync_t
macroVM_SYNC_ASYNCHRONOUS
#define VM_SYNC_ASYNCHRONOUS ((vm_sync_t) 0x01)
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Writes dirty and precious pages back to the memory manager, returns without waiting for pages to reach backing storage.
macroVM_SYNC_SYNCHRONOUS
#define VM_SYNC_SYNCHRONOUS ((vm_sync_t) 0x02)
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Writes dirty and precious pages back to the memory manager, waits for pages to reach backing storage.
macroVM_SYNC_INVALIDATE
#define VM_SYNC_INVALIDATE ((vm_sync_t) 0x04)
CMU/MIT Mach reference · manual page · © Carnegie Mellon
Flushes pages in the range. Only precious pages are returned to the memory manager.
macroVM_SYNC_KILLPAGES
#define VM_SYNC_KILLPAGES ((vm_sync_t) 0x08)
macroVM_SYNC_DEACTIVATE
#define VM_SYNC_DEACTIVATE ((vm_sync_t) 0x10)
macroVM_SYNC_CONTIGUOUS
#define VM_SYNC_CONTIGUOUS ((vm_sync_t) 0x20)
macroVM_SYNC_REUSABLEPAGES
#define VM_SYNC_REUSABLEPAGES ((vm_sync_t) 0x40)