Lines Matching refs:last
498 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
515 last = &mr->mr_invwr; in frwr_unmap_sync()
516 last->next = NULL; in frwr_unmap_sync()
517 last->wr_cqe = &mr->mr_cqe; in frwr_unmap_sync()
518 last->sg_list = NULL; in frwr_unmap_sync()
519 last->num_sge = 0; in frwr_unmap_sync()
520 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync()
521 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_sync()
522 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_sync()
524 last->wr_cqe->done = frwr_wc_localinv; in frwr_unmap_sync()
526 *prev = last; in frwr_unmap_sync()
527 prev = &last->next; in frwr_unmap_sync()
530 mr = container_of(last, struct rpcrdma_mr, mr_invwr); in frwr_unmap_sync()
536 last->wr_cqe->done = frwr_wc_localinv_wake; in frwr_unmap_sync()
604 struct ib_send_wr *first, *last, **prev; in frwr_unmap_async() local
618 last = &mr->mr_invwr; in frwr_unmap_async()
619 last->next = NULL; in frwr_unmap_async()
620 last->wr_cqe = &mr->mr_cqe; in frwr_unmap_async()
621 last->sg_list = NULL; in frwr_unmap_async()
622 last->num_sge = 0; in frwr_unmap_async()
623 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_async()
624 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_async()
625 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_async()
627 last->wr_cqe->done = frwr_wc_localinv; in frwr_unmap_async()
629 *prev = last; in frwr_unmap_async()
630 prev = &last->next; in frwr_unmap_async()
638 last->wr_cqe->done = frwr_wc_localinv_done; in frwr_unmap_async()