Lines Matching defs:tail
362 qp->r_rq.wq->tail = 0;
413 u32 tail;
422 tail = wq->tail;
423 if (tail >= qp->r_rq.size)
424 tail = 0;
425 while (tail != head) {
426 wc.wr_id = get_rwqe_ptr(&qp->r_rq, tail)->wr_id;
427 if (++tail >= qp->r_rq.size)
428 tail = 0;
431 wq->tail = tail;
692 u32 tail;
698 tail = wq->tail;
699 if (tail >= qp->r_rq.size)
700 tail = 0;
701 credits = head - tail;