Lines Matching refs:cidx
52 __be16 cidx; member
185 u16 cidx; member
277 #define CQE_WRID_SQ_IDX(x) ((x)->u.scqe.cidx)
346 u16 cidx; member
376 u16 cidx; member
413 u16 cidx; member
465 srq->cidx++; in t4_srq_consume_ooo()
466 if (srq->cidx == srq->size) in t4_srq_consume_ooo()
467 srq->cidx = 0; in t4_srq_consume_ooo()
468 srq->queue[srq->size].status.host_cidx = srq->cidx; in t4_srq_consume_ooo()
475 if (++srq->cidx == srq->size) in t4_srq_consume()
476 srq->cidx = 0; in t4_srq_consume()
477 srq->queue[srq->size].status.host_cidx = srq->cidx; in t4_srq_consume()
513 if (++wq->rq.cidx == wq->rq.size) in t4_rq_consume()
514 wq->rq.cidx = 0; in t4_rq_consume()
559 if (wq->sq.cidx == wq->sq.flush_cidx) in t4_sq_consume()
562 if (++wq->sq.cidx == wq->sq.size) in t4_sq_consume()
563 wq->sq.cidx = 0; in t4_sq_consume()
707 u16 cidx; member
771 cq->bits_type_ts = cq->queue[cq->cidx].bits_type_ts; in t4_hwcq_consume()
779 if (++cq->cidx == cq->size) { in t4_hwcq_consume()
780 cq->cidx = 0; in t4_hwcq_consume()
792 return cq->sw_in_use || t4_valid_cqe(cq, &cq->queue[cq->cidx]); in t4_cq_notempty()
800 if (cq->cidx == 0) in t4_next_hw_cqe()
803 prev_cidx = cq->cidx - 1; in t4_next_hw_cqe()
809 } else if (t4_valid_cqe(cq, &cq->queue[cq->cidx])) { in t4_next_hw_cqe()
813 *cqe = &cq->queue[cq->cidx]; in t4_next_hw_cqe()