/linux-6.6.21/drivers/infiniband/hw/mana/ |
D | mr.c | 12 mana_ib_verbs_to_gdma_access_flags(int access_flags) in mana_ib_verbs_to_gdma_access_flags() argument 16 if (access_flags & IB_ACCESS_LOCAL_WRITE) in mana_ib_verbs_to_gdma_access_flags() 19 if (access_flags & IB_ACCESS_REMOTE_WRITE) in mana_ib_verbs_to_gdma_access_flags() 22 if (access_flags & IB_ACCESS_REMOTE_READ) in mana_ib_verbs_to_gdma_access_flags() 48 req.gva.access_flags = mr_params->gva.access_flags; in mana_ib_gd_create_mr() 104 u64 iova, int access_flags, in mana_ib_reg_user_mr() argument 119 start, iova, length, access_flags); in mana_ib_reg_user_mr() 121 if (access_flags & ~VALID_MR_FLAGS) in mana_ib_reg_user_mr() 128 mr->umem = ib_umem_get(ibdev, start, length, access_flags); in mana_ib_reg_user_mr() 151 mr_params.gva.access_flags = in mana_ib_reg_user_mr() [all …]
|
D | mana_ib.h | 116 struct ib_mr *mana_ib_get_dma_mr(struct ib_pd *ibpd, int access_flags); 119 u64 iova, int access_flags,
|
/linux-6.6.21/fs/vboxsf/ |
D | file.c | 18 u32 access_flags; member 24 u64 handle, u32 access_flags) in vboxsf_create_sf_handle() argument 39 sf_handle->access_flags = access_flags; in vboxsf_create_sf_handle() 54 u32 access_flags = 0; in vboxsf_file_open() local 84 access_flags |= SHFL_CF_ACCESS_READ; in vboxsf_file_open() 88 access_flags |= SHFL_CF_ACCESS_WRITE; in vboxsf_file_open() 92 access_flags |= SHFL_CF_ACCESS_READWRITE; in vboxsf_file_open() 100 access_flags |= SHFL_CF_ACCESS_APPEND; in vboxsf_file_open() 102 params.create_flags |= access_flags; in vboxsf_file_open() 111 sf_handle = vboxsf_create_sf_handle(inode, params.handle, access_flags); in vboxsf_file_open() [all …]
|
/linux-6.6.21/drivers/char/agp/ |
D | frontend.c | 350 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_remove_all_clients() 351 clear_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_remove_all_clients() 416 set_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_make_current() 417 set_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_controller_make_current() 430 clear_bit(AGP_FF_IS_VALID, &controller_priv->access_flags); in agp_controller_release_current() 439 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_release_current() 578 if (!(test_bit(AGP_FF_IS_VALID, &priv->access_flags))) in agp_mmap() 588 if (test_bit(AGP_FF_IS_CLIENT, &priv->access_flags)) { in agp_mmap() 613 if (test_bit(AGP_FF_IS_CONTROLLER, &priv->access_flags)) { in agp_mmap() 651 if (test_bit(AGP_FF_IS_CONTROLLER, &priv->access_flags)) { in agp_release() [all …]
|
D | compat_ioctl.c | 85 set_bit(AGP_FF_IS_CLIENT, &client_priv->access_flags); in compat_agpioc_reserve_wrap() 86 set_bit(AGP_FF_IS_VALID, &client_priv->access_flags); in compat_agpioc_reserve_wrap() 142 set_bit(AGP_FF_IS_CLIENT, &client_priv->access_flags); in compat_agpioc_reserve_wrap() 143 set_bit(AGP_FF_IS_VALID, &client_priv->access_flags); in compat_agpioc_reserve_wrap() 228 if (!(test_bit(AGP_FF_IS_CONTROLLER, &curr_priv->access_flags))) { in compat_agp_ioctl()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | mr.c | 56 u64 iova, int access_flags, 304 set_mkc_access_pd_addr_fields(mkc, ent->rb_key.access_flags, 0, in set_cache_mkc() 672 res = key1.access_flags - key2.access_flags; in cache_ent_key_cmp() 739 smallest->rb_key.access_flags == rb_key.access_flags && in mkey_cache_ent_from_rb_key() 747 int access_flags) in _mlx5_mr_cache_alloc() argument 783 int access_flags) in get_unchangeable_access_flags() argument 787 if ((access_flags & IB_ACCESS_REMOTE_ATOMIC) && in get_unchangeable_access_flags() 792 if ((access_flags & IB_ACCESS_RELAXED_ORDERING) && in get_unchangeable_access_flags() 797 if ((access_flags & IB_ACCESS_RELAXED_ORDERING) && in get_unchangeable_access_flags() 807 int access_flags, int access_mode, in mlx5_mr_cache_alloc() argument [all …]
|
D | umr.c | 381 unsigned int access_flags) in mlx5r_umr_set_access_flags() argument 383 bool ro_read = (access_flags & IB_ACCESS_RELAXED_ORDERING) && in mlx5r_umr_set_access_flags() 387 MLX5_SET(mkc, seg, a, !!(access_flags & IB_ACCESS_REMOTE_ATOMIC)); in mlx5r_umr_set_access_flags() 388 MLX5_SET(mkc, seg, rw, !!(access_flags & IB_ACCESS_REMOTE_WRITE)); in mlx5r_umr_set_access_flags() 389 MLX5_SET(mkc, seg, rr, !!(access_flags & IB_ACCESS_REMOTE_READ)); in mlx5r_umr_set_access_flags() 390 MLX5_SET(mkc, seg, lw, !!(access_flags & IB_ACCESS_LOCAL_WRITE)); in mlx5r_umr_set_access_flags() 393 !!(access_flags & IB_ACCESS_RELAXED_ORDERING)); in mlx5r_umr_set_access_flags() 398 int access_flags) in mlx5r_umr_rereg_pd_access() argument 409 mlx5r_umr_set_access_flags(dev, &wqe.mkey_seg, access_flags); in mlx5r_umr_rereg_pd_access() 419 mr->access_flags = access_flags; in mlx5r_umr_rereg_pd_access() [all …]
|
D | restrack.c | 86 if (!(mr->access_flags & IB_ACCESS_ON_DEMAND)) in fill_stat_mr_entry() 128 if (!(mr->access_flags & IB_ACCESS_ON_DEMAND)) in fill_res_mr_entry()
|
D | mlx5_ib.h | 636 unsigned int access_flags; member 699 int access_flags; member 1307 u64 virt_addr, int access_flags, 1311 int fd, int access_flags, 1322 int access_flags); 1326 u64 length, u64 virt_addr, int access_flags, 1364 u64 access_flags); 1375 int access_flags, int access_mode, 1658 struct ib_umem *umem, int access_flags) in mlx5_umem_needs_ats() argument 1662 return access_flags & IB_ACCESS_RELAXED_ORDERING; in mlx5_umem_needs_ats()
|
D | mem.c | 42 u64 access_flags) in mlx5_ib_populate_pas() argument 48 access_flags); in mlx5_ib_populate_pas()
|
D | umr.h | 93 int access_flags);
|
D | odp.c | 420 mr = mlx5_mr_cache_alloc(dev, imr->access_flags, in implicit_get_child_mr() 428 mr->access_flags = imr->access_flags; in implicit_get_child_mr() 482 int access_flags) in mlx5_ib_alloc_implicit_mr() argument 492 umem_odp = ib_umem_odp_alloc_implicit(&dev->ib_dev, access_flags); in mlx5_ib_alloc_implicit_mr() 496 imr = mlx5_mr_cache_alloc(dev, access_flags, MLX5_MKC_ACCESS_MODE_KSM, in mlx5_ib_alloc_implicit_mr() 503 imr->access_flags = access_flags; in mlx5_ib_alloc_implicit_mr()
|
/linux-6.6.21/drivers/iommu/ |
D | iommu-sva.c | 157 unsigned int access_flags = 0; in iommu_sva_handle_iopf() local 176 access_flags |= VM_READ; in iommu_sva_handle_iopf() 179 access_flags |= VM_WRITE; in iommu_sva_handle_iopf() 184 access_flags |= VM_EXEC; in iommu_sva_handle_iopf() 191 if (access_flags & ~vma->vm_flags) in iommu_sva_handle_iopf()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | uverbs_std_types_mr.c | 110 ret = uverbs_get_flags32(&attr.access_flags, attrs, in UVERBS_HANDLER() 116 if (!(attr.access_flags & IB_ZERO_BASED)) in UVERBS_HANDLER() 119 ret = ib_check_mr_access(ib_dev, attr.access_flags); in UVERBS_HANDLER() 196 u32 fd, access_flags; in UVERBS_HANDLER() local 226 ret = uverbs_get_flags32(&access_flags, attrs, in UVERBS_HANDLER() 236 ret = ib_check_mr_access(ib_dev, access_flags); in UVERBS_HANDLER() 241 access_flags, in UVERBS_HANDLER()
|
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_mr.c | 82 cmd->access_flags = acc; in pvrdma_get_dma_mr() 112 u64 virt_addr, int access_flags, in pvrdma_reg_user_mr() argument 129 umem = ib_umem_get(pd->device, start, length, access_flags); in pvrdma_reg_user_mr() 170 cmd->access_flags = access_flags; in pvrdma_reg_user_mr() 241 cmd->access_flags = 0; in pvrdma_alloc_mr()
|
D | pvrdma_dev_api.h | 460 u32 access_flags; member 565 u32 access_flags; member
|
/linux-6.6.21/arch/arm64/kvm/vgic/ |
D | vgic-mmio.h | 12 unsigned int access_flags; member 72 .access_flags = acc, \ 84 .access_flags = acc, \ 94 .access_flags = acc, \
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | mr.c | 373 u64 length, int access_flags) in mlx4_get_umem_mr() argument 381 if (!ib_access_writable(access_flags)) { in mlx4_get_umem_mr() 395 access_flags |= IB_ACCESS_LOCAL_WRITE; in mlx4_get_umem_mr() 397 access_flags |= IB_ACCESS_LOCAL_WRITE; in mlx4_get_umem_mr() 403 return ib_umem_get(device, start, length, access_flags); in mlx4_get_umem_mr() 407 u64 virt_addr, int access_flags, in mlx4_ib_reg_user_mr() argument 420 mr->umem = mlx4_get_umem_mr(pd->device, start, length, access_flags); in mlx4_ib_reg_user_mr() 429 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
|
/linux-6.6.21/drivers/infiniband/hw/efa/ |
D | efa.h | 155 u64 virt_addr, int access_flags, 159 int fd, int access_flags,
|
D | efa_verbs.c | 1566 static struct efa_mr *efa_alloc_mr(struct ib_pd *ibpd, int access_flags, in efa_alloc_mr() argument 1585 access_flags &= ~IB_ACCESS_OPTIONAL; in efa_alloc_mr() 1586 if (access_flags & ~supp_access_flags) { in efa_alloc_mr() 1589 access_flags, supp_access_flags); in efa_alloc_mr() 1601 u64 length, u64 virt_addr, int access_flags) in efa_register_mr() argument 1614 params.permissions = access_flags; in efa_register_mr() 1663 int fd, int access_flags, in efa_reg_user_mr_dmabuf() argument 1671 mr = efa_alloc_mr(ibpd, access_flags, udata); in efa_reg_user_mr_dmabuf() 1678 access_flags); in efa_reg_user_mr_dmabuf() 1686 err = efa_register_mr(ibpd, mr, start, length, virt_addr, access_flags); in efa_reg_user_mr_dmabuf() [all …]
|
/linux-6.6.21/include/linux/ |
D | agpgart.h | 116 unsigned long access_flags; /* long req'd for set_bit --RR */ member
|
/linux-6.6.21/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 62 u64 virt_addr, int access_flags,
|
/linux-6.6.21/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 313 mr->mr.access_flags = acc; in rvt_get_dma_mr() 365 mr->mr.access_flags = mr_access_flags; in rvt_reg_user_mr() 632 mr->mr.access_flags = access; in rvt_fast_reg_mr() 767 (mr->access_flags & acc) != acc)) in rvt_lkey_ok() 874 (mr->access_flags & acc) == 0)) in rvt_rkey_ok()
|
/linux-6.6.21/net/smc/ |
D | smc_ib.h | 101 int smc_ib_get_memory_region(struct ib_pd *pd, int access_flags,
|
/linux-6.6.21/include/rdma/ |
D | rdmavt_mr.h | 38 int access_flags; member
|