Searched refs:access_flags (Results 1 – 16 of 16) sorted by relevance
/drivers/char/agp/ |
D | frontend.c | 351 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 …]
|
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() 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/ |
D | ipath_mr.c | 74 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()
|
D | ipath_keys.c | 159 (mr->access_flags & acc) != acc)) { in ipath_lkey_ok() 241 (mr->access_flags & acc) == 0)) { in ipath_rkey_ok()
|
D | ipath_verbs.h | 248 int access_flags; member
|
/drivers/infiniband/hw/qib/ |
D | qib_keys.c | 191 (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()
|
D | qib_mr.c | 126 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()
|
D | qib_verbs.h | 302 int access_flags; member
|
/drivers/infiniband/hw/mlx4/ |
D | mr.c | 135 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()
|
D | qp.c | 1105 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()
|
D | mlx4_ib.h | 591 u64 virt_addr, int access_flags,
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 331 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/ |
D | uverbs_cmd.c | 942 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/ |
D | iwch_qp.c | 167 V_FR_PERMS(iwch_ib_to_tpt_access(wr->wr.fast_reg.access_flags))); in build_fastreg()
|
/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 564 wqe->fr.mem_perms = c4iw_ib_to_tpt_access(wr->wr.fast_reg.access_flags); in build_fastreg()
|
/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 3411 int flags = ib_wr->wr.fast_reg.access_flags; in nes_post_send()
|