Searched refs:totalReads (Results 1 – 1 of 1) sorted by relevance
135 bool fullQueueReaderShouldRead(int queueSize, int totalReads) { in fullQueueReaderShouldRead() argument139 int totalWrites = totalReads + queueSize; in fullQueueReaderShouldRead()146 int totalReads = 0; in fullQueueReaderTask() local147 while (totalReads < FULL_QUEUE_EVENT_COUNT) { in fullQueueReaderTask()151 while (!fullQueueReaderShouldRead(queue->getSize(), totalReads)) { in fullQueueReaderTask()155 totalReads++; in fullQueueReaderTask()160 ctx->success = ctx->success && checkInt("totalreads", FULL_QUEUE_EVENT_COUNT, totalReads); in fullQueueReaderTask()