Lines Matching refs:resp

31 	struct nfsd3_getaclres *resp = rqstp->rq_resp;
36 fh = fh_copy(&resp->fh, &argp->fh);
37 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP);
38 if (resp->status != nfs_ok)
44 resp->status = nfserr_inval;
47 resp->mask = argp->mask;
49 if (resp->mask & (NFS_ACL|NFS_ACLCNT)) {
56 resp->status = nfserrno(PTR_ERR(acl));
59 resp->acl_access = acl;
61 if (resp->mask & (NFS_DFACL|NFS_DFACLCNT)) {
66 resp->status = nfserrno(PTR_ERR(acl));
69 resp->acl_default = acl;
72 /* resp->acl_{access,default} are released in nfs3svc_release_getacl. */
77 posix_acl_release(resp->acl_access);
78 posix_acl_release(resp->acl_default);
88 struct nfsd3_attrstat *resp = rqstp->rq_resp;
93 fh = fh_copy(&resp->fh, &argp->fh);
94 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR);
95 if (resp->status != nfs_ok)
115 resp->status = nfserrno(error);
173 struct nfsd3_getaclres *resp = rqstp->rq_resp;
174 struct dentry *dentry = resp->fh.fh_dentry;
176 *p++ = resp->status;
177 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh);
178 if (resp->status == 0 && dentry && d_really_is_positive(dentry)) {
185 *p++ = htonl(resp->mask);
191 (resp->mask & NFS_ACL) ? resp->acl_access : NULL,
192 (resp->mask & NFS_DFACL) ? resp->acl_default : NULL);
200 resp->acl_access,
201 resp->mask & NFS_ACL, 0);
204 resp->acl_default,
205 resp->mask & NFS_DFACL,
219 struct nfsd3_attrstat *resp = rqstp->rq_resp;
221 *p++ = resp->status;
222 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh);
231 struct nfsd3_getaclres *resp = rqstp->rq_resp;
233 fh_put(&resp->fh);
234 posix_acl_release(resp->acl_access);
235 posix_acl_release(resp->acl_default);