Home
last modified time | relevance | path

Searched refs:mr_access_flags (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/sw/rdmavt/
Dmr.h79 u64 virt_addr, int mr_access_flags,
87 struct ib_fmr *rvt_alloc_fmr(struct ib_pd *pd, int mr_access_flags,
Dmr.c381 u64 virt_addr, int mr_access_flags, in rvt_reg_user_mr() argument
394 mr_access_flags, 0); in rvt_reg_user_mr()
410 mr->mr.access_flags = mr_access_flags; in rvt_reg_user_mr()
728 struct ib_fmr *rvt_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in rvt_alloc_fmr() argument
760 fmr->mr.access_flags = mr_access_flags; in rvt_alloc_fmr()
/drivers/infiniband/hw/mlx4/
Dmr.c223 int mr_access_flags, struct ib_pd *pd, in mlx4_ib_rereg_user_mr() argument
250 if (ib_access_writable(mr_access_flags) && in mlx4_ib_rereg_user_mr()
257 convert_access(mr_access_flags)); in mlx4_ib_rereg_user_mr()
271 virt_addr, mr_access_flags); in mlx4_ib_rereg_user_mr()
304 mmr->mmr.access = mr_access_flags; in mlx4_ib_rereg_user_mr()
Dmlx4_ib.h811 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int mr_access_flags,
910 int mr_access_flags, struct ib_pd *pd,
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h186 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
197 u64 virt_addr, int mr_access_flags,
Dib_verbs.c491 int mr_access_flags = IB_ACCESS_LOCAL_WRITE | IB_ACCESS_MW_BIND; in bnxt_re_create_fence_mr() local
522 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_create_fence_mr()
3046 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *ib_pd, int mr_access_flags) in bnxt_re_get_dma_mr() argument
3060 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_get_dma_mr()
3075 if (mr_access_flags & (IB_ACCESS_REMOTE_WRITE | IB_ACCESS_REMOTE_READ | in bnxt_re_get_dma_mr()
3242 u64 virt_addr, int mr_access_flags, in bnxt_re_reg_user_mr() argument
3266 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_reg_user_mr()
3270 mr_access_flags, 0); in bnxt_re_reg_user_mr()
/drivers/infiniband/core/
Dverbs.c225 int mr_access_flags = 0; in __ib_alloc_pd() local
240 mr_access_flags |= IB_ACCESS_LOCAL_WRITE; in __ib_alloc_pd()
244 mr_access_flags |= IB_ACCESS_REMOTE_READ | IB_ACCESS_REMOTE_WRITE; in __ib_alloc_pd()
247 if (mr_access_flags) { in __ib_alloc_pd()
250 mr = pd->device->get_dma_mr(pd, mr_access_flags); in __ib_alloc_pd()
1599 int mr_access_flags, in ib_alloc_fmr() argument
1607 fmr = pd->device->alloc_fmr(pd, mr_access_flags, fmr_attr); in ib_alloc_fmr()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c1015 static struct ib_fmr *mthca_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in mthca_alloc_fmr() argument
1027 convert_access(mr_access_flags), fmr); in mthca_alloc_fmr()