Lines Matching refs:r_sge
160 qib_copy_sge(&qp->r_sge, &ah_attr->grh,
164 qib_skip_sge(&qp->r_sge, sizeof(struct ib_grh), 1);
177 qib_copy_sge(&qp->r_sge, sge->vaddr, len, 1);
197 while (qp->r_sge.num_sge) {
198 atomic_dec(&qp->r_sge.sge.mr->refcount);
199 if (--qp->r_sge.num_sge)
200 qp->r_sge.sge = *qp->r_sge.sg_list++;
556 qib_copy_sge(&qp->r_sge, &hdr->u.l.grh,
560 qib_skip_sge(&qp->r_sge, sizeof(struct ib_grh), 1);
561 qib_copy_sge(&qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), 1);
562 while (qp->r_sge.num_sge) {
563 atomic_dec(&qp->r_sge.sge.mr->refcount);
564 if (--qp->r_sge.num_sge)
565 qp->r_sge.sge = *qp->r_sge.sg_list++;