Searched refs:queue_size_dwords (Results 1 – 1 of 1) sorted by relevance
232 size_t queue_size_dwords; in kq_acquire_packet_buffer() local246 queue_size_dwords = kq->queue->properties.queue_size / 4; in kq_acquire_packet_buffer()252 available_size = (rptr + queue_size_dwords - 1 - wptr) % in kq_acquire_packet_buffer()253 queue_size_dwords; in kq_acquire_packet_buffer()263 if (wptr + packet_size_in_dwords >= queue_size_dwords) { in kq_acquire_packet_buffer()273 wptr = (wptr + 1) % queue_size_dwords; in kq_acquire_packet_buffer()