Lines Matching refs:mr
1416 struct ib_mr *mr; member
2463 struct ib_mr *(*rereg_user_mr)(struct ib_mr *mr, int flags, u64 start,
2467 int (*dereg_mr)(struct ib_mr *mr, struct ib_udata *udata);
2485 int (*map_mr_sg)(struct ib_mr *mr, struct scatterlist *sg, int sg_nents,
2487 int (*check_mr_status)(struct ib_mr *mr, u32 check_mask,
2543 int (*map_mr_sg_pi)(struct ib_mr *mr, struct scatterlist *data_sg,
4212 int ib_dereg_mr_user(struct ib_mr *mr, struct ib_udata *udata);
4223 static inline int ib_dereg_mr(struct ib_mr *mr) in ib_dereg_mr() argument
4225 return ib_dereg_mr_user(mr, NULL); in ib_dereg_mr()
4241 static inline void ib_update_fast_reg_key(struct ib_mr *mr, u8 newkey) in ib_update_fast_reg_key() argument
4243 mr->lkey = (mr->lkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
4244 mr->rkey = (mr->rkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
4330 int ib_check_mr_status(struct ib_mr *mr, u32 check_mask,
4367 int ib_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg, int sg_nents,
4369 int ib_map_mr_sg_pi(struct ib_mr *mr, struct scatterlist *data_sg,
4375 ib_map_mr_sg_zbva(struct ib_mr *mr, struct scatterlist *sg, int sg_nents, in ib_map_mr_sg_zbva() argument
4380 n = ib_map_mr_sg(mr, sg, sg_nents, sg_offset, page_size); in ib_map_mr_sg_zbva()
4381 mr->iova = 0; in ib_map_mr_sg_zbva()
4386 int ib_sg_to_pages(struct ib_mr *mr, struct scatterlist *sgl, int sg_nents,