Lines Matching full:resp
17 #define RETURN_STATUS(st) { resp->status = (st); return (st); }
34 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsacld_proc_getacl() local
42 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl()
43 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl()
51 resp->mask = argp->mask; in nfsacld_proc_getacl()
53 nfserr = fh_getattr(fh, &resp->stat); in nfsacld_proc_getacl()
57 if (resp->mask & (NFS_ACL|NFS_ACLCNT)) { in nfsacld_proc_getacl()
67 resp->acl_access = acl; in nfsacld_proc_getacl()
69 if (resp->mask & (NFS_DFACL|NFS_DFACLCNT)) { in nfsacld_proc_getacl()
77 resp->acl_default = acl; in nfsacld_proc_getacl()
80 /* resp->acl_{access,default} are released in nfssvc_release_getacl. */ in nfsacld_proc_getacl()
84 posix_acl_release(resp->acl_access); in nfsacld_proc_getacl()
85 posix_acl_release(resp->acl_default); in nfsacld_proc_getacl()
95 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsacld_proc_setacl() local
103 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl()
104 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsacld_proc_setacl()
127 nfserr = fh_getattr(fh, &resp->stat); in nfsacld_proc_setacl()
149 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsacld_proc_getattr() local
153 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getattr()
154 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getattr()
157 nfserr = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_getattr()
167 struct nfsd3_accessres *resp = rqstp->rq_resp; in nfsacld_proc_access() local
174 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_access()
175 resp->access = argp->access; in nfsacld_proc_access()
176 nfserr = nfsd_access(rqstp, &resp->fh, &resp->access, NULL); in nfsacld_proc_access()
179 nfserr = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_access()
263 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsaclsvc_encode_getaclres() local
264 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
280 p = nfs2svc_encode_fattr(rqstp, p, &resp->fh, &resp->stat); in nfsaclsvc_encode_getaclres()
281 *p++ = htonl(resp->mask); in nfsaclsvc_encode_getaclres()
287 (resp->mask & NFS_ACL) ? resp->acl_access : NULL, in nfsaclsvc_encode_getaclres()
288 (resp->mask & NFS_DFACL) ? resp->acl_default : NULL); in nfsaclsvc_encode_getaclres()
296 resp->acl_access, in nfsaclsvc_encode_getaclres()
297 resp->mask & NFS_ACL, 0); in nfsaclsvc_encode_getaclres()
300 resp->acl_default, in nfsaclsvc_encode_getaclres()
301 resp->mask & NFS_DFACL, in nfsaclsvc_encode_getaclres()
308 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsaclsvc_encode_attrstatres() local
310 p = nfs2svc_encode_fattr(rqstp, p, &resp->fh, &resp->stat); in nfsaclsvc_encode_attrstatres()
317 struct nfsd3_accessres *resp = rqstp->rq_resp; in nfsaclsvc_encode_accessres() local
319 p = nfs2svc_encode_fattr(rqstp, p, &resp->fh, &resp->stat); in nfsaclsvc_encode_accessres()
320 *p++ = htonl(resp->access); in nfsaclsvc_encode_accessres()
329 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsaclsvc_release_getacl() local
331 fh_put(&resp->fh); in nfsaclsvc_release_getacl()
332 posix_acl_release(resp->acl_access); in nfsaclsvc_release_getacl()
333 posix_acl_release(resp->acl_default); in nfsaclsvc_release_getacl()
338 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsaclsvc_release_attrstat() local
340 fh_put(&resp->fh); in nfsaclsvc_release_attrstat()
345 struct nfsd3_accessres *resp = rqstp->rq_resp; in nfsaclsvc_release_access() local
347 fh_put(&resp->fh); in nfsaclsvc_release_access()