Home
last modified time | relevance | path

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

/drivers/char/agp/
Dfrontend.c351 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_remove_all_clients()
352 clear_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_remove_all_clients()
417 set_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_make_current()
418 set_bit(AGP_FF_IS_CLIENT, &priv->access_flags); in agp_controller_make_current()
431 clear_bit(AGP_FF_IS_VALID, &controller_priv->access_flags); in agp_controller_release_current()
440 clear_bit(AGP_FF_IS_VALID, &priv->access_flags); in agp_controller_release_current()
579 if (!(test_bit(AGP_FF_IS_VALID, &priv->access_flags))) in agp_mmap()
589 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()
650 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/ipath/
Dipath_mr.c74 mr->mr.access_flags = acc; in ipath_get_dma_mr()
151 mr->mr.access_flags = acc; in ipath_reg_phys_mr()
221 mr->mr.access_flags = mr_access_flags; in ipath_reg_user_mr()
325 fmr->mr.access_flags = mr_access_flags; in ipath_alloc_fmr()
Dipath_keys.c159 (mr->access_flags & acc) != acc)) { in ipath_lkey_ok()
241 (mr->access_flags & acc) == 0)) { in ipath_rkey_ok()
Dipath_verbs.h248 int access_flags; member
/drivers/infiniband/hw/qib/
Dqib_keys.c191 (mr->access_flags & acc) != acc)) in qib_lkey_ok()
290 (mr->access_flags & acc) == 0)) in qib_rkey_ok()
370 mr->access_flags = wr->wr.fast_reg.access_flags; in qib_fast_reg_mr()
Dqib_mr.c126 mr->mr.access_flags = acc; in qib_get_dma_mr()
198 mr->mr.access_flags = acc; in qib_reg_phys_mr()
264 mr->mr.access_flags = mr_access_flags; in qib_reg_user_mr()
414 fmr->mr.access_flags = mr_access_flags; in qib_alloc_fmr()
Dqib_verbs.h302 int access_flags; member
/drivers/infiniband/hw/mlx4/
Dmr.c135 u64 virt_addr, int access_flags, in mlx4_ib_reg_user_mr() argument
149 access_flags, 0); in mlx4_ib_reg_user_mr()
159 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
Dqp.c1105 u32 access_flags; in to_mlx4_access_flags() local
1114 access_flags = attr->qp_access_flags; in to_mlx4_access_flags()
1116 access_flags = qp->atomic_rd_en; in to_mlx4_access_flags()
1119 access_flags &= IB_ACCESS_REMOTE_WRITE; in to_mlx4_access_flags()
1121 if (access_flags & IB_ACCESS_REMOTE_READ) in to_mlx4_access_flags()
1123 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in to_mlx4_access_flags()
1125 if (access_flags & IB_ACCESS_REMOTE_WRITE) in to_mlx4_access_flags()
1983 fseg->flags = convert_access(wr->wr.fast_reg.access_flags); in set_fmr_seg()
Dmlx4_ib.h591 u64 virt_addr, int access_flags,
/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/infiniband/core/
Duverbs_cmd.c942 if (cmd.access_flags & (IB_ACCESS_REMOTE_ATOMIC | IB_ACCESS_REMOTE_WRITE) && in ib_uverbs_reg_mr()
943 !(cmd.access_flags & IB_ACCESS_LOCAL_WRITE)) in ib_uverbs_reg_mr()
960 cmd.access_flags, &udata); in ib_uverbs_reg_mr()
/drivers/infiniband/hw/cxgb3/
Diwch_qp.c167 V_FR_PERMS(iwch_ib_to_tpt_access(wr->wr.fast_reg.access_flags))); in build_fastreg()
/drivers/infiniband/hw/cxgb4/
Dqp.c564 wqe->fr.mem_perms = c4iw_ib_to_tpt_access(wr->wr.fast_reg.access_flags); in build_fastreg()
/drivers/infiniband/hw/nes/
Dnes_verbs.c3411 int flags = ib_wr->wr.fast_reg.access_flags; in nes_post_send()