Searched refs:mr_access_flags (Results 1 – 10 of 10) sorted by relevance
/drivers/infiniband/hw/mlx4/ |
D | mr.c | 460 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()
|
D | mlx4_ib.h | 912 int mr_access_flags, struct ib_pd *pd,
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 197 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags); 208 u64 virt_addr, int mr_access_flags,
|
D | ib_verbs.c | 469 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/ |
D | mr.h | 28 u64 virt_addr, int mr_access_flags,
|
D | mr.c | 337 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/ |
D | verbs.c | 263 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/ |
D | hns_roce_mr.c | 267 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()
|
D | hns_roce_device.h | 1154 int mr_access_flags, struct ib_pd *pd,
|
D | hns_roce_hw_v2.c | 3386 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()
|