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

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMemoryDescriptor.h108 kIOMemoryPurgeableEmpty = 4 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.
210 kIOMemoryPurgeableEmpty - make the memory volatile, and discard any pages allocated to it.
214 kIOMemoryPurgeableEmpty - the memory was volatile and has been discarded by the VM system.<br>
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOMemoryDescriptor.cpp1796 case kIOMemoryPurgeableEmpty:
1820 *state = kIOMemoryPurgeableEmpty;

Completed in 51 milliseconds