Lines Matching refs:mr
68 struct rvt_mregion *mr; member
83 static inline void rvt_put_mr(struct rvt_mregion *mr) in rvt_put_mr() argument
85 percpu_ref_put(&mr->refcount); in rvt_put_mr()
88 static inline void rvt_get_mr(struct rvt_mregion *mr) in rvt_get_mr() argument
90 percpu_ref_get(&mr->refcount); in rvt_get_mr()
96 rvt_put_mr(ss->sge.mr); in rvt_put_ss()
124 rvt_put_mr(sge->mr); in rvt_update_sge()
127 } else if (sge->length == 0 && sge->mr->lkey) { in rvt_update_sge()
129 if (++sge->m >= sge->mr->mapsz) in rvt_update_sge()
133 sge->vaddr = sge->mr->map[sge->m]->segs[sge->n].vaddr; in rvt_update_sge()
134 sge->length = sge->mr->map[sge->m]->segs[sge->n].length; in rvt_update_sge()
153 bool rvt_mr_has_lkey(struct rvt_mregion *mr, u32 lkey);