Lines Matching refs:bufferIter
302 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
303 if (bufferIter == mBuffers.end() || in handleTransferTo()
326 bufferIter->second->mTransactionCount++; in handleTransferTo()
340 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
341 bufferIter->second->mTransactionCount++; in handleTransferFrom()
359 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
363 bufferIter->second->mTransactionCount--; in handleTransferResult()
364 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
365 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
366 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult()
429 auto bufferIter = mBuffers.find(bufferId); in handleClose() local
430 bufferIter->second->mOwnerCount--; in handleClose()
431 if (bufferIter->second->mOwnerCount == 0 && in handleClose()
432 bufferIter->second->mTransactionCount == 0) { in handleClose()
434 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleClose()
452 auto bufferIter = mBuffers.find(bufferId); in handleClose() local
453 bufferIter->second->mTransactionCount--; in handleClose()
454 if (bufferIter->second->mOwnerCount == 0 && in handleClose()
455 bufferIter->second->mTransactionCount == 0) { in handleClose()
457 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleClose()