Lines Matching defs:last
498 struct ib_send_wr *first, **prev, *last;
515 last = &mr->mr_invwr;
516 last->next = NULL;
517 last->wr_cqe = &mr->mr_cqe;
518 last->sg_list = NULL;
519 last->num_sge = 0;
520 last->opcode = IB_WR_LOCAL_INV;
521 last->send_flags = IB_SEND_SIGNALED;
522 last->ex.invalidate_rkey = mr->mr_handle;
524 last->wr_cqe->done = frwr_wc_localinv;
526 *prev = last;
527 prev = &last->next;
530 mr = container_of(last, struct rpcrdma_mr, mr_invwr);
533 * last WR in the chain completes, all WRs in the chain
536 last->wr_cqe->done = frwr_wc_localinv_wake;
604 struct ib_send_wr *first, *last, **prev;
618 last = &mr->mr_invwr;
619 last->next = NULL;
620 last->wr_cqe = &mr->mr_cqe;
621 last->sg_list = NULL;
622 last->num_sge = 0;
623 last->opcode = IB_WR_LOCAL_INV;
624 last->send_flags = IB_SEND_SIGNALED;
625 last->ex.invalidate_rkey = mr->mr_handle;
627 last->wr_cqe->done = frwr_wc_localinv;
629 *prev = last;
630 prev = &last->next;
634 * last WR in the chain completes, all WRs in the chain
635 * are complete. The last completion will wake up the
638 last->wr_cqe->done = frwr_wc_localinv_done;