Lines Matching refs:rdma_sge
82 if (e->rdma_sge.mr) { in qib_make_rc_ack()
83 rvt_put_mr(e->rdma_sge.mr); in qib_make_rc_ack()
84 e->rdma_sge.mr = NULL; in qib_make_rc_ack()
113 len = e->rdma_sge.sge_length; in qib_make_rc_ack()
114 if (len && !e->rdma_sge.mr) { in qib_make_rc_ack()
119 qp->s_rdma_mr = e->rdma_sge.mr; in qib_make_rc_ack()
122 qp->s_ack_rdma_sge.sge = e->rdma_sge; in qib_make_rc_ack()
1601 if (unlikely(offset + len != e->rdma_sge.sge_length)) in qib_rc_rcv_error()
1603 if (e->rdma_sge.mr) { in qib_rc_rcv_error()
1604 rvt_put_mr(e->rdma_sge.mr); in qib_rc_rcv_error()
1605 e->rdma_sge.mr = NULL; in qib_rc_rcv_error()
1612 ok = rvt_rkey_ok(qp, &e->rdma_sge, len, vaddr, rkey, in qib_rc_rcv_error()
1617 e->rdma_sge.vaddr = NULL; in qib_rc_rcv_error()
1618 e->rdma_sge.length = 0; in qib_rc_rcv_error()
1619 e->rdma_sge.sge_length = 0; in qib_rc_rcv_error()
1957 if (e->opcode == OP(RDMA_READ_REQUEST) && e->rdma_sge.mr) { in qib_rc_rcv()
1958 rvt_put_mr(e->rdma_sge.mr); in qib_rc_rcv()
1959 e->rdma_sge.mr = NULL; in qib_rc_rcv()
1969 ok = rvt_rkey_ok(qp, &e->rdma_sge, len, vaddr, in qib_rc_rcv()
1979 e->rdma_sge.mr = NULL; in qib_rc_rcv()
1980 e->rdma_sge.vaddr = NULL; in qib_rc_rcv()
1981 e->rdma_sge.length = 0; in qib_rc_rcv()
1982 e->rdma_sge.sge_length = 0; in qib_rc_rcv()
2028 if (e->opcode == OP(RDMA_READ_REQUEST) && e->rdma_sge.mr) { in qib_rc_rcv()
2029 rvt_put_mr(e->rdma_sge.mr); in qib_rc_rcv()
2030 e->rdma_sge.mr = NULL; in qib_rc_rcv()