Home
last modified time | relevance | path

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

12

/linux-3.4.99/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()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_mr.c77 mr->mr.access_flags = acc; in qib_get_dma_mr()
162 mr->mr.access_flags = acc; in qib_reg_phys_mr()
231 mr->mr.access_flags = mr_access_flags; in qib_reg_user_mr()
310 mr->mr.access_flags = 0; in qib_alloc_fast_reg_mr()
393 fmr->mr.access_flags = mr_access_flags; in qib_alloc_fmr()
Dqib_keys.c172 (mr->access_flags & acc) != acc)) in qib_lkey_ok()
266 (mr->access_flags & acc) == 0)) in qib_rkey_ok()
343 mr->access_flags = wr->wr.fast_reg.access_flags; in qib_fast_reg_mr()
Dqib_verbs.h301 int access_flags; member
/linux-3.4.99/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
/linux-3.4.99/drivers/infiniband/hw/mlx4/
Dmr.c125 u64 virt_addr, int access_flags, in mlx4_ib_reg_user_mr() argument
139 access_flags, 0); in mlx4_ib_reg_user_mr()
149 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
Dqp.c884 u32 access_flags; in to_mlx4_access_flags() local
893 access_flags = attr->qp_access_flags; in to_mlx4_access_flags()
895 access_flags = qp->atomic_rd_en; in to_mlx4_access_flags()
898 access_flags &= IB_ACCESS_REMOTE_WRITE; in to_mlx4_access_flags()
900 if (access_flags & IB_ACCESS_REMOTE_READ) in to_mlx4_access_flags()
902 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in to_mlx4_access_flags()
904 if (access_flags & IB_ACCESS_REMOTE_WRITE) in to_mlx4_access_flags()
1552 fseg->flags = convert_access(wr->wr.fast_reg.access_flags); in set_fmr_seg()
Dmlx4_ib.h284 u64 virt_addr, int access_flags,
/linux-3.4.99/include/linux/
Dagpgart.h200 unsigned long access_flags; /* long req'd for set_bit --RR */ member
/linux-3.4.99/include/linux/sunrpc/
Dsvc_rdma.h112 unsigned long access_flags; member
/linux-3.4.99/fs/cifs/
Dcifsacl.c1224 int xid, rc, access_flags, create_options = 0; in set_cifs_acl() local
1240 access_flags = WRITE_OWNER; in set_cifs_acl()
1242 access_flags = WRITE_DAC; in set_cifs_acl()
1244 rc = CIFSSMBOpen(xid, tcon, path, FILE_OPEN, access_flags, in set_cifs_acl()
Dcifsproto.h348 const int access_flags, const int omode,
353 const int access_flags, const int omode,
Dcifssmb.c1192 access_flags_to_smbopen_mode(const int access_flags) in access_flags_to_smbopen_mode() argument
1194 int masked_flags = access_flags & (GENERIC_READ | GENERIC_WRITE); in access_flags_to_smbopen_mode()
1208 const int access_flags, const int create_options, __u16 *netfid, in SMBLegacyOpen() argument
1246 pSMB->Mode = cpu_to_le16(access_flags_to_smbopen_mode(access_flags)); in SMBLegacyOpen()
1315 const int access_flags, const int create_options, __u16 *netfid, in CIFSSMBOpen() argument
1353 pSMB->DesiredAccess = cpu_to_le32(access_flags); in CIFSSMBOpen()
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_qp.c330 u32 access_flags; in get_hw_access_flags() local
339 access_flags = attr->qp_access_flags; in get_hw_access_flags()
341 access_flags = qp->atomic_rd_en; in get_hw_access_flags()
344 access_flags &= IB_ACCESS_REMOTE_WRITE; in get_hw_access_flags()
346 if (access_flags & IB_ACCESS_REMOTE_READ) in get_hw_access_flags()
348 if (access_flags & IB_ACCESS_REMOTE_ATOMIC) in get_hw_access_flags()
350 if (access_flags & IB_ACCESS_REMOTE_WRITE) in get_hw_access_flags()
/linux-3.4.99/include/rdma/
Dib_user_verbs.h250 __u32 access_flags; member
/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c1244 fastreg_wr.wr.fast_reg.access_flags = frmr->access_flags; in svc_rdma_fastreg()
Dsvc_rdma_sendto.c102 frmr->access_flags = 0; in fast_reg_xdr()
Dsvc_rdma_recvfrom.c261 frmr->access_flags = (IB_ACCESS_LOCAL_WRITE|IB_ACCESS_REMOTE_WRITE); in fast_reg_read_chunks()
/linux-3.4.99/net/rds/
Diw_rdma.c714 f_wr.wr.fast_reg.access_flags = IB_ACCESS_LOCAL_WRITE |
Diw_send.c782 send->s_wr.wr.fast_reg.access_flags = IB_ACCESS_REMOTE_WRITE; in rds_iw_build_send_fastreg()
/linux-3.4.99/mm/
Dfilemap.c1349 unsigned long *nr_segs, size_t *count, int access_flags) in generic_segment_checks() argument
1363 if (access_ok(access_flags, iv->iov_base, iv->iov_len)) in generic_segment_checks()
/linux-3.4.99/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()

12