/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs3proc.c | 44 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr() local 48 SVCFH_fmt(&argp->fh)); in nfsd3_proc_getattr() 50 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr() 67 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr() local 71 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr() 73 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr() 74 resp->status = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr() 75 argp->check_guard, argp->guardtime); in nfsd3_proc_setattr() 85 struct nfsd3_diropargs *argp in nfsd3_proc_lookup() local 108 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsd3_proc_access() local 127 struct nfsd3_readlinkargs *argp = rqstp->rq_argp; nfsd3_proc_readlink() local 145 struct nfsd3_readargs *argp = rqstp->rq_argp; nfsd3_proc_read() local 175 struct nfsd3_writeargs *argp = rqstp->rq_argp; nfsd3_proc_write() local 215 struct nfsd3_createargs *argp = rqstp->rq_argp; nfsd3_proc_create() local 251 struct nfsd3_createargs *argp = rqstp->rq_argp; nfsd3_proc_mkdir() local 271 struct nfsd3_symlinkargs *argp = rqstp->rq_argp; nfsd3_proc_symlink() local 311 struct nfsd3_mknodargs *argp = rqstp->rq_argp; nfsd3_proc_mknod() local 350 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_remove() local 372 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_rmdir() local 390 struct nfsd3_renameargs *argp = rqstp->rq_argp; nfsd3_proc_rename() local 412 struct nfsd3_linkargs *argp = rqstp->rq_argp; nfsd3_proc_link() local 435 struct nfsd3_readdirargs *argp = rqstp->rq_argp; nfsd3_proc_readdir() local 495 struct nfsd3_readdirargs *argp = rqstp->rq_argp; nfsd3_proc_readdirplus() local 564 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_fsstat() local 581 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_fsinfo() local 624 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_pathconf() local 666 struct nfsd3_commitargs *argp = rqstp->rq_argp; nfsd3_proc_commit() local [all...] |
H A D | nfsproc.c | 29 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr() local 32 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_getattr() 34 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr() 51 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr() local 53 struct iattr *iap = &argp->attrs; in nfsd_proc_setattr() 57 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr() 58 argp->attrs.ia_valid, (long) argp->attrs.ia_size); in nfsd_proc_setattr() 60 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr() 128 struct nfsd_diropargs *argp in nfsd_proc_lookup() local 152 struct nfsd_readlinkargs *argp = rqstp->rq_argp; nfsd_proc_readlink() local 172 struct nfsd_readargs *argp = rqstp->rq_argp; nfsd_proc_read() local 221 struct nfsd_writeargs *argp = rqstp->rq_argp; nfsd_proc_write() local 257 struct nfsd_createargs *argp = rqstp->rq_argp; nfsd_proc_create() local 418 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_remove() local 434 struct nfsd_renameargs *argp = rqstp->rq_argp; nfsd_proc_rename() local 452 struct nfsd_linkargs *argp = rqstp->rq_argp; nfsd_proc_link() local 472 struct nfsd_symlinkargs *argp = rqstp->rq_argp; nfsd_proc_symlink() local 511 struct nfsd_createargs *argp = rqstp->rq_argp; nfsd_proc_mkdir() local 540 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_rmdir() local 557 struct nfsd_readdirargs *argp = rqstp->rq_argp; nfsd_proc_readdir() local 597 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd_proc_statfs() local [all...] |
H A D | nfs2acl.c | 32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getacl() local 38 dprintk("nfsd: GETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getacl() 40 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl() 47 if (argp->mask & ~NFS_ACL_MASK) { in nfsacld_proc_getacl() 51 resp->mask = argp->mask; in nfsacld_proc_getacl() 95 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_setacl() local 101 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_setacl() 103 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl() 116 error = set_posix_acl(inode, ACL_TYPE_ACCESS, argp->acl_access); in nfsacld_proc_setacl() 119 error = set_posix_acl(inode, ACL_TYPE_DEFAULT, argp in nfsacld_proc_setacl() 149 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsacld_proc_getattr() local 168 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsacld_proc_access() local 195 struct nfsd3_getaclargs *argp = rqstp->rq_argp; nfsaclsvc_decode_getaclargs() local 208 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfsaclsvc_decode_setaclargs() local 234 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsaclsvc_decode_fhandleargs() local 244 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsaclsvc_decode_accessargs() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs3proc.c | 46 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr() local 50 SVCFH_fmt(&argp->fh)); in nfsd3_proc_getattr() 52 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr() 69 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr() local 72 .na_iattr = &argp->attrs, in nfsd3_proc_setattr() 76 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr() 78 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr() 80 argp->check_guard, argp->guardtime); in nfsd3_proc_setattr() 90 struct nfsd3_diropargs *argp in nfsd3_proc_lookup() local 113 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsd3_proc_access() local 132 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_readlink() local 152 struct nfsd3_readargs *argp = rqstp->rq_argp; nfsd3_proc_read() local 188 struct nfsd3_writeargs *argp = rqstp->rq_argp; nfsd3_proc_write() local 223 nfsd3_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct svc_fh *resfhp, struct nfsd3_createargs *argp) nfsd3_create_file() argument 346 struct nfsd3_createargs *argp = rqstp->rq_argp; nfsd3_proc_create() local 368 struct nfsd3_createargs *argp = rqstp->rq_argp; nfsd3_proc_mkdir() local 390 struct nfsd3_symlinkargs *argp = rqstp->rq_argp; nfsd3_proc_symlink() local 433 struct nfsd3_mknodargs *argp = rqstp->rq_argp; nfsd3_proc_mknod() local 474 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_remove() local 495 struct nfsd3_diropargs *argp = rqstp->rq_argp; nfsd3_proc_rmdir() local 512 struct nfsd3_renameargs *argp = rqstp->rq_argp; nfsd3_proc_rename() local 534 struct nfsd3_linkargs *argp = rqstp->rq_argp; nfsd3_proc_link() local 577 struct nfsd3_readdirargs *argp = rqstp->rq_argp; nfsd3_proc_readdir() local 610 struct nfsd3_readdirargs *argp = rqstp->rq_argp; nfsd3_proc_readdirplus() local 653 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_fsstat() local 670 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_fsinfo() local 713 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd3_proc_pathconf() local 755 struct nfsd3_commitargs *argp = rqstp->rq_argp; nfsd3_proc_commit() local [all...] |
H A D | nfsproc.c | 29 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd_proc_getattr() local 32 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_getattr() 34 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr() 51 struct nfsd_sattrargs *argp = rqstp->rq_argp; in nfsd_proc_setattr() local 53 struct iattr *iap = &argp->attrs; in nfsd_proc_setattr() 60 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr() 61 argp->attrs.ia_valid, (long) argp->attrs.ia_size); in nfsd_proc_setattr() 63 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr() 131 struct nfsd_diropargs *argp in nfsd_proc_lookup() local 155 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd_proc_readlink() local 177 struct nfsd_readargs *argp = rqstp->rq_argp; nfsd_proc_read() local 220 struct nfsd_writeargs *argp = rqstp->rq_argp; nfsd_proc_write() local 250 struct nfsd_createargs *argp = rqstp->rq_argp; nfsd_proc_create() local 412 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_remove() local 428 struct nfsd_renameargs *argp = rqstp->rq_argp; nfsd_proc_rename() local 446 struct nfsd_linkargs *argp = rqstp->rq_argp; nfsd_proc_link() local 466 struct nfsd_symlinkargs *argp = rqstp->rq_argp; nfsd_proc_symlink() local 508 struct nfsd_createargs *argp = rqstp->rq_argp; nfsd_proc_mkdir() local 540 struct nfsd_diropargs *argp = rqstp->rq_argp; nfsd_proc_rmdir() local 575 struct nfsd_readdirargs *argp = rqstp->rq_argp; nfsd_proc_readdir() local 602 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsd_proc_statfs() local [all...] |
H A D | nfs4xdr.c | 114 * @argp: NFSv4 compound argument structure 118 * operation described in @argp finishes. 121 svcxdr_tmpalloc(struct nfsd4_compoundargs *argp, u32 len) in svcxdr_tmpalloc() argument 128 tb->next = argp->to_free; in svcxdr_tmpalloc() 129 argp->to_free = tb; in svcxdr_tmpalloc() 141 svcxdr_dupstr(struct nfsd4_compoundargs *argp, void *buf, u32 len) in svcxdr_dupstr() argument 143 char *p = svcxdr_tmpalloc(argp, len + 1); in svcxdr_dupstr() 153 svcxdr_savemem(struct nfsd4_compoundargs *argp, __be32 *p, u32 len) in svcxdr_savemem() argument 161 if (p != argp->xdr->scratch.iov_base) in svcxdr_savemem() 164 tmp = svcxdr_tmpalloc(argp, le in svcxdr_savemem() 180 nfsd4_decode_ignored_string(struct nfsd4_compoundargs *argp, u32 maxlen) nfsd4_decode_ignored_string() argument 195 nfsd4_decode_opaque(struct nfsd4_compoundargs *argp, struct xdr_netobj *o) nfsd4_decode_opaque() argument 216 nfsd4_decode_component4(struct nfsd4_compoundargs *argp, char **namp, u32 *lenp) nfsd4_decode_component4() argument 236 nfsd4_decode_nfstime4(struct nfsd4_compoundargs *argp, struct timespec64 *tv) nfsd4_decode_nfstime4() argument 251 nfsd4_decode_verifier4(struct nfsd4_compoundargs *argp, nfs4_verifier *verf) nfsd4_decode_verifier4() argument 280 nfsd4_decode_bitmap4(struct nfsd4_compoundargs *argp, u32 *bmval, u32 bmlen) nfsd4_decode_bitmap4() argument 289 nfsd4_decode_nfsace4(struct nfsd4_compoundargs *argp, struct nfs4_ace *ace) nfsd4_decode_nfsace4() argument 321 nfsd4_decode_acl(struct nfsd4_compoundargs *argp, struct nfs4_acl **acl) nfsd4_decode_acl() argument 353 nfsd4_decode_security_label(struct nfsd4_compoundargs *argp, struct xdr_netobj *label) nfsd4_decode_security_label() argument 380 nfsd4_decode_fattr4(struct nfsd4_compoundargs *argp, u32 *bmval, u32 bmlen, struct iattr *iattr, struct nfs4_acl **acl, struct xdr_netobj *label, int *umask) nfsd4_decode_fattr4() argument 532 nfsd4_decode_stateid4(struct nfsd4_compoundargs *argp, stateid_t *sid) nfsd4_decode_stateid4() argument 545 nfsd4_decode_clientid4(struct nfsd4_compoundargs *argp, clientid_t *clientid) nfsd4_decode_clientid4() argument 557 nfsd4_decode_state_owner4(struct nfsd4_compoundargs *argp, clientid_t *clientid, struct xdr_netobj *owner) nfsd4_decode_state_owner4() argument 570 nfsd4_decode_deviceid4(struct nfsd4_compoundargs *argp, struct nfsd4_deviceid *devid) nfsd4_decode_deviceid4() argument 583 nfsd4_decode_layoutupdate4(struct nfsd4_compoundargs *argp, struct nfsd4_layoutcommit *lcp) nfsd4_decode_layoutupdate4() argument 605 nfsd4_decode_layoutreturn4(struct nfsd4_compoundargs *argp, struct nfsd4_layoutreturn *lrp) nfsd4_decode_layoutreturn4() argument 644 nfsd4_decode_sessionid4(struct nfsd4_compoundargs *argp, struct nfs4_sessionid *sessionid) nfsd4_decode_sessionid4() argument 658 nfsd4_decode_authsys_parms(struct nfsd4_compoundargs *argp, struct nfsd4_cb_sec *cbs) nfsd4_decode_authsys_parms() argument 699 nfsd4_decode_gss_cb_handles4(struct nfsd4_compoundargs *argp, struct nfsd4_cb_sec *cbs) nfsd4_decode_gss_cb_handles4() argument 725 nfsd4_decode_cb_sec(struct nfsd4_compoundargs *argp, struct nfsd4_cb_sec *cbs) nfsd4_decode_cb_sec() argument 772 nfsd4_decode_access(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_access() argument 782 nfsd4_decode_close(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_close() argument 792 nfsd4_decode_commit(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_commit() argument 804 nfsd4_decode_create(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_create() argument 851 nfsd4_decode_delegreturn(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_delegreturn() argument 858 nfsd4_decode_getattr(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_getattr() argument 867 nfsd4_decode_link(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_link() argument 875 nfsd4_decode_open_to_lock_owner4(struct nfsd4_compoundargs *argp, struct nfsd4_lock *lock) nfsd4_decode_open_to_lock_owner4() argument 892 nfsd4_decode_exist_lock_owner4(struct nfsd4_compoundargs *argp, struct nfsd4_lock *lock) nfsd4_decode_exist_lock_owner4() argument 907 nfsd4_decode_locker4(struct nfsd4_compoundargs *argp, struct nfsd4_lock *lock) nfsd4_decode_locker4() argument 917 nfsd4_decode_lock(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_lock() argument 935 nfsd4_decode_lockt(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_lockt() argument 952 nfsd4_decode_locku(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_locku() argument 975 nfsd4_decode_lookup(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_lookup() argument 982 nfsd4_decode_createhow4(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) nfsd4_decode_createhow4() argument 1024 nfsd4_decode_openflag4(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) nfsd4_decode_openflag4() argument 1045 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *share_access, u32 *deleg_want, u32 *deleg_when) nfsd4_decode_share_access() argument 1096 nfsd4_decode_share_deny(struct nfsd4_compoundargs *argp, u32 *x) nfsd4_decode_share_deny() argument 1108 nfsd4_decode_open_claim4(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) nfsd4_decode_open_claim4() argument 1157 nfsd4_decode_open(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_open() argument 1186 nfsd4_decode_open_confirm(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_open_confirm() argument 1207 nfsd4_decode_open_downgrade(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_open_downgrade() argument 1228 nfsd4_decode_putfh(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_putfh() argument 1249 nfsd4_decode_putpubfh(struct nfsd4_compoundargs *argp, union nfsd4_op_u *p) nfsd4_decode_putpubfh() argument 1257 nfsd4_decode_read(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_read() argument 1275 nfsd4_decode_readdir(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_readdir() argument 1298 nfsd4_decode_remove(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_remove() argument 1306 nfsd4_decode_rename(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_rename() argument 1319 nfsd4_decode_renew(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_renew() argument 1326 nfsd4_decode_secinfo(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_secinfo() argument 1335 nfsd4_decode_setattr(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_setattr() argument 1351 nfsd4_decode_setclientid(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_setclientid() argument 1395 nfsd4_decode_setclientid_confirm(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_setclientid_confirm() argument 1412 nfsd4_decode_verify(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_verify() argument 1440 nfsd4_decode_write(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_write() argument 1466 nfsd4_decode_release_lockowner(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_release_lockowner() argument 1486 nfsd4_decode_backchannel_ctl(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_backchannel_ctl() argument 1496 nfsd4_decode_bind_conn_to_session(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_bind_conn_to_session() argument 1516 nfsd4_decode_state_protect_ops(struct nfsd4_compoundargs *argp, struct nfsd4_exchange_id *exid) nfsd4_decode_state_protect_ops() argument 1538 nfsd4_decode_ssv_sp_parms(struct nfsd4_compoundargs *argp, struct nfsd4_exchange_id *exid) nfsd4_decode_ssv_sp_parms() argument 1576 nfsd4_decode_state_protect4_a(struct nfsd4_compoundargs *argp, struct nfsd4_exchange_id *exid) nfsd4_decode_state_protect4_a() argument 1604 nfsd4_decode_nfs_impl_id4(struct nfsd4_compoundargs *argp, struct nfsd4_exchange_id *exid) nfsd4_decode_nfs_impl_id4() argument 1640 nfsd4_decode_exchange_id(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_exchange_id() argument 1662 nfsd4_decode_channel_attrs4(struct nfsd4_compoundargs *argp, struct nfsd4_channel_attrs *ca) nfsd4_decode_channel_attrs4() argument 1694 nfsd4_decode_create_session(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_create_session() argument 1720 nfsd4_decode_destroy_session(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_destroy_session() argument 1728 nfsd4_decode_free_stateid(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_free_stateid() argument 1737 nfsd4_decode_getdeviceinfo(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_getdeviceinfo() argument 1759 nfsd4_decode_layoutcommit(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_layoutcommit() argument 1796 nfsd4_decode_layoutget(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_layoutget() argument 1825 nfsd4_decode_layoutreturn(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_layoutreturn() argument 1840 nfsd4_decode_secinfo_no_name(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_secinfo_no_name() argument 1852 nfsd4_decode_sequence(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_sequence() argument 1874 nfsd4_decode_test_stateid(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_test_stateid() argument 1901 nfsd4_decode_destroy_clientid(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_destroy_clientid() argument 1908 nfsd4_decode_reclaim_complete(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_reclaim_complete() argument 1918 nfsd4_decode_fallocate(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_fallocate() argument 1935 nfsd4_decode_nl4_server(struct nfsd4_compoundargs *argp, struct nl4_server *ns) nfsd4_decode_nl4_server() argument 1977 nfsd4_decode_copy(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_copy() argument 2035 nfsd4_decode_copy_notify(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_copy_notify() argument 2056 nfsd4_decode_offload_status(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_offload_status() argument 2066 nfsd4_decode_seek(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_seek() argument 2085 nfsd4_decode_clone(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_clone() argument 2119 nfsd4_vbuf_from_vector(struct nfsd4_compoundargs *argp, struct xdr_buf *xdr, char **bufp, u32 buflen) nfsd4_vbuf_from_vector() argument 2164 nfsd4_decode_xattr_name(struct nfsd4_compoundargs *argp, char **namep) nfsd4_decode_xattr_name() argument 2211 nfsd4_decode_getxattr(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_getxattr() argument 2231 nfsd4_decode_setxattr(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_setxattr() argument 2273 nfsd4_decode_listxattrs(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_listxattrs() argument 2305 nfsd4_decode_removexattr(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u) nfsd4_decode_removexattr() argument 2314 nfsd4_decode_noop(struct nfsd4_compoundargs *argp, union nfsd4_op_u *p) nfsd4_decode_noop() argument 2320 nfsd4_decode_notsupp(struct nfsd4_compoundargs *argp, union nfsd4_op_u *p) nfsd4_decode_notsupp() argument 2417 nfsd4_opnum_in_range(struct nfsd4_compoundargs *argp, struct nfsd4_op *op) nfsd4_opnum_in_range() argument 2431 nfsd4_decode_compound(struct nfsd4_compoundargs *argp) nfsd4_decode_compound() argument [all...] |
H A D | nfs2acl.c | 32 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsacld_proc_getacl() local 38 dprintk("nfsd: GETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getacl() 40 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl() 47 if (argp->mask & ~NFS_ACL_MASK) { in nfsacld_proc_getacl() 51 resp->mask = argp->mask; in nfsacld_proc_getacl() 95 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsacld_proc_setacl() local 101 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_setacl() 103 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl() 117 argp->acl_access); in nfsacld_proc_setacl() 121 argp in nfsacld_proc_setacl() 151 struct nfsd_fhandle *argp = rqstp->rq_argp; nfsacld_proc_getattr() local 170 struct nfsd3_accessargs *argp = rqstp->rq_argp; nfsacld_proc_access() local 194 struct nfsd3_getaclargs *argp = rqstp->rq_argp; nfsaclsvc_decode_getaclargs() local 207 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfsaclsvc_decode_setaclargs() local [all...] |
H A D | nfs3acl.c | 30 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsd3_proc_getacl() local 36 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl() 43 if (argp->mask & ~NFS_ACL_MASK) { in nfsd3_proc_getacl() 47 resp->mask = argp->mask; in nfsd3_proc_getacl() 87 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsd3_proc_setacl() local 93 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setacl() 107 argp->acl_access); in nfsd3_proc_setacl() 111 argp->acl_default); in nfsd3_proc_setacl() 119 /* argp->acl_{access,default} may have been allocated in in nfsd3_proc_setacl() 121 posix_acl_release(argp in nfsd3_proc_setacl() 146 struct nfsd3_setaclargs *argp = rqstp->rq_argp; nfs3svc_decode_setaclargs() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/ |
H A D | tde_ioctl.c | 48 typedef hi_s32 (*tde_ctrl_ptr_func)(unsigned long argp, hi_void *private_data); 54 hi_s32 tde_osr_begin_job(unsigned long argp, hi_void *private_data); 55 static hi_s32 tde_osr_blit_blit(unsigned long argp, hi_void *private_data); 56 static hi_s32 tde_osr_solid_draw(unsigned long argp, hi_void *private_data); 57 static hi_s32 tde_osr_quick_copy(unsigned long argp, hi_void *private_data); 58 static hi_s32 tde_osr_quick_resize(unsigned long argp, hi_void *private_data); 59 static hi_s32 tde_osr_quick_fill(unsigned long argp, hi_void *private_data); 60 static hi_s32 tde_osr_quick_deflicker(unsigned long argp, hi_void *private_data); 61 static hi_s32 tde_osr_mb_blit_blit(unsigned long argp, hi_void *private_data); 62 static hi_s32 tde_osr_end_job(unsigned long argp, hi_voi 431 tde_osr_begin_job(unsigned long argp, hi_void *private_data) tde_osr_begin_job() argument 448 tde_osr_blit_blit(unsigned long argp, hi_void *private_data) tde_osr_blit_blit() argument 480 tde_osr_solid_draw(unsigned long argp, hi_void *private_data) tde_osr_solid_draw() argument 509 tde_osr_quick_copy(unsigned long argp, hi_void *private_data) tde_osr_quick_copy() argument 531 tde_osr_quick_resize(unsigned long argp, hi_void *private_data) tde_osr_quick_resize() argument 548 tde_osr_quick_fill(unsigned long argp, hi_void *private_data) tde_osr_quick_fill() argument 564 tde_osr_quick_deflicker(unsigned long argp, hi_void *private_data) tde_osr_quick_deflicker() argument 588 tde_osr_mb_blit_blit(unsigned long argp, hi_void *private_data) tde_osr_mb_blit_blit() argument 606 tde_osr_end_job(unsigned long argp, hi_void *private_data) tde_osr_end_job() argument 618 tde_osr_wait_for_done(unsigned long argp, hi_void *private_data) tde_osr_wait_for_done() argument 630 tde_osr_cancel_job(unsigned long argp, hi_void *private_data) tde_osr_cancel_job() argument 642 tde_osr_bit_map_mask_rop(unsigned long argp, hi_void *private_data) tde_osr_bit_map_mask_rop() argument 680 tde_osr_bit_map_mask_blend(unsigned long argp, hi_void *private_data) tde_osr_bit_map_mask_blend() argument 718 tde_osr_wait_all_done(unsigned long argp, hi_void *private_data) tde_osr_wait_all_done() argument 725 tde_osr_reset(unsigned long argp, hi_void *private_data) tde_osr_reset() argument 732 tde_osr_set_deflicker_level(unsigned long argp, hi_void *private_data) tde_osr_set_deflicker_level() argument 750 tde_osr_get_deflicker_level(unsigned long argp, hi_void *private_data) tde_osr_get_deflicker_level() argument 768 tde_osr_set_alpha_threshold_value(unsigned long argp, hi_void *private_data) tde_osr_set_alpha_threshold_value() argument 780 tde_osr_get_alpha_threshold_value(unsigned long argp, hi_void *private_data) tde_osr_get_alpha_threshold_value() argument 796 tde_osr_set_alpha_threshold_state(unsigned long argp, hi_void *private_data) tde_osr_set_alpha_threshold_state() argument 808 tde_osr_get_alpha_threshold_state(unsigned long argp, hi_void *private_data) tde_osr_get_alpha_threshold_state() argument 822 tde_osr_pattern_fill(unsigned long argp, hi_void *private_data) tde_osr_pattern_fill() argument 858 tde_osr_enable_region_deflicker(unsigned long argp, hi_void *private_data) tde_osr_enable_region_deflicker() argument 870 tde_osr_rotate(unsigned long argp, hi_void *private_data) tde_osr_rotate() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | ioctl.c | 127 void __user *argp) in blk_ioctl_secure_erase() 137 if (copy_from_user(range, argp, sizeof(range))) in blk_ioctl_secure_erase() 198 static int put_ushort(unsigned short __user *argp, unsigned short val) in put_ushort() argument 200 return put_user(val, argp); in put_ushort() 203 static int put_int(int __user *argp, int val) in put_int() argument 205 return put_user(val, argp); in put_int() 208 static int put_uint(unsigned int __user *argp, unsigned int val) in put_uint() argument 210 return put_user(val, argp); in put_uint() 213 static int put_long(long __user *argp, long val) in put_long() argument 215 return put_user(val, argp); in put_long() 126 blk_ioctl_secure_erase(struct block_device *bdev, blk_mode_t mode, void __user *argp) blk_ioctl_secure_erase() argument 218 put_ulong(unsigned long __user *argp, unsigned long val) put_ulong() argument 223 put_u64(u64 __user *argp, u64 val) put_u64() argument 229 compat_put_long(compat_long_t __user *argp, long val) compat_put_long() argument 234 compat_put_ulong(compat_ulong_t __user *argp, compat_ulong_t val) compat_put_ulong() argument 401 blkdev_getgeo(struct block_device *bdev, struct hd_geometry __user *argp) blkdev_getgeo() argument 467 blkdev_bszset(struct block_device *bdev, blk_mode_t mode, int __user *argp) blkdev_bszset() argument 495 blkdev_common_ioctl(struct block_device *bdev, blk_mode_t mode, unsigned int cmd, unsigned long arg, void __user *argp) blkdev_common_ioctl() argument 587 void __user *argp = (void __user *)arg; blkdev_ioctl() local 646 void __user *argp = compat_ptr(arg); compat_blkdev_ioctl() local [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | ioctl.c | 189 static int put_ushort(unsigned short __user *argp, unsigned short val) in put_ushort() argument 191 return put_user(val, argp); in put_ushort() 194 static int put_int(int __user *argp, int val) in put_int() argument 196 return put_user(val, argp); in put_int() 199 static int put_uint(unsigned int __user *argp, unsigned int val) in put_uint() argument 201 return put_user(val, argp); in put_uint() 204 static int put_long(long __user *argp, long val) in put_long() argument 206 return put_user(val, argp); in put_long() 209 static int put_ulong(unsigned long __user *argp, unsigned long val) in put_ulong() argument 211 return put_user(val, argp); in put_ulong() 214 put_u64(u64 __user *argp, u64 val) put_u64() argument 220 compat_put_long(compat_long_t __user *argp, long val) compat_put_long() argument 225 compat_put_ulong(compat_ulong_t __user *argp, compat_ulong_t val) compat_put_ulong() argument 412 blkdev_getgeo(struct block_device *bdev, struct hd_geometry __user *argp) blkdev_getgeo() argument 478 blkdev_bszset(struct block_device *bdev, fmode_t mode, int __user *argp) blkdev_bszset() argument 506 blkdev_common_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, unsigned long arg, void __user *argp) blkdev_common_ioctl() argument 594 void __user *argp = (void __user *)arg; blkdev_ioctl() local 650 void __user *argp = compat_ptr(arg); compat_blkdev_ioctl() local [all...] |
/kernel/linux/linux-5.10/fs/lockd/ |
H A D | xdr.c | 186 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_testargs() local 189 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_testargs() 193 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_testargs() 196 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs() 214 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_lockargs() local 217 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_lockargs() 219 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs() 221 if (!(p = nlm_decode_lock(p, &argp->lock))) in nlmsvc_decode_lockargs() 224 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs() 225 argp in nlmsvc_decode_lockargs() 235 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_cancargs() local 252 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_unlockargs() local 264 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_shareargs() local 308 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_notify() local 321 struct nlm_reboot *argp = rqstp->rq_argp; nlmsvc_decode_reboot() local [all...] |
H A D | svcproc.c | 52 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args() argument 57 struct nlm_lock *lock = &argp->lock; in nlmsvc_retrieve_args() 66 || (argp->monitor && nsm_monitor(host) < 0)) in nlmsvc_retrieve_args() 114 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_test() local 120 resp->cookie = argp->cookie; in __nlmsvc_proc_test() 123 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test() 127 resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie)); in __nlmsvc_proc_test() 134 nlmsvc_release_lockowner(&argp->lock); in __nlmsvc_proc_test() 149 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_lock() local 156 resp->cookie = argp in __nlmsvc_proc_lock() 198 struct nlm_args *argp = rqstp->rq_argp; __nlmsvc_proc_cancel() local 239 struct nlm_args *argp = rqstp->rq_argp; __nlmsvc_proc_unlock() local 281 struct nlm_args *argp = rqstp->rq_argp; __nlmsvc_proc_granted() local 332 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_callback() local 398 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_share() local 433 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_unshare() local 468 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_nm_lock() local 482 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_free_all() local 500 struct nlm_reboot *argp = rqstp->rq_argp; nlmsvc_proc_sm_notify() local 511 nlm_host_rebooted(SVC_NET(rqstp), argp); nlmsvc_proc_sm_notify() local 521 struct nlm_res *argp = rqstp->rq_argp; nlmsvc_proc_granted_res() local [all...] |
H A D | svc4proc.c | 23 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() argument 28 struct nlm_lock *lock = &argp->lock; in nlm4svc_retrieve_args() 37 || (argp->monitor && nsm_monitor(host) < 0)) in nlm4svc_retrieve_args() 84 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_test() local 90 resp->cookie = argp->cookie; in __nlm4svc_proc_test() 93 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test() 97 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test() 103 nlmsvc_release_lockowner(&argp->lock); in __nlm4svc_proc_test() 118 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_lock() local 125 resp->cookie = argp in __nlm4svc_proc_lock() 167 struct nlm_args *argp = rqstp->rq_argp; __nlm4svc_proc_cancel() local 207 struct nlm_args *argp = rqstp->rq_argp; __nlm4svc_proc_unlock() local 248 struct nlm_args *argp = rqstp->rq_argp; __nlm4svc_proc_granted() local 291 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_callback() local 355 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_share() local 390 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_unshare() local 425 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_nm_lock() local 439 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_free_all() local 457 struct nlm_reboot *argp = rqstp->rq_argp; nlm4svc_proc_sm_notify() local 468 nlm_host_rebooted(SVC_NET(rqstp), argp); nlm4svc_proc_sm_notify() local 478 struct nlm_res *argp = rqstp->rq_argp; nlm4svc_proc_granted_res() local [all...] |
H A D | xdr4.c | 183 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs() local 186 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_testargs() 190 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_testargs() 193 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs() 211 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs() local 214 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs() 216 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs() 218 if (!(p = nlm4_decode_lock(p, &argp->lock))) in nlm4svc_decode_lockargs() 221 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs() 222 argp in nlm4svc_decode_lockargs() 232 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_cancargs() local 249 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_unlockargs() local 261 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_shareargs() local 305 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_notify() local 318 struct nlm_reboot *argp = rqstp->rq_argp; nlm4svc_decode_reboot() local [all...] |
/kernel/linux/linux-6.6/fs/lockd/ |
H A D | xdr4.c | 152 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_testargs() local 155 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) in nlm4svc_decode_testargs() 159 if (!svcxdr_decode_lock(xdr, &argp->lock)) in nlm4svc_decode_testargs() 162 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs() 170 struct nlm_args *argp = rqstp->rq_argp; in nlm4svc_decode_lockargs() local 173 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) in nlm4svc_decode_lockargs() 175 if (xdr_stream_decode_bool(xdr, &argp->block) < 0) in nlm4svc_decode_lockargs() 179 if (!svcxdr_decode_lock(xdr, &argp->lock)) in nlm4svc_decode_lockargs() 182 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs() 183 if (xdr_stream_decode_bool(xdr, &argp in nlm4svc_decode_lockargs() 195 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_cancargs() local 215 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_unlockargs() local 242 struct nlm_reboot *argp = rqstp->rq_argp; nlm4svc_decode_reboot() local 268 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_shareargs() local 295 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_decode_notify() local [all...] |
H A D | xdr.c | 157 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_testargs() local 160 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) in nlmsvc_decode_testargs() 164 if (!svcxdr_decode_lock(xdr, &argp->lock)) in nlmsvc_decode_testargs() 167 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs() 175 struct nlm_args *argp = rqstp->rq_argp; in nlmsvc_decode_lockargs() local 178 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) in nlmsvc_decode_lockargs() 180 if (xdr_stream_decode_bool(xdr, &argp->block) < 0) in nlmsvc_decode_lockargs() 184 if (!svcxdr_decode_lock(xdr, &argp->lock)) in nlmsvc_decode_lockargs() 187 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs() 188 if (xdr_stream_decode_bool(xdr, &argp in nlmsvc_decode_lockargs() 200 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_cancargs() local 220 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_unlockargs() local 247 struct nlm_reboot *argp = rqstp->rq_argp; nlmsvc_decode_reboot() local 273 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_shareargs() local 300 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_decode_notify() local [all...] |
H A D | svcproc.c | 52 nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlmsvc_retrieve_args() argument 57 struct nlm_lock *lock = &argp->lock; in nlmsvc_retrieve_args() 67 || (argp->monitor && nsm_monitor(host) < 0)) in nlmsvc_retrieve_args() 117 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_test() local 124 resp->cookie = argp->cookie; in __nlmsvc_proc_test() 127 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test() 130 test_owner = argp->lock.fl.fl_owner; in __nlmsvc_proc_test() 133 resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie)); in __nlmsvc_proc_test() 155 struct nlm_args *argp = rqstp->rq_argp; in __nlmsvc_proc_lock() local 162 resp->cookie = argp in __nlmsvc_proc_lock() 204 struct nlm_args *argp = rqstp->rq_argp; __nlmsvc_proc_cancel() local 245 struct nlm_args *argp = rqstp->rq_argp; __nlmsvc_proc_unlock() local 287 struct nlm_args *argp = rqstp->rq_argp; __nlmsvc_proc_granted() local 336 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_callback() local 402 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_share() local 437 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_unshare() local 472 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_nm_lock() local 486 struct nlm_args *argp = rqstp->rq_argp; nlmsvc_proc_free_all() local 504 struct nlm_reboot *argp = rqstp->rq_argp; nlmsvc_proc_sm_notify() local 515 nlm_host_rebooted(SVC_NET(rqstp), argp); nlmsvc_proc_sm_notify() local 525 struct nlm_res *argp = rqstp->rq_argp; nlmsvc_proc_granted_res() local [all...] |
H A D | svc4proc.c | 23 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, in nlm4svc_retrieve_args() argument 28 struct nlm_lock *lock = &argp->lock; in nlm4svc_retrieve_args() 41 || (argp->monitor && nsm_monitor(host) < 0)) in nlm4svc_retrieve_args() 96 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_test() local 103 resp->cookie = argp->cookie; in __nlm4svc_proc_test() 106 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test() 109 test_owner = argp->lock.fl.fl_owner; in __nlm4svc_proc_test() 111 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test() 132 struct nlm_args *argp = rqstp->rq_argp; in __nlm4svc_proc_lock() local 139 resp->cookie = argp in __nlm4svc_proc_lock() 181 struct nlm_args *argp = rqstp->rq_argp; __nlm4svc_proc_cancel() local 221 struct nlm_args *argp = rqstp->rq_argp; __nlm4svc_proc_unlock() local 262 struct nlm_args *argp = rqstp->rq_argp; __nlm4svc_proc_granted() local 303 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_callback() local 367 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_share() local 402 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_unshare() local 437 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_nm_lock() local 451 struct nlm_args *argp = rqstp->rq_argp; nlm4svc_proc_free_all() local 469 struct nlm_reboot *argp = rqstp->rq_argp; nlm4svc_proc_sm_notify() local 480 nlm_host_rebooted(SVC_NET(rqstp), argp); nlm4svc_proc_sm_notify() local 490 struct nlm_res *argp = rqstp->rq_argp; nlm4svc_proc_granted_res() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
H A D | gasket_ioctl.c | 28 struct gasket_interrupt_eventfd __user *argp) in gasket_set_event_fd() 32 if (copy_from_user(&die, argp, sizeof(struct gasket_interrupt_eventfd))) in gasket_set_event_fd() 43 struct gasket_page_table_ioctl __user *argp) in gasket_read_page_table_size() 48 if (copy_from_user(&ibuf, argp, sizeof(struct gasket_page_table_ioctl))) in gasket_read_page_table_size() 61 if (copy_to_user(argp, &ibuf, sizeof(ibuf))) in gasket_read_page_table_size() 69 struct gasket_page_table_ioctl __user *argp) in gasket_read_simple_page_table_size() 74 if (copy_from_user(&ibuf, argp, sizeof(struct gasket_page_table_ioctl))) in gasket_read_simple_page_table_size() 87 if (copy_to_user(argp, &ibuf, sizeof(ibuf))) in gasket_read_simple_page_table_size() 95 struct gasket_page_table_ioctl __user *argp) in gasket_partition_page_table() 101 if (copy_from_user(&ibuf, argp, sizeo in gasket_partition_page_table() 27 gasket_set_event_fd(struct gasket_dev *gasket_dev, struct gasket_interrupt_eventfd __user *argp) gasket_set_event_fd() argument 42 gasket_read_page_table_size(struct gasket_dev *gasket_dev, struct gasket_page_table_ioctl __user *argp) gasket_read_page_table_size() argument 68 gasket_read_simple_page_table_size(struct gasket_dev *gasket_dev, struct gasket_page_table_ioctl __user *argp) gasket_read_simple_page_table_size() argument 94 gasket_partition_page_table(struct gasket_dev *gasket_dev, struct gasket_page_table_ioctl __user *argp) gasket_partition_page_table() argument 130 gasket_map_buffers(struct gasket_dev *gasket_dev, struct gasket_page_table_ioctl __user *argp) gasket_map_buffers() argument 156 gasket_unmap_buffers(struct gasket_dev *gasket_dev, struct gasket_page_table_ioctl __user *argp) gasket_unmap_buffers() argument 185 gasket_config_coherent_allocator(struct gasket_dev *gasket_dev, struct gasket_coherent_alloc_config_ioctl __user *argp) gasket_config_coherent_allocator() argument 270 gasket_handle_ioctl(struct file *filp, uint cmd, void __user *argp) gasket_handle_ioctl() argument [all...] |
/third_party/python/Modules/_ctypes/libffi_osx/x86/ |
H A D | x86-ffi_darwin.c | 44 register char *argp; in ffi_prep_args() local 47 argp = stack; in ffi_prep_args() 51 *(void **) argp = ecif->rvalue; in ffi_prep_args() 52 argp += 4; in ffi_prep_args() 64 if ((sizeof(int) - 1) & (unsigned) argp) in ffi_prep_args() 65 argp = (char *) ALIGN(argp, sizeof(int)); in ffi_prep_args() 74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 82 *(signed int *) argp in ffi_prep_args() 271 register char *argp; ffi_prep_incoming_args_SYSV() local [all...] |
/kernel/linux/linux-5.10/drivers/sbus/char/ |
H A D | openprom.c | 130 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) 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 bufsize) 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 *op, int bufsize, DATA *data) in opromnext() argument 229 return copyout(argp, o in opromnext() 232 oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) oprompci2node() argument 258 oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) oprompath2node() argument 272 opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize) opromgetbootargs() argument 297 void __user *argp = (void __user *)arg; openprom_sunos_ioctl() local 385 opiocget(void __user *argp, DATA *data) opiocget() argument 417 opiocnextprop(void __user *argp, DATA *data) opiocnextprop() argument 463 opiocset(void __user *argp, DATA *data) opiocset() argument 495 opiocgetnext(unsigned int cmd, void __user *argp) opiocgetnext() argument 531 void __user *argp = (void __user *)arg; openprom_bsd_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/sbus/char/ |
H A D | openprom.c | 130 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) 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 bufsize) 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 *op, int bufsize, DATA *data) in opromnext() argument 229 return copyout(argp, o in opromnext() 232 oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) oprompci2node() argument 258 oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) oprompath2node() argument 272 opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize) opromgetbootargs() argument 297 void __user *argp = (void __user *)arg; openprom_sunos_ioctl() local 385 opiocget(void __user *argp, DATA *data) opiocget() argument 417 opiocnextprop(void __user *argp, DATA *data) opiocnextprop() argument 463 opiocset(void __user *argp, DATA *data) opiocset() argument 495 opiocgetnext(unsigned int cmd, void __user *argp) opiocgetnext() argument 531 void __user *argp = (void __user *)arg; openprom_bsd_ioctl() local [all...] |
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | ioctl.c | 118 static int nilfs_ioctl_getflags(struct inode *inode, void __user *argp) in nilfs_ioctl_getflags() argument 122 return put_user(flags, (int __user *)argp); in nilfs_ioctl_getflags() 129 void __user *argp) in nilfs_ioctl_setflags() 138 if (get_user(flags, (int __user *)argp)) in nilfs_ioctl_setflags() 178 static int nilfs_ioctl_getversion(struct inode *inode, void __user *argp) in nilfs_ioctl_getversion() argument 180 return put_user(inode->i_generation, (int __user *)argp); in nilfs_ioctl_getversion() 188 * @argp: pointer on argument from userspace 203 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode() 218 if (copy_from_user(&cpmode, argp, sizeof(cpmode))) in nilfs_ioctl_change_cpmode() 242 * @argp 128 nilfs_ioctl_setflags(struct inode *inode, struct file *filp, void __user *argp) nilfs_ioctl_setflags() argument 202 nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_change_cpmode() argument 257 nilfs_ioctl_delete_checkpoint(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_delete_checkpoint() argument 336 nilfs_ioctl_get_cpstat(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_get_cpstat() argument 403 nilfs_ioctl_get_sustat(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_get_sustat() argument 512 nilfs_ioctl_get_bdescs(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_get_bdescs() argument 858 nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_clean_segments() argument 997 nilfs_ioctl_sync(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_sync() argument 1031 nilfs_ioctl_resize(struct inode *inode, struct file *filp, void __user *argp) nilfs_ioctl_resize() argument 1067 nilfs_ioctl_trim_fs(struct inode *inode, void __user *argp) nilfs_ioctl_trim_fs() argument 1109 nilfs_ioctl_set_alloc_range(struct inode *inode, void __user *argp) nilfs_ioctl_set_alloc_range() argument 1170 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 1221 nilfs_ioctl_set_suinfo(struct inode *inode, struct file *filp, unsigned int cmd, void __user *argp) nilfs_ioctl_set_suinfo() argument 1289 void __user *argp = (void __user *)arg; nilfs_ioctl() local [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_dump_gpu.c | 163 gem_ioctl(int fd, unsigned long request, void *argp) in gem_ioctl() argument 168 ret = libc_ioctl(fd, request, argp); in gem_ioctl() 503 void *argp; in ioctl() local 508 argp = va_arg(args, void *); in ioctl() 527 return libc_ioctl(fd, request, argp); in ioctl() 532 struct drm_i915_reset_stats *stats = argp; in ioctl() 539 return libc_ioctl(fd, request, argp); in ioctl() 543 struct drm_i915_getparam *getparam = argp; in ioctl() 574 return libc_ioctl(fd, request, argp); in ioctl() 578 struct drm_i915_gem_context_param *getparam = argp; in ioctl() 766 void *argp; ioctl_init_helper() local [all...] |