Searched refs:totalState (Results 1 – 2 of 2) sorted by relevance
364 IOOptionBits totalState, state; in setPurgeable() local366 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()
1623 int totalState, state; in memoryReferenceSetPurgeable() local1625 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()