| /linux/fs/nfsd/ |
| H A D | nfs3proc.c | 143 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_lookup() 146 trace_nfsd_vfs_getattr(rqstp, &argp->fh); in nfsd3_proc_lookup() 148 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_lookup() 166 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_access() 169 .na_iattr = &argp->attrs, in nfsd3_proc_access() 174 SVCFH_fmt(&argp->fh)); in nfsd3_proc_access() 176 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_access() 177 if (!nfsd3_time_in_range(&argp->attrs)) { in nfsd3_proc_access() 181 if (argp->check_guard) 182 guardtime = &argp 89 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_getattr() local 112 struct nfsd3_sattrargs *argp = rqstp->rq_argp; nfsd3_proc_setattr() local 141 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_lookup() local 165 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsd3_proc_access() local 185 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_readlink() local 206 struct nfsd3_readargs *argp = rqstp->rq_argp; nfsd3_proc_read() local 244 struct nfsd3_writeargs *argp = rqstp->rq_argp; nfsd3_proc_write() local 278 nfsd3_create_file(struct svc_rqst * rqstp,struct svc_fh * fhp,struct svc_fh * resfhp,struct nfsd3_createargs * argp) nfsd3_create_file() argument 402 struct nfsd3_createargs *argp = rqstp->rq_argp; nfsd3_proc_create() local 420 struct nfsd3_createargs *argp = rqstp->rq_argp; nfsd3_proc_mkdir() local 443 struct nfsd3_symlinkargs *argp = rqstp->rq_argp; nfsd3_proc_symlink() local 486 struct nfsd3_mknodargs *argp = rqstp->rq_argp; nfsd3_proc_mknod() local 528 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_remove() local 545 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_rmdir() local 558 struct nfsd3_renameargs *argp = rqstp->rq_argp; nfsd3_proc_rename() local 572 struct nfsd3_linkargs *argp = rqstp->rq_argp; nfsd3_proc_link() local 609 struct nfsd3_readdirargs *argp = rqstp->rq_argp; nfsd3_proc_readdir() local 641 struct nfsd3_readdirargs *argp = rqstp->rq_argp; nfsd3_proc_readdirplus() local 683 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_fsstat() local 698 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_fsinfo() local 742 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_pathconf() local 808 struct nfsd3_commitargs *argp = rqstp->rq_argp; nfsd3_proc_commit() local [all...] |
| H A D | nfsproc.c | 356 struct fhandle_wrapper *argp = rqstp->rq_argp; in nfsd_proc_create() 359 struct svc_fh *fhp = &argp->fh; in nfsd_proc_create() 361 nfsd_fhandle_to_svc_fh(fhp, &argp->xdrgen); in nfsd_proc_create() 392 struct sattrargs_wrapper *argp = rqstp->rq_argp; in nfsd_proc_create() 395 struct iattr *iap = &argp->iattrs; in nfsd_proc_create() 399 struct svc_fh *fhp = &argp->fh; in nfsd_proc_create() 401 nfsd_fhandle_to_svc_fh(fhp, &argp->xdrgen.file); in nfsd_proc_create() 402 if (!nfsd_sattr_to_iattr(rqstp, iap, &argp->xdrgen.attributes)) { in nfsd_proc_create() 501 struct diropargs_wrapper *argp = rqstp->rq_argp; in nfsd_proc_symlink() 503 struct diropargs *what = &argp in nfsd_proc_symlink() 55 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd_proc_getattr() local 78 struct nfsd_sattrargs *argp = rqstp->rq_argp; nfsd_proc_setattr() local 166 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_lookup() local 191 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd_proc_readlink() local 214 struct nfsd_readargs *argp = rqstp->rq_argp; nfsd_proc_read() local 258 struct nfsd_writeargs *argp = rqstp->rq_argp; nfsd_proc_write() local 286 struct nfsd_createargs *argp = rqstp->rq_argp; nfsd_proc_create() local 450 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_remove() local 464 struct nfsd_renameargs *argp = rqstp->rq_argp; nfsd_proc_rename() local 478 struct nfsd_linkargs *argp = rqstp->rq_argp; nfsd_proc_link() local 492 struct nfsd_symlinkargs *argp = rqstp->rq_argp; nfsd_proc_symlink() local 531 struct nfsd_createargs *argp = rqstp->rq_argp; nfsd_proc_mkdir() local 562 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_rmdir() local 596 struct nfsd_readdirargs *argp = rqstp->rq_argp; nfsd_proc_readdir() local 622 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd_proc_statfs() local [all...] |
| H A D | nfs4xdr.c | 118 svcxdr_tmpalloc_release(struct nfsd4_compoundargs *argp, size_t len, 127 tb->next = argp->to_free; in svcxdr_tmpalloc() 128 argp->to_free = tb; in svcxdr_tmpalloc() 133 svcxdr_tmpalloc(struct nfsd4_compoundargs *argp, size_t len) in svcxdr_tmpalloc() 135 return svcxdr_tmpalloc_release(argp, len, NULL); in svcxdr_tmpalloc() 146 svcxdr_dupstr(struct nfsd4_compoundargs *argp, void *buf, size_t len) in svcxdr_dupstr() 148 char *p = svcxdr_tmpalloc(argp, size_add(len, 1)); in svcxdr_dupstr() 158 svcxdr_savemem(struct nfsd4_compoundargs *argp, __be32 *p, size_t len) in svcxdr_savemem() 166 if (p != argp->xdr->scratch.iov_base) in svcxdr_savemem() 169 tmp = svcxdr_tmpalloc(argp, le in svcxdr_savemem() 125 svcxdr_tmpalloc(struct nfsd4_compoundargs * argp,size_t len) svcxdr_tmpalloc() argument 145 svcxdr_dupstr(struct nfsd4_compoundargs * argp,void * buf,size_t len) svcxdr_dupstr() argument 157 svcxdr_savemem(struct nfsd4_compoundargs * argp,__be32 * p,size_t len) svcxdr_savemem() argument 184 nfsd4_decode_ignored_string(struct nfsd4_compoundargs * argp,u32 maxlen) nfsd4_decode_ignored_string() argument 199 nfsd4_decode_opaque(struct nfsd4_compoundargs * argp,struct xdr_netobj * o) nfsd4_decode_opaque() argument 220 nfsd4_decode_component4(struct nfsd4_compoundargs * argp,char ** namp,u32 * lenp) nfsd4_decode_component4() argument 240 nfsd4_decode_nfstime4(struct nfsd4_compoundargs * argp,struct timespec64 * tv) nfsd4_decode_nfstime4() argument 255 nfsd4_decode_verifier4(struct nfsd4_compoundargs * argp,nfs4_verifier * verf) nfsd4_decode_verifier4() argument 284 nfsd4_decode_bitmap4(struct nfsd4_compoundargs * argp,u32 * bmval,u32 bmlen) nfsd4_decode_bitmap4() argument 293 nfsd4_decode_nfsace4(struct nfsd4_compoundargs * argp,struct nfs4_ace * ace) nfsd4_decode_nfsace4() argument 325 nfsd4_decode_acl(struct nfsd4_compoundargs * argp,struct nfs4_acl ** acl) nfsd4_decode_acl() argument 357 nfsd4_decode_security_label(struct nfsd4_compoundargs * argp,struct xdr_netobj * label) nfsd4_decode_security_label() argument 399 nfsd4_decode_posixace4(struct nfsd4_compoundargs * argp,struct posix_acl_entry * ace) nfsd4_decode_posixace4() argument 445 nfsd4_decode_posixacl(struct nfsd4_compoundargs * argp,struct posix_acl ** acl) nfsd4_decode_posixacl() argument 493 nfsd4_decode_fattr4(struct nfsd4_compoundargs * argp,u32 * bmval,u32 bmlen,struct iattr * iattr,struct nfs4_acl ** acl,struct xdr_netobj * label,int * umask,struct posix_acl ** dpaclp,struct posix_acl ** paclp) nfsd4_decode_fattr4() argument 702 nfsd4_decode_stateid4(struct nfsd4_compoundargs * argp,stateid_t * sid) nfsd4_decode_stateid4() argument 715 nfsd4_decode_clientid4(struct nfsd4_compoundargs * argp,clientid_t * clientid) nfsd4_decode_clientid4() argument 727 nfsd4_decode_state_owner4(struct nfsd4_compoundargs * argp,clientid_t * clientid,struct xdr_netobj * owner) nfsd4_decode_state_owner4() argument 741 nfsd4_decode_layoutupdate4(struct nfsd4_compoundargs * argp,struct nfsd4_layoutcommit * lcp) nfsd4_decode_layoutupdate4() argument 762 nfsd4_decode_layoutreturn4(struct nfsd4_compoundargs * argp,struct nfsd4_layoutreturn * lrp) nfsd4_decode_layoutreturn4() argument 801 nfsd4_decode_sessionid4(struct nfsd4_compoundargs * argp,struct nfs4_sessionid * sessionid) nfsd4_decode_sessionid4() argument 815 nfsd4_decode_authsys_parms(struct nfsd4_compoundargs * argp,struct nfsd4_cb_sec * cbs) nfsd4_decode_authsys_parms() argument 856 nfsd4_decode_gss_cb_handles4(struct nfsd4_compoundargs * argp,struct nfsd4_cb_sec * cbs) nfsd4_decode_gss_cb_handles4() argument 882 nfsd4_decode_cb_sec(struct nfsd4_compoundargs * argp,struct nfsd4_cb_sec * cbs) nfsd4_decode_cb_sec() argument 929 nfsd4_decode_access(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_access() argument 939 nfsd4_decode_close(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_close() argument 949 nfsd4_decode_commit(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_commit() argument 961 nfsd4_decode_create(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_create() argument 1013 nfsd4_decode_delegreturn(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_delegreturn() argument 1020 nfsd4_decode_getattr(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_getattr() argument 1029 nfsd4_decode_link(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_link() argument 1037 nfsd4_decode_open_to_lock_owner4(struct nfsd4_compoundargs * argp,struct nfsd4_lock * lock) nfsd4_decode_open_to_lock_owner4() argument 1054 nfsd4_decode_exist_lock_owner4(struct nfsd4_compoundargs * argp,struct nfsd4_lock * lock) nfsd4_decode_exist_lock_owner4() argument 1069 nfsd4_decode_locker4(struct nfsd4_compoundargs * argp,struct nfsd4_lock * lock) nfsd4_decode_locker4() argument 1079 nfsd4_decode_lock(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_lock() argument 1097 nfsd4_decode_lockt(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_lockt() argument 1114 nfsd4_decode_locku(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_locku() argument 1137 nfsd4_decode_lookup(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_lookup() argument 1144 nfsd4_decode_createhow4(struct nfsd4_compoundargs * argp,struct nfsd4_open * open) nfsd4_decode_createhow4() argument 1188 nfsd4_decode_openflag4(struct nfsd4_compoundargs * argp,struct nfsd4_open * open) nfsd4_decode_openflag4() argument 1209 nfsd4_decode_share_access(struct nfsd4_compoundargs * argp,u32 * share_access,u32 * deleg_want,u32 * deleg_when) nfsd4_decode_share_access() argument 1260 nfsd4_decode_share_deny(struct nfsd4_compoundargs * argp,u32 * x) nfsd4_decode_share_deny() argument 1272 nfsd4_decode_open_claim4(struct nfsd4_compoundargs * argp,struct nfsd4_open * open) nfsd4_decode_open_claim4() argument 1321 nfsd4_decode_open(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_open() argument 1350 nfsd4_decode_open_confirm(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_open_confirm() argument 1371 nfsd4_decode_open_downgrade(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_open_downgrade() argument 1392 nfsd4_decode_putfh(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_putfh() argument 1413 nfsd4_decode_read(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_read() argument 1431 nfsd4_decode_readdir(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_readdir() argument 1454 nfsd4_decode_remove(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_remove() argument 1462 nfsd4_decode_rename(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_rename() argument 1475 nfsd4_decode_renew(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_renew() argument 1482 nfsd4_decode_secinfo(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_secinfo() argument 1491 nfsd4_decode_setattr(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_setattr() argument 1508 nfsd4_decode_setclientid(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_setclientid() argument 1552 nfsd4_decode_setclientid_confirm(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_setclientid_confirm() argument 1569 nfsd4_decode_verify(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_verify() argument 1597 nfsd4_decode_write(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_write() argument 1623 nfsd4_decode_release_lockowner(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_release_lockowner() argument 1643 nfsd4_decode_backchannel_ctl(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_backchannel_ctl() argument 1653 nfsd4_decode_bind_conn_to_session(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_bind_conn_to_session() argument 1673 nfsd4_decode_state_protect_ops(struct nfsd4_compoundargs * argp,struct nfsd4_exchange_id * exid) nfsd4_decode_state_protect_ops() argument 1695 nfsd4_decode_ssv_sp_parms(struct nfsd4_compoundargs * argp,struct nfsd4_exchange_id * exid) nfsd4_decode_ssv_sp_parms() argument 1733 nfsd4_decode_state_protect4_a(struct nfsd4_compoundargs * argp,struct nfsd4_exchange_id * exid) nfsd4_decode_state_protect4_a() argument 1761 nfsd4_decode_nfs_impl_id4(struct nfsd4_compoundargs * argp,struct nfsd4_exchange_id * exid) nfsd4_decode_nfs_impl_id4() argument 1797 nfsd4_decode_exchange_id(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_exchange_id() argument 1819 nfsd4_decode_channel_attrs4(struct nfsd4_compoundargs * argp,struct nfsd4_channel_attrs * ca) nfsd4_decode_channel_attrs4() argument 1851 nfsd4_decode_create_session(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_create_session() argument 1877 nfsd4_decode_destroy_session(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_destroy_session() argument 1885 nfsd4_decode_free_stateid(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_free_stateid() argument 1893 nfsd4_decode_get_dir_delegation(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_get_dir_delegation() argument 1923 nfsd4_decode_getdeviceinfo(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_getdeviceinfo() argument 1945 nfsd4_decode_layoutcommit(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_layoutcommit() argument 1982 nfsd4_decode_layoutget(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_layoutget() argument 2011 nfsd4_decode_layoutreturn(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_layoutreturn() argument 2026 nfsd4_decode_secinfo_no_name(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_secinfo_no_name() argument 2039 nfsd4_decode_sequence(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_sequence() argument 2062 nfsd4_decode_test_stateid(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_test_stateid() argument 2089 nfsd4_decode_destroy_clientid(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_destroy_clientid() argument 2096 nfsd4_decode_reclaim_complete(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_reclaim_complete() argument 2106 nfsd4_decode_fallocate(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_fallocate() argument 2123 nfsd4_decode_nl4_server(struct nfsd4_compoundargs * argp,struct nl4_server * ns) nfsd4_decode_nl4_server() argument 2178 nfsd4_decode_copy(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_copy() argument 2236 nfsd4_decode_copy_notify(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_copy_notify() argument 2257 nfsd4_decode_offload_status(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_offload_status() argument 2267 nfsd4_decode_seek(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_seek() argument 2286 nfsd4_decode_clone(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_clone() argument 2320 nfsd4_vbuf_from_vector(struct nfsd4_compoundargs * argp,struct xdr_buf * xdr,char ** bufp,size_t buflen) nfsd4_vbuf_from_vector() argument 2365 nfsd4_decode_xattr_name(struct nfsd4_compoundargs * argp,char ** namep) nfsd4_decode_xattr_name() argument 2412 nfsd4_decode_getxattr(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_getxattr() argument 2432 nfsd4_decode_setxattr(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_setxattr() argument 2474 nfsd4_decode_listxattrs(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_listxattrs() argument 2506 nfsd4_decode_removexattr(struct nfsd4_compoundargs * argp,union nfsd4_op_u * u) nfsd4_decode_removexattr() argument 2515 nfsd4_decode_noop(struct nfsd4_compoundargs * argp,union nfsd4_op_u * p) nfsd4_decode_noop() argument 2521 nfsd4_decode_notsupp(struct nfsd4_compoundargs * argp,union nfsd4_op_u * p) nfsd4_decode_notsupp() argument 2618 nfsd4_opnum_in_range(struct nfsd4_compoundargs * argp,struct nfsd4_op * op) nfsd4_opnum_in_range() argument 2632 nfsd4_decode_compound(struct nfsd4_compoundargs * argp) nfsd4_decode_compound() argument 5261 struct nfsd4_compoundargs *argp = resp->rqstp->rq_argp; nfsd4_encode_read() local 6162 struct nfsd4_compoundargs *argp = resp->rqstp->rq_argp; nfsd4_encode_read_plus_data() local [all...] |
| H A D | nfs2acl.c | 90 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getacl() 96 dprintk("nfsd: GETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_setacl() 98 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl() 105 if (argp->mask & ~NFS_ACL_MASK) { in nfsacld_proc_setacl() 109 resp->mask = argp->mask; in nfsacld_proc_setacl() 156 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getattr() 162 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getattr() 164 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getattr() 178 if (argp->mask & NFS_ACL) { in nfsacld_proc_access() 180 ACL_TYPE_ACCESS, argp in nfsacld_proc_access() 32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; nfsacld_proc_getacl() local 97 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfsacld_proc_setacl() local 155 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsacld_proc_getattr() local 174 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsacld_proc_access() local 198 struct nfsd3_getaclargs *argp = rqstp->rq_argp; nfsaclsvc_decode_getaclargs() local 211 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfsaclsvc_decode_setaclargs() local 316 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfsaclsvc_release_setacl() local [all...] |
| H A D | nfs3acl.c | 44 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsd3_proc_getacl() 50 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl() 57 if (argp->mask & ~NFS_ACL_MASK) { in nfsd3_proc_getacl() 61 resp->mask = argp->mask; in nfsd3_proc_getacl() 104 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsd3_proc_setacl() 110 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setacl() 124 if (argp->mask & NFS_ACL) { in nfsd3_proc_setacl() 126 ACL_TYPE_ACCESS, argp->acl_access); in nfsd3_proc_setacl() 130 if (argp->mask & NFS_DFACL) { 132 ACL_TYPE_DEFAULT, argp 30 struct nfsd3_getaclargs *argp = rqstp->rq_argp; nfsd3_proc_getacl() local 89 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfsd3_proc_setacl() local 150 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfs3svc_decode_setaclargs() local 230 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfs3svc_release_setacl() local [all...] |
| /linux/fs/lockd/ |
| H A D | svcproc.c | 267 struct nlm_testargs_wrapper *argp = rqstp->rq_argp; in nlmsvc_proc_test() local 268 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlmsvc_proc_test() 273 resp->xdrgen.cookie = argp->xdrgen.cookie; in nlmsvc_proc_test() 276 host = nlm3svc_lookup_host(rqstp, argp->xdrgen.alock.caller_name, false); in nlmsvc_proc_test() 281 nlm3svc_lookup_file(rqstp, host, &argp->lock, &file, in nlmsvc_proc_test() 282 &argp->xdrgen.alock, type); in nlmsvc_proc_test() 287 cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, in nlmsvc_proc_test() 289 nlmsvc_release_lockowner(&argp->lock); in nlmsvc_proc_test() 321 struct nlm_lockargs_wrapper *argp = rqstp->rq_argp; in nlmsvc_do_lock() local 322 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlmsvc_do_lock() [all …]
|
| H A D | svc4proc.c | 251 struct nlm4_testargs_wrapper *argp = rqstp->rq_argp; in nlm4svc_proc_test() local 252 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlm4svc_proc_test() 257 resp->xdrgen.cookie = argp->xdrgen.cookie; in nlm4svc_proc_test() 260 host = nlm4svc_lookup_host(rqstp, argp->xdrgen.alock.caller_name, false); in nlm4svc_proc_test() 264 resp->xdrgen.stat.stat = nlm4svc_lookup_file(rqstp, host, &argp->lock, in nlm4svc_proc_test() 265 &file, &argp->xdrgen.alock, in nlm4svc_proc_test() 271 &argp->lock, &resp->lock); in nlm4svc_proc_test() 272 nlmsvc_release_lockowner(&argp->lock); in nlm4svc_proc_test() 300 struct nlm4_lockargs_wrapper *argp = rqstp->rq_argp; in nlm4svc_do_lock() local 301 unsigned char type = argp->xdrgen.exclusive ? F_WRLCK : F_RDLCK; in nlm4svc_do_lock() [all …]
|
| H A D | nlm3xdr_gen.c | 285 struct nlm_testargs *argp = rqstp->rq_argp; in nlm_svc_decode_nlm_testargs() local 287 return xdrgen_decode_nlm_testargs(xdr, argp); in nlm_svc_decode_nlm_testargs() 301 struct nlm_lockargs *argp = rqstp->rq_argp; in nlm_svc_decode_nlm_lockargs() local 303 return xdrgen_decode_nlm_lockargs(xdr, argp); in nlm_svc_decode_nlm_lockargs() 317 struct nlm_cancargs *argp = rqstp->rq_argp; in nlm_svc_decode_nlm_cancargs() local 319 return xdrgen_decode_nlm_cancargs(xdr, argp); in nlm_svc_decode_nlm_cancargs() 333 struct nlm_unlockargs *argp = rqstp->rq_argp; in nlm_svc_decode_nlm_unlockargs() local 335 return xdrgen_decode_nlm_unlockargs(xdr, argp); in nlm_svc_decode_nlm_unlockargs() 349 struct nlm_testres *argp = rqstp->rq_argp; in nlm_svc_decode_nlm_testres() local 351 return xdrgen_decode_nlm_testres(xdr, argp); in nlm_svc_decode_nlm_testres() [all …]
|
| H A D | nlm4xdr_gen.c | 314 struct nlm4_testargs *argp = rqstp->rq_argp; in nlm4_svc_decode_nlm4_testargs() local 316 return xdrgen_decode_nlm4_testargs(xdr, argp); in nlm4_svc_decode_nlm4_testargs() 330 struct nlm4_lockargs *argp = rqstp->rq_argp; in nlm4_svc_decode_nlm4_lockargs() local 332 return xdrgen_decode_nlm4_lockargs(xdr, argp); in nlm4_svc_decode_nlm4_lockargs() 346 struct nlm4_cancargs *argp = rqstp->rq_argp; in nlm4_svc_decode_nlm4_cancargs() local 348 return xdrgen_decode_nlm4_cancargs(xdr, argp); in nlm4_svc_decode_nlm4_cancargs() 362 struct nlm4_unlockargs *argp = rqstp->rq_argp; in nlm4_svc_decode_nlm4_unlockargs() local 364 return xdrgen_decode_nlm4_unlockargs(xdr, argp); in nlm4_svc_decode_nlm4_unlockargs() 378 struct nlm4_testres *argp = rqstp->rq_argp; in nlm4_svc_decode_nlm4_testres() local 380 return xdrgen_decode_nlm4_testres(xdr, argp); in nlm4_svc_decode_nlm4_testres() [all …]
|
| /linux/block/ |
| H A D | ioctl.c | 178 void __user *argp) in blk_ioctl_secure_erase() argument 187 if (copy_from_user(range, argp, sizeof(range))) in blk_ioctl_secure_erase() 250 static int put_ushort(unsigned short __user *argp, unsigned short val) in blk_ioctl_zeroout() 252 return put_user(val, argp); 255 static int put_int(int __user *argp, int val) in put_ushort() 257 return put_user(val, argp); 260 static int put_uint(unsigned int __user *argp, unsigned int val) in put_int() 262 return put_user(val, argp); 265 static int put_long(long __user *argp, long val) in put_uint() 267 return put_user(val, argp); 253 put_ushort(unsigned short __user * argp,unsigned short val) put_ushort() argument 258 put_int(int __user * argp,int val) put_int() argument 263 put_uint(unsigned int __user * argp,unsigned int val) put_uint() argument 268 put_long(long __user * argp,long val) put_long() argument 273 put_ulong(unsigned long __user * argp,unsigned long val) put_ulong() argument 278 put_u64(u64 __user * argp,u64 val) put_u64() argument 284 compat_put_long(compat_long_t __user * argp,long val) compat_put_long() argument 289 compat_put_ulong(compat_ulong_t __user * argp,compat_ulong_t val) compat_put_ulong() argument 554 blkdev_getgeo(struct block_device * bdev,struct hd_geometry __user * argp) blkdev_getgeo() argument 620 blkdev_bszset(struct file * file,blk_mode_t mode,int __user * argp) blkdev_bszset() argument 653 blkdev_common_ioctl(struct block_device * bdev,blk_mode_t mode,unsigned int cmd,unsigned long arg,void __user * argp) blkdev_common_ioctl() argument 753 void __user *argp = (void __user *)arg; blkdev_ioctl() local 813 void __user *argp = compat_ptr(arg); compat_blkdev_ioctl() local [all...] |
| /linux/drivers/sbus/char/ |
| H A D | openprom.c | 130 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop() argument 138 return copyout(argp, op, sizeof(int)); in opromgetprop() 144 return copyout(argp, op, sizeof(int) + bufsize); in opromgetprop() 147 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop() argument 153 return copyout(argp, op, sizeof(int)); in opromnxtprop() 157 return copyout(argp, op, sizeof(int)); in opromnxtprop() 165 return copyout(argp, op, sizeof(int)); in opromnxtprop() 174 return copyout(argp, op, sizeof(int) + bufsize); in opromnxtprop() 185 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio… in opromnext() argument 229 return copyout(argp, op, bufsize + sizeof(int)); in opromnext() [all …]
|
| /linux/fs/ |
| H A D | ioctl.c | 252 struct file_clone_range __user *argp) in ioctl_file_clone_range() 256 if (copy_from_user(&args, argp, sizeof(args))) in ioctl_file_clone_range() 269 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp) in ioctl_preallocate() 274 if (copy_from_user(&sr, argp, sizeof(sr))) in ioctl_preallocate() 298 struct space_resv_32 __user *argp) in compat_ioctl_preallocate() 303 if (copy_from_user(&sr, argp, sizeof(sr))) in compat_ioctl_preallocate() 341 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio() 346 error = get_user(on, argp); in ioctl_fionbio() 365 int __user *argp) in ioctl_fioasync() 370 error = get_user(on, argp); in ioctl_fioasync() 251 ioctl_file_clone_range(struct file * file,struct file_clone_range __user * argp) ioctl_file_clone_range() argument 268 ioctl_preallocate(struct file * filp,int mode,void __user * argp) ioctl_preallocate() argument 297 compat_ioctl_preallocate(struct file * file,int mode,struct space_resv_32 __user * argp) compat_ioctl_preallocate() argument 340 ioctl_fionbio(struct file * filp,int __user * argp) ioctl_fionbio() argument 364 ioctl_fioasync(unsigned int fd,struct file * filp,int __user * argp) ioctl_fioasync() argument 416 ioctl_file_dedupe_range(struct file * file,struct file_dedupe_range __user * argp) ioctl_file_dedupe_range() argument 455 ioctl_getfsuuid(struct file * file,void __user * argp) ioctl_getfsuuid() argument 468 ioctl_get_fs_sysfs_path(struct file * file,void __user * argp) ioctl_get_fs_sysfs_path() argument 495 void __user *argp = (void __user *)arg; do_vfs_ioctl() local [all...] |
| /linux/fs/nilfs2/ |
| H A D | ioctl.c | 170 * @argp: userspace memory where the generation number of @inode is stored 174 static int nilfs_ioctl_getversion(struct inode *inode, void __user *argp) in nilfs_ioctl_getversion() argument 176 return put_user(inode->i_generation, (int __user *)argp); in nilfs_ioctl_getversion() 184 * @argp: pointer on argument from userspace 196 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode() argument 211 if (copy_from_user(&cpmode, argp, sizeof(cpmode))) in nilfs_ioctl_change_cpmode() 235 * @argp: pointer on argument from userspace 248 unsigned int cmd, void __user *argp) in nilfs_ioctl_delete_checkpoint() argument 263 if (copy_from_user(&cno, argp, sizeof(cno))) in nilfs_ioctl_delete_checkpoint() 310 * @argp 324 nilfs_ioctl_get_cpstat(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp) nilfs_ioctl_get_cpstat() argument 389 nilfs_ioctl_get_sustat(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp) nilfs_ioctl_get_sustat() argument 496 nilfs_ioctl_get_bdescs(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp) nilfs_ioctl_get_bdescs() argument 851 nilfs_ioctl_clean_segments(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp) nilfs_ioctl_clean_segments() argument 975 nilfs_ioctl_sync(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp) nilfs_ioctl_sync() argument 1009 nilfs_ioctl_resize(struct inode * inode,struct file * filp,void __user * argp) nilfs_ioctl_resize() argument 1044 nilfs_ioctl_trim_fs(struct inode * inode,void __user * argp) nilfs_ioctl_trim_fs() argument 1086 nilfs_ioctl_set_alloc_range(struct inode * inode,void __user * argp) nilfs_ioctl_set_alloc_range() argument 1146 nilfs_ioctl_get_info(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp,size_t membsz,ssize_t (* dofunc)(struct the_nilfs *,__u64 *,int,void *,size_t,size_t)) nilfs_ioctl_get_info() argument 1193 nilfs_ioctl_set_suinfo(struct inode * inode,struct file * filp,unsigned int cmd,void __user * argp) nilfs_ioctl_set_suinfo() argument 1256 nilfs_ioctl_get_fslabel(struct super_block * sb,void __user * argp) nilfs_ioctl_get_fslabel() argument 1287 nilfs_ioctl_set_fslabel(struct super_block * sb,struct file * filp,void __user * argp) nilfs_ioctl_set_fslabel() argument 1338 void __user *argp = (void __user *)arg; nilfs_ioctl() local [all...] |
| /linux/drivers/s390/block/ |
| H A D | dasd_ioctl.c | 28 dasd_ioctl_api_version(void __user *argp) in dasd_ioctl_api_version() argument 31 return put_user(ver, (int __user *)argp); in dasd_ioctl_api_version() 250 dasd_ioctl_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_format() argument 258 if (!argp) in dasd_ioctl_format() 268 if (copy_from_user(&fdata, argp, sizeof(struct format_data_t))) { in dasd_ioctl_format() 287 static int dasd_ioctl_check_format(struct block_device *bdev, void __user *argp) in dasd_ioctl_check_format() argument 293 if (!argp) in dasd_ioctl_check_format() 308 if (copy_from_user(&cdata.expect, argp, sizeof(cdata.expect))) { in dasd_ioctl_check_format() 317 if (copy_to_user(argp, &cdata, sizeof(cdata))) in dasd_ioctl_check_format() 340 static int dasd_ioctl_release_space(struct block_device *bdev, void __user *argp) in dasd_ioctl_release_space() 338 dasd_ioctl_release_space(struct block_device * bdev,void __user * argp) dasd_ioctl_release_space() argument 381 dasd_ioctl_copy_pair_swap(struct block_device * bdev,void __user * argp) dasd_ioctl_copy_pair_swap() argument 440 dasd_ioctl_read_profile(struct dasd_block * block,void __user * argp) dasd_ioctl_read_profile() argument 489 dasd_ioctl_read_profile(struct dasd_block * block,void __user * argp) dasd_ioctl_read_profile() argument 557 dasd_ioctl_information(struct dasd_block * block,void __user * argp,size_t copy_size) dasd_ioctl_information() argument 598 dasd_ioctl_readall_cmb(struct dasd_block * block,unsigned int cmd,struct cmbdata __user * argp) dasd_ioctl_readall_cmb() argument 615 void __user *argp; dasd_ioctl() local [all...] |
| /linux/drivers/misc/ |
| H A D | ntsync.c | 408 static int ntsync_sem_release(struct ntsync_obj *sem, void __user *argp) in ntsync_sem_release() argument 411 __u32 __user *user_args = argp; in ntsync_sem_release() 417 if (copy_from_user(&args, argp, sizeof(args))) in ntsync_sem_release() 457 static int ntsync_mutex_unlock(struct ntsync_obj *mutex, void __user *argp) in ntsync_mutex_unlock() argument 459 struct ntsync_mutex_args __user *user_args = argp; in ntsync_mutex_unlock() 466 if (copy_from_user(&args, argp, sizeof(args))) in ntsync_mutex_unlock() 509 static int ntsync_mutex_kill(struct ntsync_obj *mutex, void __user *argp) in ntsync_mutex_kill() argument 516 if (get_user(owner, (__u32 __user *)argp)) in ntsync_mutex_kill() 538 static int ntsync_event_set(struct ntsync_obj *event, void __user *argp, bool pulse) in ntsync_event_set() argument 559 if (put_user(prev_state, (__u32 __user *)argp)) in ntsync_event_set() [all …]
|
| /linux/kernel/liveupdate/ |
| H A D | luo_session.c | 267 struct liveupdate_session_preserve_fd *argp = ucmd->cmd; in luo_session_preserve_fd() 271 err = luo_preserve_file(&session->file_set, argp->token, argp->fd); in luo_session_preserve_fd() 275 err = luo_ucmd_respond(ucmd, sizeof(*argp)); in luo_session_preserve_fd() 285 struct liveupdate_session_retrieve_fd *argp = ucmd->cmd; in luo_session_retrieve_fd() 289 argp->fd = get_unused_fd_flags(O_CLOEXEC); in luo_session_retrieve_fd() 290 if (argp->fd < 0) in luo_session_retrieve_fd() 291 return argp->fd; in luo_session_retrieve_fd() 294 err = luo_retrieve_file(&session->file_set, argp->token, &file); in luo_session_retrieve_fd() 299 err = luo_ucmd_respond(ucmd, sizeof(*argp)); in luo_session_retrieve_fd() 266 struct liveupdate_session_preserve_fd *argp = ucmd->cmd; luo_session_preserve_fd() local 284 struct liveupdate_session_retrieve_fd *argp = ucmd->cmd; luo_session_retrieve_fd() local 317 struct liveupdate_session_finish *argp = ucmd->cmd; luo_session_finish() local 333 struct liveupdate_session_get_name *argp = ucmd->cmd; luo_session_get_name() local [all...] |
| /linux/drivers/platform/x86/intel/speed_select_if/ |
| H A D | isst_tpmi_core.c | 612 static long isst_if_core_power_state(void __user *argp) in isst_if_core_power_state() argument 617 if (copy_from_user(&core_power, argp, sizeof(core_power))) in isst_if_core_power_state() 648 if (copy_to_user(argp, &core_power, sizeof(core_power))) in isst_if_core_power_state() 671 static long isst_if_clos_param(void __user *argp) in isst_if_clos_param() argument 676 if (copy_from_user(&clos_param, argp, sizeof(clos_param))) in isst_if_clos_param() 726 if (copy_to_user(argp, &clos_param, sizeof(clos_param))) in isst_if_clos_param() 739 static long isst_if_clos_assoc(void __user *argp) in isst_if_clos_assoc() argument 746 if (copy_from_user(&assoc_cmds, argp, sizeof(assoc_cmds))) in isst_if_clos_assoc() 752 ptr = argp + offsetof(struct isst_if_clos_assoc_cmds, assoc_info); in isst_if_clos_assoc() 897 static int isst_if_get_perf_level(void __user *argp) in isst_if_get_perf_level() argument 961 isst_if_set_perf_level(void __user * argp) isst_if_set_perf_level() argument 1025 isst_if_set_perf_feature(void __user * argp) isst_if_set_perf_feature() argument 1138 isst_if_get_perf_level_info(void __user * argp) isst_if_get_perf_level_info() argument 1237 isst_if_get_perf_level_fabric_info(void __user * argp) isst_if_get_perf_level_fabric_info() argument 1299 isst_if_get_perf_level_mask(void __user * argp) isst_if_get_perf_level_mask() argument 1348 isst_if_get_base_freq_info(void __user * argp) isst_if_get_base_freq_info() argument 1389 isst_if_get_base_freq_mask(void __user * argp) isst_if_get_base_freq_mask() argument 1423 isst_if_get_tpmi_instance_count(void __user * argp) isst_if_get_tpmi_instance_count() argument 1488 isst_if_get_turbo_freq_info(void __user * argp) isst_if_get_turbo_freq_info() argument 1569 void __user *argp = (void __user *)arg; isst_if_def_ioctl() local [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | bench.c | 4 #include <argp.h> 276 extern struct argp bench_ringbufs_argp; 277 extern struct argp bench_bloom_map_argp; 278 extern struct argp bench_bpf_loop_argp; 279 extern struct argp bench_bpf_for_argp; 280 extern struct argp bench_local_storage_argp; 281 extern struct argp bench_local_storage_rcu_tasks_trace_argp; 282 extern struct argp bench_strncmp_argp; 283 extern struct argp bench_hashmap_lookup_argp; 284 extern struct argp bench_local_storage_create_arg 393 static const struct argp argp = { parse_cmdline_args_init() local 406 const struct argp argp = { parse_cmdline_args_final() local [all...] |
| /linux/sound/core/ |
| H A D | pcm_compat.c | 560 void __user *argp = compat_ptr(arg); in snd_pcm_ioctl_compat() 595 return snd_pcm_common_ioctl(file, substream, cmd, argp); in snd_pcm_ioctl_compat() 599 return snd_pcm_ioctl_sync_ptr_x32(substream, argp); in snd_pcm_ioctl_compat() 601 return snd_pcm_ioctl_sync_ptr_buggy(substream, argp); in snd_pcm_ioctl_compat() 603 return snd_pcm_ioctl_hw_params_compat(substream, 1, argp); in snd_pcm_ioctl_compat() 605 return snd_pcm_ioctl_hw_params_compat(substream, 0, argp); in snd_pcm_ioctl_compat() 607 return snd_pcm_ioctl_sw_params_compat(substream, argp); in snd_pcm_ioctl_compat() 609 return snd_pcm_status_user32(substream, argp, false); in snd_pcm_ioctl_compat() 611 return snd_pcm_status_user32(substream, argp, true); in snd_pcm_ioctl_compat() 613 return snd_pcm_ioctl_channel_info_compat(substream, argp); in snd_pcm_ioctl_compat() 555 void __user *argp = compat_ptr(arg); snd_pcm_ioctl_compat() local [all...] |
| H A D | timer_compat.c | 83 void __user *argp = compat_ptr(arg); in __snd_timer_user_ioctl_compat() 103 return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp, true); in __snd_timer_user_ioctl_compat() 105 return snd_timer_user_gparams_compat(file, argp); in __snd_timer_user_ioctl_compat() 107 return snd_timer_user_info_compat(file, argp); in __snd_timer_user_ioctl_compat() 109 return snd_timer_user_status32(file, argp); in __snd_timer_user_ioctl_compat() 111 return snd_timer_user_status64(file, argp); in __snd_timer_user_ioctl_compat() 82 void __user *argp = compat_ptr(arg); __snd_timer_user_ioctl_compat() local
|
| /linux/tools/include/linux/ |
| H A D | panic.h | 11 va_list argp; in panic() local 13 va_start(argp, fmt); in panic() 14 vfprintf(stderr, fmt, argp); in panic() 15 va_end(argp); in panic()
|
| /linux/drivers/nvme/host/ |
| H A D | ioctl.c | 586 void __user *argp, bool open_for_write) in nvme_ctrl_ioctl() 590 return nvme_user_cmd(ctrl, NULL, argp, 0, open_for_write); in nvme_ctrl_ioctl() 592 return nvme_user_cmd64(ctrl, NULL, argp, 0, open_for_write); in nvme_ctrl_ioctl() 594 return sed_ioctl(ctrl->opal_dev, cmd, argp); in nvme_ctrl_ioctl() 617 void __user *argp, unsigned int flags, bool open_for_write) in nvme_ns_ioctl() 624 return nvme_user_cmd(ns->ctrl, ns, argp, flags, open_for_write); in nvme_ns_ioctl() 634 return nvme_submit_io(ns, argp, flags, open_for_write); in nvme_ns_ioctl() 639 return nvme_user_cmd64(ns->ctrl, ns, argp, flags, in nvme_ns_ioctl() 651 void __user *argp = (void __user *)arg; in nvme_ioctl() 658 return nvme_ctrl_ioctl(ns->ctrl, cmd, argp, open_for_writ in nvme_ioctl() 587 nvme_ctrl_ioctl(struct nvme_ctrl * ctrl,unsigned int cmd,void __user * argp,bool open_for_write) nvme_ctrl_ioctl() argument 618 nvme_ns_ioctl(struct nvme_ns * ns,unsigned int cmd,void __user * argp,unsigned int flags,bool open_for_write) nvme_ns_ioctl() argument 652 void __user *argp = (void __user *)arg; nvme_ioctl() local 668 void __user *argp = (void __user *)arg; nvme_ns_chr_ioctl() local 730 nvme_ns_head_ctrl_ioctl(struct nvme_ns * ns,unsigned int cmd,void __user * argp,struct nvme_ns_head * head,int srcu_idx,bool open_for_write) nvme_ns_head_ctrl_ioctl() argument 750 void __user *argp = (void __user *)arg; nvme_ns_head_ioctl() local 785 void __user *argp = (void __user *)arg; nvme_ns_head_chr_ioctl() local 843 nvme_dev_user_cmd(struct nvme_ctrl * ctrl,void __user * argp,bool open_for_write) nvme_dev_user_cmd() argument 885 void __user *argp = (void __user *)arg; nvme_dev_ioctl() local [all...] |
| /linux/sound/core/seq/ |
| H A D | seq_compat.c | 84 void __user *argp = compat_ptr(arg); in snd_seq_ioctl_compat() 121 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, argp); in snd_seq_ioctl_compat() 123 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_DELETE_PORT, argp); in snd_seq_ioctl_compat() 125 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_GET_PORT_INFO, argp); in snd_seq_ioctl_compat() 127 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_SET_PORT_INFO, argp); 129 return snd_seq_call_port_info_ioctl(client, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, argp); 77 void __user *argp = compat_ptr(arg); snd_seq_ioctl_compat() local
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_ioc32.c | 180 drm_client32_t __user *argp = (void __user *)arg; in compat_drm_getclient() local 184 if (copy_from_user(&c32, argp, sizeof(c32))) in compat_drm_getclient() 202 if (copy_to_user(argp, &c32, sizeof(c32))) in compat_drm_getclient() 218 drm_stats32_t __user *argp = (void __user *)arg; in compat_drm_getstats() local 221 if (clear_user(argp, sizeof(drm_stats32_t))) in compat_drm_getstats() 264 drm_wait_vblank32_t __user *argp = (void __user *)arg; in compat_drm_wait_vblank() local 269 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_wait_vblank() 283 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_wait_vblank() 305 struct drm_mode_fb_cmd232 __user *argp = (void __user *)arg; in compat_drm_mode_addfb2() local 311 if (copy_from_user(&req64, argp, in compat_drm_mode_addfb2() [all …]
|
| /linux/drivers/input/ |
| H A D | joydev.c | 445 void __user *argp, size_t len) in joydev_handle_JSIOCSAXMAP() argument 454 abspam = memdup_user(argp, len); in joydev_handle_JSIOCSAXMAP() 476 void __user *argp, size_t len) in joydev_handle_JSIOCSBTNMAP() argument 488 keypam = memdup_user(argp, len); in joydev_handle_JSIOCSBTNMAP() 511 unsigned int cmd, void __user *argp) in joydev_ioctl_common() argument 522 return copy_from_user(&joydev->glue.JS_CORR, argp, in joydev_ioctl_common() 526 return copy_to_user(argp, &joydev->glue.JS_CORR, in joydev_ioctl_common() 530 return get_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common() 533 return put_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common() 536 return put_user(JS_VERSION, (__u32 __user *) argp); in joydev_ioctl_common() [all …]
|