Home
last modified time | relevance | path

Searched refs:totalState (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/iokit/Kernel/
H A DIOMultiMemoryDescriptor.cpp364 IOOptionBits totalState, state; in setPurgeable() local
366 totalState = kIOMemoryPurgeableNonVolatile; in setPurgeable()
375 totalState = kIOMemoryPurgeableEmpty; in setPurgeable()
376 } else if (kIOMemoryPurgeableEmpty == totalState) { in setPurgeable()
378 } else if (kIOMemoryPurgeableVolatile == totalState) { in setPurgeable()
381 totalState = kIOMemoryPurgeableVolatile; in setPurgeable()
383 totalState = kIOMemoryPurgeableNonVolatile; in setPurgeable()
387 *oldState = totalState; in setPurgeable()
H A DIOMemoryDescriptor.cpp1623 int totalState, state; in memoryReferenceSetPurgeable() local
1625 totalState = kIOMemoryPurgeableNonVolatile; in memoryReferenceSetPurgeable()
1645 totalState = kIOMemoryPurgeableEmpty; in memoryReferenceSetPurgeable()
1646 } else if (kIOMemoryPurgeableEmpty == totalState) { in memoryReferenceSetPurgeable()
1648 } else if (kIOMemoryPurgeableVolatile == totalState) { in memoryReferenceSetPurgeable()
1651 totalState = kIOMemoryPurgeableVolatile; in memoryReferenceSetPurgeable()
1653 totalState = kIOMemoryPurgeableNonVolatile; in memoryReferenceSetPurgeable()
1658 *oldState = totalState; in memoryReferenceSetPurgeable()