Home
last modified time | relevance | path

Searched refs:new_pd (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/core/
H A Duverbs_cmd.c772 struct ib_pd *new_pd; in ib_uverbs_rereg_mr() local
808 new_pd = uobj_get_obj_read(pd, UVERBS_OBJECT_PD, cmd.pd_handle, in ib_uverbs_rereg_mr()
810 if (!new_pd) { in ib_uverbs_rereg_mr()
815 new_pd = mr->pd; in ib_uverbs_rereg_mr()
829 cmd.hca_va, cmd.access_flags, new_pd, in ib_uverbs_rereg_mr()
836 new_mr->device = new_pd->device; in ib_uverbs_rereg_mr()
837 new_mr->pd = new_pd; in ib_uverbs_rereg_mr()
840 atomic_inc(&new_pd->usecnt); in ib_uverbs_rereg_mr()
860 mr->pd = new_pd; in ib_uverbs_rereg_mr()
861 atomic_inc(&new_pd->usecnt); in ib_uverbs_rereg_mr()
[all …]
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c1803 struct ib_pd *new_pd, in mlx5_ib_rereg_user_mr() argument
1824 new_pd = ib_mr->pd; in mlx5_ib_rereg_user_mr()
1832 err = mlx5r_umr_rereg_pd_access(mr, new_pd, in mlx5_ib_rereg_user_mr()
1853 return create_real_mr(new_pd, umem, mr->ibmr.iova, in mlx5_ib_rereg_user_mr()
1877 err = umr_rereg_pas(mr, new_pd, new_access_flags, flags, in mlx5_ib_rereg_user_mr()
1885 return create_real_mr(new_pd, new_umem, iova, new_access_flags); in mlx5_ib_rereg_user_mr()
1893 return mlx5_ib_reg_user_mr(new_pd, start, length, iova, in mlx5_ib_rereg_user_mr()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c3235 int new_access, struct ib_pd *new_pd, in irdma_rereg_user_mr() argument
3257 iwmr->ibmr.pd = new_pd; in irdma_rereg_user_mr()
3258 iwmr->ibmr.device = new_pd->device; in irdma_rereg_user_mr()