Searched refs:mr_to_mdev (Results 1 – 5 of 5) sorted by relevance
360 struct mlx5_ib_dev *dev = mr_to_mdev(mr); in mlx5r_umr_revoke_mr()397 struct mlx5_ib_dev *dev = mr_to_mdev(mr); in mlx5r_umr_rereg_pd_access()610 struct mlx5_ib_dev *dev = mr_to_mdev(mr); in mlx5r_umr_update_mr_pas()694 struct mlx5_ib_dev *dev = mr_to_mdev(mr); in mlx5r_umr_update_xlt()
107 pklm->key = cpu_to_be32(mr_to_mdev(imr)->null_mkey); in populate_klm()140 pklm->key = cpu_to_be32(mr_to_mdev(imr)->null_mkey); in populate_klm()409 struct mlx5_ib_dev *dev = mr_to_mdev(imr); in implicit_get_child_mr()430 mr->ibmr.device = &mr_to_mdev(imr)->ib_dev; in implicit_get_child_mr()471 mlx5_ib_dbg(mr_to_mdev(imr), "key %x mr %p\n", mr->mmkey.key, mr); in implicit_get_child_mr()587 mlx5_ib_err(mr_to_mdev(mr), in pagefault_real_mr()685 mlx5_ib_err(mr_to_mdev(imr), "Failed to update PAS\n"); in pagefault_implicit_mr()
119 return fill_res_raw(msg, mr_to_mdev(mr), MLX5_SGMT_TYPE_PRM_QUERY_MKEY, in fill_res_mr_entry_raw()
1126 static inline struct mlx5_ib_dev *mr_to_mdev(struct mlx5_ib_mr *mr) in mr_to_mdev() function
1583 xa_erase(&mr_to_mdev(mr)->odp_mkeys, mlx5_base_mkey(mr->mmkey.key))) in mlx5_ib_dereg_mr()