Lines Matching refs:tail

105 	uint32_t			head, tail, next_tail, qsize_msk;  in tavor_post_send()  local
143 tail = qp->qp_sq_wqhdr->wq_tail; in tavor_post_send()
167 prev = TAVOR_QP_SQ_ENTRY(qp, tail); in tavor_post_send()
173 sync_from = tail; in tavor_post_send()
201 next_tail = (tail + 1) & qsize_msk; in tavor_post_send()
210 desc = TAVOR_QP_SQ_ENTRY(qp, tail); in tavor_post_send()
270 tail = next_tail; in tavor_post_send()
300 sync_to = tail; in tavor_post_send()
353 qp->qp_sq_wqhdr->wq_tail = tail; in tavor_post_send()
389 uint32_t head, tail, next_tail, qsize_msk; in tavor_post_recv() local
431 tail = qp->qp_rq_wqhdr->wq_tail; in tavor_post_recv()
455 prev = TAVOR_QP_RQ_ENTRY(qp, tail); in tavor_post_recv()
461 sync_from = tail; in tavor_post_recv()
488 next_tail = (tail + 1) & qsize_msk; in tavor_post_recv()
497 desc = TAVOR_QP_RQ_ENTRY(qp, tail); in tavor_post_recv()
546 tail = next_tail; in tavor_post_recv()
566 sync_to = tail; in tavor_post_recv()
594 qp->qp_rq_wqhdr->wq_tail = tail; in tavor_post_recv()
2512 uint32_t head, tail, size; in tavor_wrid_add_entry() local
2523 tail = wq->wq_wrid_post->wl_tail; in tavor_wrid_add_entry()
2525 wre_tmp = &wq->wq_wrid_post->wl_wre[tail]; in tavor_wrid_add_entry()
2541 tail = ((tail + 1) & (size - 1)); in tavor_wrid_add_entry()
2542 wq->wq_wrid_post->wl_tail = tail; in tavor_wrid_add_entry()
2550 if (head == tail) { in tavor_wrid_add_entry()
2683 uint32_t head, tail, size; in tavor_wrid_find_match() local
2726 tail = container->wl_tail; in tavor_wrid_find_match()
2728 while ((head != tail) || (container->wl_full)) { in tavor_wrid_find_match()
2753 if (head == tail) { in tavor_wrid_find_match()