Lines Matching full:resp
16 #define RETURN_STATUS(st) { resp->status = (st); return (st); }
33 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsd3_proc_getacl() local
39 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl()
40 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_getacl()
48 resp->mask = argp->mask; in nfsd3_proc_getacl()
50 if (resp->mask & (NFS_ACL|NFS_ACLCNT)) { in nfsd3_proc_getacl()
60 resp->acl_access = acl; in nfsd3_proc_getacl()
62 if (resp->mask & (NFS_DFACL|NFS_DFACLCNT)) { in nfsd3_proc_getacl()
70 resp->acl_default = acl; in nfsd3_proc_getacl()
73 /* resp->acl_{access,default} are released in nfs3svc_release_getacl. */ in nfsd3_proc_getacl()
77 posix_acl_release(resp->acl_access); in nfsd3_proc_getacl()
78 posix_acl_release(resp->acl_default); in nfsd3_proc_getacl()
88 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setacl() local
94 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setacl()
95 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
174 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfs3svc_encode_getaclres() local
175 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
177 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_getaclres()
178 if (resp->status == 0 && dentry && d_really_is_positive(dentry)) { in nfs3svc_encode_getaclres()
185 *p++ = htonl(resp->mask); in nfs3svc_encode_getaclres()
191 (resp->mask & NFS_ACL) ? resp->acl_access : NULL, in nfs3svc_encode_getaclres()
192 (resp->mask & NFS_DFACL) ? resp->acl_default : NULL); in nfs3svc_encode_getaclres()
200 resp->acl_access, in nfs3svc_encode_getaclres()
201 resp->mask & NFS_ACL, 0); in nfs3svc_encode_getaclres()
204 resp->acl_default, in nfs3svc_encode_getaclres()
205 resp->mask & NFS_DFACL, in nfs3svc_encode_getaclres()
219 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfs3svc_encode_setaclres() local
221 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_setaclres()
231 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfs3svc_release_getacl() local
233 fh_put(&resp->fh); in nfs3svc_release_getacl()
234 posix_acl_release(resp->acl_access); in nfs3svc_release_getacl()
235 posix_acl_release(resp->acl_default); in nfs3svc_release_getacl()