Lines Matching refs:mCblk
1047 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1058 (mCblk = static_cast<effect_param_cblk_t *>(mCblkMemory->pointer())) == NULL) { in EffectHandle()
1064 new(mCblk) effect_param_cblk_t(); in EffectHandle()
1065 mBuffer = (uint8_t *)mCblk + bufOffset; in EffectHandle()
1196 if (mCblk != NULL) { in disconnect()
1198 mCblk->~effect_param_cblk_t(); // destroy our shared-structure. in disconnect()
1232 Mutex::Autolock _l(mCblk->lock); in command()
1233 if (mCblk->clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()
1234 mCblk->serverIndex > EFFECT_PARAM_BUFFER_SIZE) { in command()
1235 mCblk->serverIndex = 0; in command()
1236 mCblk->clientIndex = 0; in command()
1240 while (mCblk->serverIndex < mCblk->clientIndex) { in command()
1243 int *p = (int *)(mBuffer + mCblk->serverIndex); in command()
1245 if (((uint8_t *)p + size) > mBuffer + mCblk->clientIndex) { in command()
1252 mCblk->serverIndex += size; in command()
1272 mCblk->serverIndex += size; in command()
1274 mCblk->serverIndex = 0; in command()
1275 mCblk->clientIndex = 0; in command()
1329 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock); in dumpToBuffer()
1336 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
1337 mCblk ? mCblk->serverIndex : 0 in dumpToBuffer()
1341 mCblk->lock.unlock(); in dumpToBuffer()