Home
last modified time | relevance | path

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

12

/drivers/char/agp/
Dfrontend.c350 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 …]
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()
138 set_bit(AGP_FF_IS_CLIENT, &client_priv->access_flags); in compat_agpioc_reserve_wrap()
139 set_bit(AGP_FF_IS_VALID, &client_priv->access_flags); in compat_agpioc_reserve_wrap()
224 if (!(test_bit(AGP_FF_IS_CONTROLLER, &curr_priv->access_flags))) { in compat_agp_ioctl()
/drivers/infiniband/hw/mlx5/
Dmr.c834 int access_flags, struct ib_umem **umem, in mr_umem_get() argument
844 u = ib_umem_get(pd->uobject->context, start, length, access_flags, 0); in mr_umem_get()
913 int page_shift, int order, int access_flags) in alloc_mr_from_cache() argument
937 mr->access_flags = access_flags; in alloc_mr_from_cache()
1054 wr.access_flags = mr->access_flags; in mlx5_ib_update_xlt()
1108 int page_shift, int access_flags, in reg_create() argument
1125 mr->access_flags = access_flags; in reg_create()
1136 if (populate && !(access_flags & IB_ACCESS_ON_DEMAND)) in reg_create()
1147 MLX5_SET(mkc, mkc, a, !!(access_flags & IB_ACCESS_REMOTE_ATOMIC)); in reg_create()
1148 MLX5_SET(mkc, mkc, rw, !!(access_flags & IB_ACCESS_REMOTE_WRITE)); in reg_create()
[all …]
Dmem.c143 __be64 *pas, int access_flags) in __mlx5_ib_populate_pas() argument
159 WARN_ON(access_flags != (MLX5_IB_MTT_READ | MLX5_IB_MTT_WRITE)); in __mlx5_ib_populate_pas()
192 cur |= access_flags; in __mlx5_ib_populate_pas()
209 int page_shift, __be64 *pas, int access_flags) in mlx5_ib_populate_pas() argument
213 access_flags); in mlx5_ib_populate_pas()
Dmlx5_ib.h428 int access_flags; member
523 int access_flags; /* Needed for rereg MR */ member
864 u64 virt_addr, int access_flags,
872 int access_flags);
875 u64 length, u64 virt_addr, int access_flags,
920 __be64 *pas, int access_flags);
922 int page_shift, __be64 *pas, int access_flags);
Dodp.c309 bool ksm, int access_flags) in implicit_mr_alloc() argument
324 mr->access_flags = access_flags; in implicit_mr_alloc()
393 mtt = implicit_mr_alloc(mr->ibmr.pd, umem, 0, mr->access_flags); in implicit_mr_get_data()
439 int access_flags) in mlx5_ib_alloc_implicit_mr() argument
449 imr = implicit_mr_alloc(&pd->ibpd, umem, 1, access_flags); in mlx5_ib_alloc_implicit_mr()
Dqp.c2173 u32 access_flags; in to_mlx5_access_flags() local
2181 access_flags = attr->qp_access_flags; in to_mlx5_access_flags()
2183 access_flags = qp->trans_qp.atomic_rd_en; in to_mlx5_access_flags()
2186 access_flags &= IB_ACCESS_REMOTE_WRITE; in to_mlx5_access_flags()
2188 if (access_flags & IB_ACCESS_REMOTE_READ) in to_mlx5_access_flags()
2190 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in to_mlx5_access_flags()
2192 if (access_flags & IB_ACCESS_REMOTE_WRITE) in to_mlx5_access_flags()
3365 seg->flags = convert_access(umrwr->access_flags); in set_reg_mkey_segment()
3679 seg->flags = get_umr_flags(wr->access_flags) | in set_sig_mkey_segment()
3711 unlikely(wr->access_flags & IB_ACCESS_REMOTE_ATOMIC) || in set_sig_umr_wr()
/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
133 length, access_flags, 0); in pvrdma_reg_user_mr()
177 cmd->access_flags = access_flags; in pvrdma_reg_user_mr()
248 cmd->access_flags = 0; in pvrdma_alloc_mr()
Dpvrdma_dev_api.h446 u32 access_flags; member
511 u32 access_flags; member
Dpvrdma_verbs.h401 u64 virt_addr, int access_flags,
Dpvrdma_qp.c343 cmd->access_flags = IB_ACCESS_LOCAL_WRITE; in pvrdma_create_qp()
586 wqe_hdr->wr.fast_reg.access_flags = wr->access; in set_reg_seg()
/drivers/infiniband/hw/mlx4/
Dmr.c136 int access_flags) in mlx4_get_umem_mr() argument
144 if (!ib_access_writable(access_flags)) { in mlx4_get_umem_mr()
157 access_flags |= IB_ACCESS_LOCAL_WRITE; in mlx4_get_umem_mr()
159 access_flags |= IB_ACCESS_LOCAL_WRITE; in mlx4_get_umem_mr()
165 return ib_umem_get(context, start, length, access_flags, 0); in mlx4_get_umem_mr()
169 u64 virt_addr, int access_flags, in mlx4_ib_reg_user_mr() argument
183 virt_addr, access_flags); in mlx4_ib_reg_user_mr()
193 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
Dqp.c1767 u32 access_flags; in to_mlx4_access_flags() local
1776 access_flags = attr->qp_access_flags; in to_mlx4_access_flags()
1778 access_flags = qp->atomic_rd_en; in to_mlx4_access_flags()
1781 access_flags &= IB_ACCESS_REMOTE_WRITE; in to_mlx4_access_flags()
1783 if (access_flags & IB_ACCESS_REMOTE_READ) in to_mlx4_access_flags()
1785 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in to_mlx4_access_flags()
1787 if (access_flags & IB_ACCESS_REMOTE_WRITE) in to_mlx4_access_flags()
Dmlx4_ib.h748 u64 virt_addr, int access_flags,
/drivers/infiniband/sw/rdmavt/
Dmr.c358 mr->mr.access_flags = acc; in rvt_get_dma_mr()
410 mr->mr.access_flags = mr_access_flags; in rvt_reg_user_mr()
680 mr->mr.access_flags = access; in rvt_fast_reg_mr()
760 fmr->mr.access_flags = mr_access_flags; in rvt_alloc_fmr()
969 (mr->access_flags & acc) != acc)) in rvt_lkey_ok()
1076 (mr->access_flags & acc) == 0)) in rvt_rkey_ok()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h70 u64 virt_addr, int access_flags,
Dusnic_ib_verbs.c614 u64 virt_addr, int access_flags, in usnic_ib_reg_mr() argument
628 access_flags, 0); in usnic_ib_reg_mr()
/drivers/infiniband/hw/hns/
Dhns_roce_mr.c548 u64 virt_addr, int access_flags, in hns_roce_reg_user_mr() argument
562 access_flags, 0); in hns_roce_reg_user_mr()
584 access_flags, n, mr); in hns_roce_reg_user_mr()
Dhns_roce_device.h424 u32 access_flags; member
703 u64 virt_addr, int access_flags,
/drivers/infiniband/hw/qib/
Dqib_keys.c192 (mr->access_flags & acc) == 0)) in qib_rkey_ok()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c331 u32 access_flags; in get_hw_access_flags() local
340 access_flags = attr->qp_access_flags; in get_hw_access_flags()
342 access_flags = qp->atomic_rd_en; in get_hw_access_flags()
345 access_flags &= IB_ACCESS_REMOTE_WRITE; in get_hw_access_flags()
347 if (access_flags & IB_ACCESS_REMOTE_READ) in get_hw_access_flags()
349 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in get_hw_access_flags()
351 if (access_flags & IB_ACCESS_REMOTE_WRITE) in get_hw_access_flags()
/drivers/s390/block/
Ddasd_eckd.h424 __u8 access_flags; member
/drivers/infiniband/ulp/iser/
Diser_memory.c420 wr->access_flags = IB_ACCESS_LOCAL_WRITE | in iser_reg_sig_mr()
/drivers/infiniband/core/
Duverbs_cmd.c665 ret = ib_check_mr_access(cmd.access_flags); in ib_uverbs_reg_mr()
679 if (cmd.access_flags & IB_ACCESS_ON_DEMAND) { in ib_uverbs_reg_mr()
689 cmd.access_flags, &udata); in ib_uverbs_reg_mr()
771 ret = ib_check_mr_access(cmd.access_flags); in ib_uverbs_rereg_mr()
787 cmd.access_flags, pd, &udata); in ib_uverbs_rereg_mr()
Drw.c423 ctx->sig->sig_wr.access_flags = IB_ACCESS_LOCAL_WRITE; in rdma_rw_ctx_signature_init()

12