Lines Matching refs:last
502 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
519 last = &mr->mr_invwr; in frwr_unmap_sync()
520 last->next = NULL; in frwr_unmap_sync()
521 last->wr_cqe = &mr->mr_cqe; in frwr_unmap_sync()
522 last->sg_list = NULL; in frwr_unmap_sync()
523 last->num_sge = 0; in frwr_unmap_sync()
524 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync()
525 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_sync()
526 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_sync()
528 last->wr_cqe->done = frwr_wc_localinv; in frwr_unmap_sync()
530 *prev = last; in frwr_unmap_sync()
531 prev = &last->next; in frwr_unmap_sync()
534 mr = container_of(last, struct rpcrdma_mr, mr_invwr); in frwr_unmap_sync()
540 last->wr_cqe->done = frwr_wc_localinv_wake; in frwr_unmap_sync()
608 struct ib_send_wr *first, *last, **prev; in frwr_unmap_async() local
622 last = &mr->mr_invwr; in frwr_unmap_async()
623 last->next = NULL; in frwr_unmap_async()
624 last->wr_cqe = &mr->mr_cqe; in frwr_unmap_async()
625 last->sg_list = NULL; in frwr_unmap_async()
626 last->num_sge = 0; in frwr_unmap_async()
627 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_async()
628 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_async()
629 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_async()
631 last->wr_cqe->done = frwr_wc_localinv; in frwr_unmap_async()
633 *prev = last; in frwr_unmap_async()
634 prev = &last->next; in frwr_unmap_async()
642 last->wr_cqe->done = frwr_wc_localinv_done; in frwr_unmap_async()