Searched refs:queue_size_dwords (Results 1 – 1 of 1) sorted by relevance
211 size_t queue_size_dwords; in acquire_packet_buffer() local225 queue_size_dwords = kq->queue->properties.queue_size / 4; in acquire_packet_buffer()231 available_size = (rptr + queue_size_dwords - 1 - wptr) % in acquire_packet_buffer()232 queue_size_dwords; in acquire_packet_buffer()242 if (wptr + packet_size_in_dwords >= queue_size_dwords) { in acquire_packet_buffer()252 wptr = (wptr + 1) % queue_size_dwords; in acquire_packet_buffer()