Lines Matching refs:argp
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->acl_default); in nfsacld_proc_setacl()
134 posix_acl_release(argp->acl_access); in nfsacld_proc_setacl()
135 posix_acl_release(argp->acl_default); in nfsacld_proc_setacl()
151 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsacld_proc_getattr() local
154 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsacld_proc_getattr()
156 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getattr()
170 struct nfsd3_accessargs *argp = rqstp->rq_argp; in nfsacld_proc_access() local
174 SVCFH_fmt(&argp->fh), in nfsacld_proc_access()
175 argp->access); in nfsacld_proc_access()
177 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_access()
178 resp->access = argp->access; in nfsacld_proc_access()
194 struct nfsd3_getaclargs *argp = rqstp->rq_argp; in nfsaclsvc_decode_getaclargs() local
196 if (!svcxdr_decode_fhandle(xdr, &argp->fh)) in nfsaclsvc_decode_getaclargs()
198 if (xdr_stream_decode_u32(xdr, &argp->mask) < 0) in nfsaclsvc_decode_getaclargs()
207 struct nfsd3_setaclargs *argp = rqstp->rq_argp; in nfsaclsvc_decode_setaclargs() local
209 if (!svcxdr_decode_fhandle(xdr, &argp->fh)) in nfsaclsvc_decode_setaclargs()
211 if (xdr_stream_decode_u32(xdr, &argp->mask) < 0) in nfsaclsvc_decode_setaclargs()
213 if (argp->mask & ~NFS_ACL_MASK) in nfsaclsvc_decode_setaclargs()
215 if (!nfs_stream_decode_acl(xdr, NULL, (argp->mask & NFS_ACL) ? in nfsaclsvc_decode_setaclargs()
216 &argp->acl_access : NULL)) in nfsaclsvc_decode_setaclargs()
218 if (!nfs_stream_decode_acl(xdr, NULL, (argp->mask & NFS_DFACL) ? in nfsaclsvc_decode_setaclargs()
219 &argp->acl_default : NULL)) in nfsaclsvc_decode_setaclargs()