Lines Matching refs:headSize
313 uint32_t headSize = 0; in Peek() local
322 if (os_add_overflow(3, callerDataSize, &headSize)) { in Peek()
325 headSize &= ~3U; in Peek()
333 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headSize) || in Peek()
334 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in Peek()
400 uint32_t headSize = 0; in DequeueWithCoalesce() local
409 if (os_add_overflow(3, callerDataSize, &headSize)) { in DequeueWithCoalesce()
412 headSize &= ~3U; in DequeueWithCoalesce()
419 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headSize) || in DequeueWithCoalesce()
420 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in DequeueWithCoalesce()
439 if ((headSize > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || in DequeueWithCoalesce()
440 (headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headOffset) || in DequeueWithCoalesce()
441 (headSize + DATA_QUEUE_ENTRY_HEADER_SIZE + headOffset > queueSize)) { in DequeueWithCoalesce()
444 newHeadOffset = headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE; in DequeueWithCoalesce()