Lines Matching refs:tail
125 uint16_t head, tail; in dp_rx_refill_buff_pool_enqueue() local
137 tail = buff_pool->tail; in dp_rx_refill_buff_pool_enqueue()
138 if (tail > head) in dp_rx_refill_buff_pool_enqueue()
139 total_num_refill = (tail - head - 1); in dp_rx_refill_buff_pool_enqueue()
142 tail - 1); in dp_rx_refill_buff_pool_enqueue()
194 uint16_t head, tail; in dp_rx_refill_buff_pool_dequeue_nbuf() local
197 tail = buff_pool->tail; in dp_rx_refill_buff_pool_dequeue_nbuf()
199 if (head == tail) in dp_rx_refill_buff_pool_dequeue_nbuf()
202 nbuf = buff_pool->buf_elem[tail++]; in dp_rx_refill_buff_pool_dequeue_nbuf()
203 tail &= (buff_pool->max_bufq_len - 1); in dp_rx_refill_buff_pool_dequeue_nbuf()
204 buff_pool->tail = tail; in dp_rx_refill_buff_pool_dequeue_nbuf()
310 buff_pool->tail = 0; in dp_rx_refill_buff_pool_init()
405 count, buff_pool->head, buff_pool->tail); in dp_rx_refill_buff_pool_deinit()