Lines Matching refs:mCblk
1042 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1053 (mCblk = static_cast<effect_param_cblk_t *>(mCblkMemory->pointer())) == NULL) { in EffectHandle()
1059 new(mCblk) effect_param_cblk_t(); in EffectHandle()
1060 mBuffer = (uint8_t *)mCblk + bufOffset; in EffectHandle()
1191 if (mCblk != NULL) { in disconnect()
1193 mCblk->~effect_param_cblk_t(); // destroy our shared-structure. in disconnect()
1227 Mutex::Autolock _l(mCblk->lock); in command()
1228 if (mCblk->clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()
1229 mCblk->serverIndex > EFFECT_PARAM_BUFFER_SIZE) { in command()
1230 mCblk->serverIndex = 0; in command()
1231 mCblk->clientIndex = 0; in command()
1235 while (mCblk->serverIndex < mCblk->clientIndex) { in command()
1238 int *p = (int *)(mBuffer + mCblk->serverIndex); in command()
1240 if (((uint8_t *)p + size) > mBuffer + mCblk->clientIndex) { in command()
1247 mCblk->serverIndex += size; in command()
1267 mCblk->serverIndex += size; in command()
1269 mCblk->serverIndex = 0; in command()
1270 mCblk->clientIndex = 0; in command()
1324 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock); in dumpToBuffer()
1331 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
1332 mCblk ? mCblk->serverIndex : 0 in dumpToBuffer()
1336 mCblk->lock.unlock(); in dumpToBuffer()