Searched refs:headSize (Results 1 – 2 of 2) sorted by relevance
313 uint32_t headSize = 0; in Peek() local322 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() local409 if (os_add_overflow(3, callerDataSize, &headSize)) { in DequeueWithCoalesce()412 headSize &= ~3U; 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()[all …]
187 UInt32 headSize = 0; in peek() local196 headSize = head->size; in peek()204 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headSize) || in peek()205 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in peek()334 UInt32 headSize = 0; in dequeue() local342 headSize = head->size; in dequeue()349 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headSize) || in dequeue()350 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) { in dequeue()