Lines Matching refs:last
145 (sw_cq->in - sw_cq->out) & sw_cq->last))
169 if (++sw_cq->out > sw_cq->last) {
201 if (((s->req[1].in + 1) & s->req[1].last) != (s->req[1].out))
223 (sw_cq->in - sw_cq->out) & sw_cq->last, sw_cq->in))
248 in += sw_cq->last + 1;
261 in += sw_cq->last + 1;
265 if (sw_cq->out == sw_cq->last)
334 if (++sw_cq->out > sw_cq->last) {
340 if (++sw_cq->out > sw_cq->last) {
414 cq_next_in = (sw_cq->in + 1) & sw_cq->last;
420 sw_cq->out, sw_cq->last))
547 if (++sw_cq->in > sw_cq->last) {
769 cq[0].last = SOCAL_CQ_REQ0_SIZE - 1;
770 cq[1].last = SOCAL_CQ_REQ1_SIZE - 1;
771 cq[4].last = SOCAL_CQ_RSP0_SIZE - 1;
772 cq[5].last = SOCAL_CQ_RSP1_SIZE - 1;
773 cq[6].last = SOCAL_CQ_RSP2_SIZE - 1;
777 s->req[0].last = SOCAL_CQ_REQ0_SIZE - 1;
778 s->req[1].last = SOCAL_CQ_REQ1_SIZE - 1;
779 s->rsp[0].last = SOCAL_CQ_RSP0_SIZE - 1;
780 s->rsp[1].last = SOCAL_CQ_RSP1_SIZE - 1;
781 s->rsp[2].last = SOCAL_CQ_RSP2_SIZE - 1;