r_sge 2868 drivers/infiniband/hw/bnxt_re/ib_verbs.c struct ib_sge r_sge[2]; r_sge 2874 drivers/infiniband/hw/bnxt_re/ib_verbs.c memset(&r_sge, 0, sizeof(r_sge)); r_sge 2931 drivers/infiniband/hw/bnxt_re/ib_verbs.c r_sge[0].addr = shrq_hdr_buf_map; r_sge 2932 drivers/infiniband/hw/bnxt_re/ib_verbs.c r_sge[0].lkey = 0xFFFFFFFF; r_sge 2933 drivers/infiniband/hw/bnxt_re/ib_verbs.c r_sge[0].length = 40; r_sge 2935 drivers/infiniband/hw/bnxt_re/ib_verbs.c r_sge[1].addr = sqp_entry->sge.addr + offset; r_sge 2936 drivers/infiniband/hw/bnxt_re/ib_verbs.c r_sge[1].lkey = sqp_entry->sge.lkey; r_sge 2937 drivers/infiniband/hw/bnxt_re/ib_verbs.c r_sge[1].length = BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV6 + 256 - offset; r_sge 2941 drivers/infiniband/hw/bnxt_re/ib_verbs.c rwr.sg_list = r_sge; r_sge 2919 drivers/infiniband/hw/hfi1/rc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); r_sge 2975 drivers/infiniband/hw/hfi1/rc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, copy_last); r_sge 2976 drivers/infiniband/hw/hfi1/rc.c rvt_put_ss(&qp->r_sge); r_sge 3022 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.sg_list = NULL; r_sge 3029 drivers/infiniband/hw/hfi1/rc.c ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, r_sge 3033 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.num_sge = 1; r_sge 3035 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.num_sge = 0; r_sge 3036 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.sge.mr = NULL; r_sge 3037 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.sge.vaddr = NULL; r_sge 3038 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.sge.length = 0; r_sge 3039 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.sge.sge_length = 0; r_sge 3050 drivers/infiniband/hw/hfi1/rc.c rvt_put_ss(&qp->r_sge); r_sge 3160 drivers/infiniband/hw/hfi1/rc.c if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, sizeof(u64), r_sge 3165 drivers/infiniband/hw/hfi1/rc.c maddr = (atomic64_t *)qp->r_sge.sge.vaddr; r_sge 3169 drivers/infiniband/hw/hfi1/rc.c (u64)cmpxchg((u64 *)qp->r_sge.sge.vaddr, r_sge 3172 drivers/infiniband/hw/hfi1/rc.c rvt_put_mr(qp->r_sge.sge.mr); r_sge 3173 drivers/infiniband/hw/hfi1/rc.c qp->r_sge.num_sge = 0; r_sge 339 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.num_sge = 0; r_sge 341 drivers/infiniband/hw/hfi1/uc.c rvt_put_ss(&qp->r_sge); r_sge 399 drivers/infiniband/hw/hfi1/uc.c qp->r_sge = qp->s_rdma_read_sge; r_sge 410 drivers/infiniband/hw/hfi1/uc.c qp->s_rdma_read_sge = qp->r_sge; r_sge 430 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); r_sge 453 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); r_sge 493 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.sg_list = NULL; r_sge 500 drivers/infiniband/hw/hfi1/uc.c ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, r_sge 504 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.num_sge = 1; r_sge 506 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.num_sge = 0; r_sge 507 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.sge.mr = NULL; r_sge 508 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.sge.vaddr = NULL; r_sge 509 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.sge.length = 0; r_sge 510 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.sge.sge_length = 0; r_sge 526 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); r_sge 553 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); r_sge 554 drivers/infiniband/hw/hfi1/uc.c rvt_put_ss(&qp->r_sge); r_sge 567 drivers/infiniband/hw/hfi1/uc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); r_sge 568 drivers/infiniband/hw/hfi1/uc.c rvt_put_ss(&qp->r_sge); r_sge 581 drivers/infiniband/hw/hfi1/uc.c qp->r_sge.num_sge = 0; r_sge 214 drivers/infiniband/hw/hfi1/ud.c rvt_copy_sge(qp, &qp->r_sge, &grh, r_sge 218 drivers/infiniband/hw/hfi1/ud.c rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); r_sge 228 drivers/infiniband/hw/hfi1/ud.c rvt_copy_sge(qp, &qp->r_sge, sge->vaddr, len, true, false); r_sge 232 drivers/infiniband/hw/hfi1/ud.c rvt_put_ss(&qp->r_sge); r_sge 1008 drivers/infiniband/hw/hfi1/ud.c rvt_copy_sge(qp, &qp->r_sge, packet->grh, r_sge 1019 drivers/infiniband/hw/hfi1/ud.c rvt_copy_sge(qp, &qp->r_sge, &grh, r_sge 1023 drivers/infiniband/hw/hfi1/ud.c rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); r_sge 1025 drivers/infiniband/hw/hfi1/ud.c rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), r_sge 1027 drivers/infiniband/hw/hfi1/ud.c rvt_put_ss(&qp->r_sge); r_sge 1820 drivers/infiniband/hw/qib/qib_rc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); r_sge 1866 drivers/infiniband/hw/qib/qib_rc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); r_sge 1867 drivers/infiniband/hw/qib/qib_rc.c rvt_put_ss(&qp->r_sge); r_sge 1901 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.sg_list = NULL; r_sge 1908 drivers/infiniband/hw/qib/qib_rc.c ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, r_sge 1912 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.num_sge = 1; r_sge 1914 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.num_sge = 0; r_sge 1915 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.sge.mr = NULL; r_sge 1916 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.sge.vaddr = NULL; r_sge 1917 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.sge.length = 0; r_sge 1918 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.sge.sge_length = 0; r_sge 1928 drivers/infiniband/hw/qib/qib_rc.c rvt_put_ss(&qp->r_sge); r_sge 2035 drivers/infiniband/hw/qib/qib_rc.c if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, sizeof(u64), r_sge 2040 drivers/infiniband/hw/qib/qib_rc.c maddr = (atomic64_t *) qp->r_sge.sge.vaddr; r_sge 2044 drivers/infiniband/hw/qib/qib_rc.c (u64) cmpxchg((u64 *) qp->r_sge.sge.vaddr, r_sge 2047 drivers/infiniband/hw/qib/qib_rc.c rvt_put_mr(qp->r_sge.sge.mr); r_sge 2048 drivers/infiniband/hw/qib/qib_rc.c qp->r_sge.num_sge = 0; r_sge 277 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.num_sge = 0; r_sge 279 drivers/infiniband/hw/qib/qib_uc.c rvt_put_ss(&qp->r_sge); r_sge 336 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge = qp->s_rdma_read_sge; r_sge 347 drivers/infiniband/hw/qib/qib_uc.c qp->s_rdma_read_sge = qp->r_sge; r_sge 362 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); r_sge 388 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); r_sge 418 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.sg_list = NULL; r_sge 425 drivers/infiniband/hw/qib/qib_uc.c ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, r_sge 429 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.num_sge = 1; r_sge 431 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.num_sge = 0; r_sge 432 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.sge.mr = NULL; r_sge 433 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.sge.vaddr = NULL; r_sge 434 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.sge.length = 0; r_sge 435 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.sge.sge_length = 0; r_sge 451 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); r_sge 481 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); r_sge 482 drivers/infiniband/hw/qib/qib_uc.c rvt_put_ss(&qp->r_sge); r_sge 497 drivers/infiniband/hw/qib/qib_uc.c rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); r_sge 498 drivers/infiniband/hw/qib/qib_uc.c rvt_put_ss(&qp->r_sge); r_sge 511 drivers/infiniband/hw/qib/qib_uc.c qp->r_sge.num_sge = 0; r_sge 166 drivers/infiniband/hw/qib/qib_ud.c rvt_copy_sge(qp, &qp->r_sge, &grh, r_sge 170 drivers/infiniband/hw/qib/qib_ud.c rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); r_sge 178 drivers/infiniband/hw/qib/qib_ud.c rvt_copy_sge(qp, &qp->r_sge, sge->vaddr, len, true, false); r_sge 198 drivers/infiniband/hw/qib/qib_ud.c rvt_put_ss(&qp->r_sge); r_sge 549 drivers/infiniband/hw/qib/qib_ud.c rvt_copy_sge(qp, &qp->r_sge, &hdr->u.l.grh, r_sge 553 drivers/infiniband/hw/qib/qib_ud.c rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); r_sge 554 drivers/infiniband/hw/qib/qib_ud.c rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), r_sge 556 drivers/infiniband/hw/qib/qib_ud.c rvt_put_ss(&qp->r_sge); r_sge 626 drivers/infiniband/sw/rdmavt/qp.c rvt_put_ss(&qp->r_sge); r_sge 742 drivers/infiniband/sw/rdmavt/qp.c if (rvt_ss_has_lkey(&qp->r_sge, lkey) || r_sge 903 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.num_sge = 0; r_sge 2317 drivers/infiniband/sw/rdmavt/qp.c ss = &qp->r_sge; r_sge 3105 drivers/infiniband/sw/rdmavt/qp.c if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, wqe->length, r_sge 3110 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.sg_list = NULL; r_sge 3111 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.num_sge = 1; r_sge 3112 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.total_len = wqe->length; r_sge 3126 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.sge = wqe->sg_list[0]; r_sge 3127 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.sg_list = wqe->sg_list + 1; r_sge 3128 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.num_sge = wqe->wr.num_sge; r_sge 3129 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.total_len = wqe->length; r_sge 3136 drivers/infiniband/sw/rdmavt/qp.c if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, sizeof(u64), r_sge 3142 drivers/infiniband/sw/rdmavt/qp.c maddr = (atomic64_t *)qp->r_sge.sge.vaddr; r_sge 3147 drivers/infiniband/sw/rdmavt/qp.c (u64)cmpxchg((u64 *)qp->r_sge.sge.vaddr, r_sge 3149 drivers/infiniband/sw/rdmavt/qp.c rvt_put_mr(qp->r_sge.sge.mr); r_sge 3150 drivers/infiniband/sw/rdmavt/qp.c qp->r_sge.num_sge = 0; r_sge 3163 drivers/infiniband/sw/rdmavt/qp.c rvt_copy_sge(qp, &qp->r_sge, sge->vaddr, r_sge 3169 drivers/infiniband/sw/rdmavt/qp.c rvt_put_ss(&qp->r_sge); r_sge 389 include/rdma/rdmavt_qp.h struct rvt_sge_state r_sge; /* current receive data */ r_sge 116 net/rds/ib.h struct ib_sge r_sge[2]; r_sge 60 net/rds/ib_recv.c recv->r_wr.sg_list = recv->r_sge; r_sge 63 net/rds/ib_recv.c sge = &recv->r_sge[0]; r_sge 68 net/rds/ib_recv.c sge = &recv->r_sge[1]; r_sge 345 net/rds/ib_recv.c sge = &recv->r_sge[0]; r_sge 349 net/rds/ib_recv.c sge = &recv->r_sge[1];