Lines Matching refs:queueSize
314 uint32_t queueSize = ivars->queueByteCount; in Peek() local
316 if (headOffset > queueSize) { in Peek()
332 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) || in Peek()
334 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in Peek()
347 (dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in Peek()
401 uint32_t queueSize = ivars->queueByteCount; in DequeueWithCoalesce() local
403 if (headOffset > queueSize) { in DequeueWithCoalesce()
417 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) || in DequeueWithCoalesce()
420 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in DequeueWithCoalesce()
431 (dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in DequeueWithCoalesce()
441 (headSize + DATA_QUEUE_ENTRY_HEADER_SIZE + headOffset > queueSize)) { in DequeueWithCoalesce()
499 uint32_t queueSize; in EnqueueWithCoalesce() local
507 queueSize = ivars->queueByteCount; in EnqueueWithCoalesce()
524 if (queueSize < tail || queueSize < head) { in EnqueueWithCoalesce()
532 ((tail + entrySize) <= queueSize)) { in EnqueueWithCoalesce()
558 if ((queueSize - tail) >= DATA_QUEUE_ENTRY_HEADER_SIZE) { in EnqueueWithCoalesce()
630 uint32_t queueSize; in CanEnqueueData() local
637 queueSize = ivars->queueByteCount; in CanEnqueueData()
654 if (queueSize < tail || queueSize < head) { in CanEnqueueData()
659 uint32_t endSpace = queueSize - tail; in CanEnqueueData()