Home
last modified time | relevance | path

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

/xnu-8792.81.2/iokit/Kernel/
H A DIOStateReporter.cpp123 if (_swapCurrentStates || _swapLastUpdateTimes) { in handleSwapPrepare()
130 _swapCurrentStates = (int*)IOMallocData(newCurStatesSize); in handleSwapPrepare()
131 if (_swapCurrentStates == NULL) { in handleSwapPrepare()
134 memset(_swapCurrentStates, -1, newCurStatesSize); // init w/"no state" in handleSwapPrepare()
148 if (_swapCurrentStates) { in handleSwapPrepare()
149 IOFreeData(_swapCurrentStates, newCurStatesSize); in handleSwapPrepare()
150 _swapCurrentStates = NULL; in handleSwapPrepare()
173 if (!_swapCurrentStates || !_swapLastUpdateTimes) { in handleAddChannelSwap()
184 memcpy(_swapCurrentStates, _currentStates, in handleAddChannelSwap()
197 _currentStates = _swapCurrentStates; in handleAddChannelSwap()
[all …]
/xnu-8792.81.2/iokit/IOKit/
H A DIOKernelReporters.h1511 int *_swapCurrentStates; variable