Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx4/
Dmr.c460 int mr_access_flags, struct ib_pd *pd, in mlx4_ib_rereg_user_mr() argument
486 if (ib_access_writable(mr_access_flags) && in mlx4_ib_rereg_user_mr()
493 convert_access(mr_access_flags)); in mlx4_ib_rereg_user_mr()
506 mr_access_flags); in mlx4_ib_rereg_user_mr()
539 mmr->mmr.access = mr_access_flags; in mlx4_ib_rereg_user_mr()
Dmlx4_ib.h912 int mr_access_flags, struct ib_pd *pd,
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h197 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
208 u64 virt_addr, int mr_access_flags,
Dib_verbs.c469 int mr_access_flags = IB_ACCESS_LOCAL_WRITE | IB_ACCESS_MW_BIND; in bnxt_re_create_fence_mr() local
499 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_create_fence_mr()
3583 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *ib_pd, int mr_access_flags) in bnxt_re_get_dma_mr() argument
3596 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_get_dma_mr()
3612 if (mr_access_flags & (IB_ACCESS_REMOTE_WRITE | IB_ACCESS_REMOTE_READ | in bnxt_re_get_dma_mr()
3779 u64 virt_addr, int mr_access_flags, in bnxt_re_reg_user_mr() argument
3801 mr->qplib_mr.flags = __from_ib_access_flags(mr_access_flags); in bnxt_re_reg_user_mr()
3812 umem = ib_umem_get(&rdev->ibdev, start, length, mr_access_flags); in bnxt_re_reg_user_mr()
/drivers/infiniband/sw/rdmavt/
Dmr.h28 u64 virt_addr, int mr_access_flags,
Dmr.c337 u64 virt_addr, int mr_access_flags, in rvt_reg_user_mr() argument
349 umem = ib_umem_get(pd->device, start, length, mr_access_flags); in rvt_reg_user_mr()
365 mr->mr.access_flags = mr_access_flags; in rvt_reg_user_mr()
/drivers/infiniband/core/
Dverbs.c263 int mr_access_flags = 0; in __ib_alloc_pd() local
287 mr_access_flags |= IB_ACCESS_LOCAL_WRITE; in __ib_alloc_pd()
291 mr_access_flags |= IB_ACCESS_REMOTE_READ | IB_ACCESS_REMOTE_WRITE; in __ib_alloc_pd()
294 if (mr_access_flags) { in __ib_alloc_pd()
297 mr = pd->device->ops.get_dma_mr(pd, mr_access_flags); in __ib_alloc_pd()
/drivers/infiniband/hw/hns/
Dhns_roce_mr.c267 int mr_access_flags, struct ib_pd *pd, in hns_roce_rereg_user_mr() argument
304 mr->access = mr_access_flags; in hns_roce_rereg_user_mr()
Dhns_roce_device.h1154 int mr_access_flags, struct ib_pd *pd,
Dhns_roce_hw_v2.c3386 u32 mr_access_flags = mr->access; in hns_roce_v2_rereg_write_mtpt() local
3394 (mr_access_flags & IB_ACCESS_MW_BIND ? 1 : 0)); in hns_roce_v2_rereg_write_mtpt()
3396 mr_access_flags & IB_ACCESS_REMOTE_ATOMIC ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
3398 mr_access_flags & IB_ACCESS_REMOTE_READ ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
3400 mr_access_flags & IB_ACCESS_REMOTE_WRITE ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()
3402 mr_access_flags & IB_ACCESS_LOCAL_WRITE ? 1 : 0); in hns_roce_v2_rereg_write_mtpt()