Searched refs:syncVar (Results 1 – 2 of 2) sorted by relevance
133 C2SyncVariables *syncVar = syncMem ? syncMem->mem() : nullptr; in attachToBufferQueue() local135 if (syncVar) { in attachToBufferQueue()136 syncVar->lock(); in attachToBufferQueue()137 if (!syncVar->isDequeueableLocked() || in attachToBufferQueue()138 syncVar->getSyncStatusLocked() == C2SyncVariables::STATUS_SWITCHING) { in attachToBufferQueue()139 syncVar->unlock(); in attachToBufferQueue()144 syncVar->notifyDequeuedLocked(); in attachToBufferQueue()145 syncVar->unlock(); in attachToBufferQueue()148 syncVar->lock(); in attachToBufferQueue()149 syncVar->notifyQueuedLocked(); in attachToBufferQueue()[all …]
388 C2SyncVariables *syncVar = mSyncMem ? mSyncMem->mem(): nullptr; in fetchFromIgbp_l() local391 if (syncVar) { in fetchFromIgbp_l()393 syncVar->lock(); in fetchFromIgbp_l()394 if (!syncVar->isDequeueableLocked(&waitId)) { in fetchFromIgbp_l()395 syncVar->unlock(); in fetchFromIgbp_l()407 if (syncVar->getSyncStatusLocked() != C2SyncVariables::STATUS_ACTIVE) { in fetchFromIgbp_l()408 waitId = syncVar->getWaitIdLocked(); in fetchFromIgbp_l()409 syncVar->unlock(); in fetchFromIgbp_l()421 syncVar->notifyDequeuedLocked(); in fetchFromIgbp_l()422 syncVar->unlock(); in fetchFromIgbp_l()[all …]