Lines Matching refs:argp
22 nfsacld_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsacld_proc_null() argument
31 struct nfsd3_getaclargs *argp, struct nfsd3_getaclres *resp) in nfsacld_proc_getacl() argument
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()
49 resp->mask = argp->mask; in nfsacld_proc_getacl()
91 struct nfsd3_setaclargs *argp, in nfsacld_proc_setacl() argument
99 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_setacl()
101 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl()
114 error = set_posix_acl(inode, ACL_TYPE_ACCESS, argp->acl_access); in nfsacld_proc_setacl()
117 error = set_posix_acl(inode, ACL_TYPE_DEFAULT, argp->acl_default); in nfsacld_proc_setacl()
130 posix_acl_release(argp->acl_access); in nfsacld_proc_setacl()
131 posix_acl_release(argp->acl_default); in nfsacld_proc_setacl()
145 struct nfsd_fhandle *argp, struct nfsd_attrstat *resp) in nfsacld_proc_getattr() argument
148 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getattr()
150 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getattr()
161 static __be32 nfsacld_proc_access(struct svc_rqst *rqstp, struct nfsd3_accessargs *argp, in nfsacld_proc_access() argument
167 SVCFH_fmt(&argp->fh), in nfsacld_proc_access()
168 argp->access); in nfsacld_proc_access()
170 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_access()
171 resp->access = argp->access; in nfsacld_proc_access()
183 struct nfsd3_getaclargs *argp) in nfsaclsvc_decode_getaclargs() argument
185 p = nfs2svc_decode_fh(p, &argp->fh); in nfsaclsvc_decode_getaclargs()
188 argp->mask = ntohl(*p); p++; in nfsaclsvc_decode_getaclargs()
195 struct nfsd3_setaclargs *argp) in nfsaclsvc_decode_setaclargs() argument
201 p = nfs2svc_decode_fh(p, &argp->fh); in nfsaclsvc_decode_setaclargs()
204 argp->mask = ntohl(*p++); in nfsaclsvc_decode_setaclargs()
205 if (argp->mask & ~NFS_ACL_MASK || in nfsaclsvc_decode_setaclargs()
211 (argp->mask & NFS_ACL) ? in nfsaclsvc_decode_setaclargs()
212 &argp->acl_access : NULL); in nfsaclsvc_decode_setaclargs()
215 (argp->mask & NFS_DFACL) ? in nfsaclsvc_decode_setaclargs()
216 &argp->acl_default : NULL); in nfsaclsvc_decode_setaclargs()
221 struct nfsd_fhandle *argp) in nfsaclsvc_decode_fhandleargs() argument
223 p = nfs2svc_decode_fh(p, &argp->fh); in nfsaclsvc_decode_fhandleargs()
230 struct nfsd3_accessargs *argp) in nfsaclsvc_decode_accessargs() argument
232 p = nfs2svc_decode_fh(p, &argp->fh); in nfsaclsvc_decode_accessargs()
235 argp->access = ntohl(*p++); in nfsaclsvc_decode_accessargs()