Lines Matching refs:ind
468 int ind;
470 ind = wqe_addr >> srq->wqe_shift;
475 *wqe_to_link(get_wqe(srq, srq->last_free)) = ind;
477 srq->first_free = ind;
479 *wqe_to_link(get_wqe(srq, ind)) = -1;
480 srq->last_free = ind;
494 int ind;
506 ind = srq->first_free;
508 if (ind < 0) {
515 wqe = get_wqe(srq, ind);
558 cpu_to_be32((ind << srq->wqe_shift) | 1);
563 srq->wrid[ind] = wr->wr_id;
619 int ind;
628 ind = srq->first_free;
630 if (ind < 0) {
637 wqe = get_wqe(srq, ind);
676 srq->wrid[ind] = wr->wr_id;