Searched refs:kIOMemoryPurgeableVolatile (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMemoryDescriptor.h107 kIOMemoryPurgeableVolatile = 3, enumerator in enum:__anon603
205 @discussion Buffers may be allocated with the ability to have their purgeable status changed - IOBufferMemoryDescriptor with the kIOMemoryPurgeable option, VM_FLAGS_PURGEABLE may be passed to vm_allocate() in user space to allocate such buffers. The purgeable status of such a buffer may be controlled with setPurgeable(). The process of making a purgeable memory descriptor non-volatile and determining its previous state is atomic - if a purgeable memory descriptor is made nonvolatile and the old state is returned as kIOMemoryPurgeableVolatile, then the memory's previous contents are completely intact and will remain so until the memory is made volatile again. If the old state is returned as kIOMemoryPurgeableEmpty then the memory was reclaimed while it was in a volatile state and its previous contents have been lost.
208 kIOMemoryPurgeableVolatile - make the memory volatile - the memory may be reclaimed by the VM system without saving its contents to backing store.<br>
213 kIOMemoryPurgeableVolatile - the memory was volatile but its content has not been discarded by the VM system.<br>
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOMemoryDescriptor.cpp1793 case kIOMemoryPurgeableVolatile:
1817 *state = kIOMemoryPurgeableVolatile;

Completed in 23 milliseconds