Home
last modified time | relevance | path

Searched refs:access_flags (Results 1 – 25 of 50) sorted by relevance

12

/linux/fs/vboxsf/
A Dfile.c18 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()
258 if (h->access_flags == SHFL_CF_ACCESS_WRITE || in vboxsf_get_write_handle()
[all …]
A Dvfsmod.h87 u64 handle, u32 access_flags);
/linux/drivers/char/agp/
A Dfrontend.c348 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_remove_all_clients()
349 clear_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_remove_all_clients()
414 set_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_make_current()
415 set_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_controller_make_current()
437 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_release_current()
662 if (test_bit(AGP_FF_IS_CLIENT, &priv->access_flags)) in agp_release()
689 set_bit(AGP_FF_ALLOW_CLIENT, &priv->access_flags); in agp_open()
699 set_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_open()
700 set_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_open()
773 set_bit(AGP_FF_IS_CONTROLLER, &priv->access_flags); in agpioc_acquire_wrap()
[all …]
A Dcompat_ioctl.c85 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/drivers/infiniband/hw/mlx5/
A Dmr.c601 mr->access_flags = access_flags; in mlx5_mr_cache_alloc()
918 mr->access_flags = access_flags; in set_mr_fields()
934 int access_flags) in alloc_cacheable_mr() argument
1087 wr->access_flags = mr->access_flags; in mlx5_ib_create_xlt_wr()
1288 mr->access_flags = access_flags; in reg_create()
1611 access_flags, in mlx5_ib_reg_user_mr_dmabuf()
1620 access_flags); in mlx5_ib_reg_user_mr_dmabuf()
1687 int access_flags) in umr_rereg_pd_access() argument
1698 .access_flags = access_flags, in umr_rereg_pd_access()
1706 mr->access_flags = access_flags; in umr_rereg_pd_access()
[all …]
A Drestrack.c86 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()
A Dmlx5_ib.h549 int access_flags; member
704 int access_flags; member
1279 u64 virt_addr, int access_flags,
1283 int fd, int access_flags,
1297 int access_flags);
1301 u64 length, u64 virt_addr, int access_flags,
1339 u64 access_flags);
1346 unsigned int entry, int access_flags);
A Dmem.c44 u64 access_flags) in mlx5_ib_populate_pas() argument
50 access_flags); in mlx5_ib_populate_pas()
A Dwr.c412 !!(umrwr->access_flags & IB_ACCESS_REMOTE_ATOMIC)); in set_reg_mkey_segment()
414 !!(umrwr->access_flags & IB_ACCESS_REMOTE_WRITE)); in set_reg_mkey_segment()
415 MLX5_SET(mkc, seg, rr, !!(umrwr->access_flags & IB_ACCESS_REMOTE_READ)); in set_reg_mkey_segment()
416 MLX5_SET(mkc, seg, lw, !!(umrwr->access_flags & IB_ACCESS_LOCAL_WRITE)); in set_reg_mkey_segment()
420 !!(umrwr->access_flags & IB_ACCESS_RELAXED_ORDERING)); in set_reg_mkey_segment()
423 !!(umrwr->access_flags & IB_ACCESS_RELAXED_ORDERING)); in set_reg_mkey_segment()
750 struct ib_mr *sig_mr, int access_flags, in set_sig_mkey_segment() argument
758 seg->flags = get_umr_flags(access_flags) | MLX5_MKC_ACCESS_MODE_KLMS; in set_sig_mkey_segment()
/linux/drivers/infiniband/core/
A Duverbs_std_types_mr.c110 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/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_mr.c82 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()
A Dpvrdma_dev_api.h460 u32 access_flags; member
565 u32 access_flags; member
/linux/drivers/iommu/
A Dio-pgfault.c78 unsigned int access_flags = 0; in iopf_handle_single() local
98 access_flags |= VM_READ; in iopf_handle_single()
101 access_flags |= VM_WRITE; in iopf_handle_single()
106 access_flags |= VM_EXEC; in iopf_handle_single()
113 if (access_flags & ~vma->vm_flags) in iopf_handle_single()
/linux/arch/arm64/kvm/vgic/
A Dvgic-mmio.h12 unsigned int access_flags; member
72 .access_flags = acc, \
84 .access_flags = acc, \
94 .access_flags = acc, \
/linux/drivers/infiniband/hw/mlx4/
A Dmr.c373 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/drivers/infiniband/hw/efa/
A Defa_verbs.c1567 access_flags &= ~IB_ACCESS_OPTIONAL; in efa_alloc_mr()
1568 if (access_flags & ~supp_access_flags) { in efa_alloc_mr()
1571 access_flags, supp_access_flags); in efa_alloc_mr()
1583 u64 length, u64 virt_addr, int access_flags) in efa_register_mr() argument
1596 params.permissions = access_flags; in efa_register_mr()
1645 int fd, int access_flags, in efa_reg_user_mr_dmabuf() argument
1653 mr = efa_alloc_mr(ibpd, access_flags, udata); in efa_reg_user_mr_dmabuf()
1660 access_flags); in efa_reg_user_mr_dmabuf()
1684 u64 virt_addr, int access_flags, in efa_reg_mr() argument
1691 mr = efa_alloc_mr(ibpd, access_flags, udata); in efa_reg_mr()
[all …]
A Defa.h155 u64 virt_addr, int access_flags,
159 int fd, int access_flags,
/linux/drivers/infiniband/sw/rdmavt/
A Dmr.c313 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/include/linux/
A Dagpgart.h116 unsigned long access_flags; /* long req'd for set_bit --RR */ member
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_verbs.h62 u64 virt_addr, int access_flags,
/linux/net/smc/
A Dsmc_ib.h95 int smc_ib_get_memory_region(struct ib_pd *pd, int access_flags,
/linux/include/rdma/
A Drdmavt_mr.h38 int access_flags; member
/linux/include/uapi/rdma/
A Dvmw_pvrdma-abi.h276 __u32 access_flags; member
/linux/drivers/infiniband/hw/mthca/
A Dmthca_qp.c332 u32 access_flags; in get_hw_access_flags() local
341 access_flags = attr->qp_access_flags; in get_hw_access_flags()
343 access_flags = qp->atomic_rd_en; in get_hw_access_flags()
346 access_flags &= IB_ACCESS_REMOTE_WRITE; in get_hw_access_flags()
348 if (access_flags & IB_ACCESS_REMOTE_READ) in get_hw_access_flags()
350 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in get_hw_access_flags()
352 if (access_flags & IB_ACCESS_REMOTE_WRITE) in get_hw_access_flags()
/linux/net/rds/
A Dib_rdma.c568 int access_flags = in rds_ib_get_mr() local
581 access_flags); in rds_ib_get_mr()

Completed in 51 milliseconds

12