Lines Matching refs:_swapEnableCounts
446 if (_swapElements || _swapEnableCounts) { in handleSwapPrepare()
468 _swapEnableCounts = (int *)IOMallocZeroData(newECSize); in handleSwapPrepare()
469 if (_swapEnableCounts == NULL) { in handleSwapPrepare()
482 if (_swapEnableCounts) { in handleSwapPrepare()
483 IOFreeData(_swapEnableCounts, newECSize); in handleSwapPrepare()
484 _swapEnableCounts = NULL; in handleSwapPrepare()
507 if (!_swapElements || !_swapEnableCounts) { in handleAddChannelSwap()
520 memcpy(_swapEnableCounts, _enableCounts, in handleAddChannelSwap()
530 _enableCounts = _swapEnableCounts; in handleAddChannelSwap()
531 _swapEnableCounts = tmpWatchCounts; in handleAddChannelSwap()
569 _enableCounts = _swapEnableCounts; in handleAddChannelSwap()
570 _swapEnableCounts = tmpWatchCounts; in handleAddChannelSwap()
594 if (_swapEnableCounts) { in handleSwapCleanup()
596 IOFreeData(_swapEnableCounts, (size_t)swapNChannels * sizeof(int)); in handleSwapCleanup()
597 _swapEnableCounts = NULL; in handleSwapCleanup()