Searched refs:queueSize (Results 1 – 3 of 3) sorted by relevance
44 in->hdr.queueSize = size; in NotificationQueue()45 out->hdr.queueSize = size; in NotificationQueue()55 if ((out->hdr.writeCnt - out->hdr.readCnt) < out->hdr.queueSize) { in putNotification()56 out->notification[out->hdr.writeCnt & (out->hdr.queueSize - 1)] in putNotification()72 ret = &(in->notification[in->hdr.readCnt & (in->hdr.queueSize - 1)]); in getNotification()
135 bool fullQueueReaderShouldRead(int queueSize, int totalReads) { in fullQueueReaderShouldRead() argument136 if (queueSize == 0) { in fullQueueReaderShouldRead()139 int totalWrites = totalReads + queueSize; in fullQueueReaderShouldRead()140 return queueSize == FULL_QUEUE_CAPACITY || totalWrites == FULL_QUEUE_EVENT_COUNT; in fullQueueReaderShouldRead()
93 uint32_t queueSize; /**< Queue size. */ member