Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/vboxsf/
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()
111 sf_handle = vboxsf_create_sf_handle(inode, params.handle, access_flags); in vboxsf_file_open()
[all …]
Dvfsmod.h87 u64 handle, u32 access_flags);
/kernel/linux/linux-5.10/drivers/char/agp/
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()
428 clear_bit(AGP_FF_IS_VALID, &controller_priv->access_flags); in agp_controller_release_current()
437 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_release_current()
576 if (!(test_bit(AGP_FF_IS_VALID, &priv->access_flags))) in agp_mmap()
586 if (test_bit(AGP_FF_IS_CLIENT, &priv->access_flags)) { in agp_mmap()
611 if (test_bit(AGP_FF_IS_CONTROLLER, &priv->access_flags)) { in agp_mmap()
649 if (test_bit(AGP_FF_IS_CONTROLLER, &priv->access_flags)) { in agp_release()
[all …]
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmr.c563 unsigned int entry, int access_flags) in mlx5_mr_cache_alloc() argument
574 if (!mlx5_ib_can_reconfig_with_umr(dev, 0, access_flags)) in mlx5_mr_cache_alloc()
593 mr->access_flags = access_flags; in mlx5_mr_cache_alloc()
876 int access_flags, struct ib_umem **umem, int *npages, in mr_umem_get() argument
883 if (access_flags & IB_ACCESS_ON_DEMAND) { in mr_umem_get()
886 odp = ib_umem_odp_get(&dev->ib_dev, start, length, access_flags, in mr_umem_get()
902 u = ib_umem_get(&dev->ib_dev, start, length, access_flags); in mr_umem_get()
985 int access_flags) in alloc_mr_from_cache() argument
995 if (!mlx5_ib_can_reconfig_with_umr(dev, 0, access_flags)) in alloc_mr_from_cache()
1007 mr->access_flags = access_flags; in alloc_mr_from_cache()
[all …]
Dmem.c119 __be64 *pas, int access_flags) in __mlx5_ib_populate_pas() argument
152 cur |= access_flags; in __mlx5_ib_populate_pas()
169 int page_shift, __be64 *pas, int access_flags) in mlx5_ib_populate_pas() argument
173 pas, access_flags); in mlx5_ib_populate_pas()
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()
Dmlx5_ib.h473 int access_flags; member
611 int access_flags; /* Needed for rereg MR */ member
1175 u64 virt_addr, int access_flags,
1189 int access_flags);
1193 u64 length, u64 virt_addr, int access_flags,
1239 __be64 *pas, int access_flags);
1241 int page_shift, __be64 *pas, int access_flags);
1248 unsigned int entry, int access_flags);
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
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()
Dpvrdma_dev_api.h460 u32 access_flags; member
565 u32 access_flags; member
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-mmio.h12 unsigned int access_flags; member
72 .access_flags = acc, \
84 .access_flags = acc, \
94 .access_flags = acc, \
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_mr.c109 ret = uverbs_get_flags32(&attr.access_flags, attrs, in UVERBS_HANDLER()
115 if (!(attr.access_flags & IB_ZERO_BASED)) in UVERBS_HANDLER()
118 ret = ib_check_mr_access(attr.access_flags); in UVERBS_HANDLER()
/kernel/linux/linux-5.10/include/linux/
Dagpgart.h116 unsigned long access_flags; /* long req'd for set_bit --RR */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h63 u64 virt_addr, int access_flags,
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmr.c355 mr->mr.access_flags = acc; in rvt_get_dma_mr()
406 mr->mr.access_flags = mr_access_flags; in rvt_reg_user_mr()
673 mr->mr.access_flags = access; in rvt_fast_reg_mr()
808 (mr->access_flags & acc) != acc)) in rvt_lkey_ok()
915 (mr->access_flags & acc) == 0)) in rvt_rkey_ok()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.h79 int smc_ib_get_memory_region(struct ib_pd *pd, int access_flags,
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_mr.h38 int access_flags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dvmw_pvrdma-abi.h213 __u32 access_flags; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa.h142 u64 virt_addr, int access_flags,
/kernel/linux/linux-5.10/include/uapi/rdma/
Dvmw_pvrdma-abi.h276 __u32 access_flags; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dvmw_pvrdma-abi.h196 __u32 access_flags; member
/kernel/linux/linux-5.10/fs/cifs/
Dcifsacl.c1193 int rc, access_flags; in set_cifs_acl() local
1207 access_flags = WRITE_OWNER; in set_cifs_acl()
1209 access_flags = WRITE_DAC; in set_cifs_acl()
1213 oparms.desired_access = access_flags; in set_cifs_acl()
/kernel/linux/linux-5.10/net/rds/
Dib_rdma.c568 int access_flags = in rds_ib_get_mr() local
581 access_flags); in rds_ib_get_mr()

123