Lines Matching refs:last
528 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
548 last = &frwr->fr_invwr; in frwr_unmap_sync()
549 last->next = NULL; in frwr_unmap_sync()
550 last->wr_cqe = &frwr->fr_cqe; in frwr_unmap_sync()
551 last->sg_list = NULL; in frwr_unmap_sync()
552 last->num_sge = 0; in frwr_unmap_sync()
553 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync()
554 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_sync()
555 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_sync()
557 *prev = last; in frwr_unmap_sync()
558 prev = &last->next; in frwr_unmap_sync()
633 struct ib_send_wr *first, *last, **prev; in frwr_unmap_async() local
651 last = &frwr->fr_invwr; in frwr_unmap_async()
652 last->next = NULL; in frwr_unmap_async()
653 last->wr_cqe = &frwr->fr_cqe; in frwr_unmap_async()
654 last->sg_list = NULL; in frwr_unmap_async()
655 last->num_sge = 0; in frwr_unmap_async()
656 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_async()
657 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_async()
658 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_async()
660 *prev = last; in frwr_unmap_async()
661 prev = &last->next; in frwr_unmap_async()