Lines Matching refs:resp

15 #define RETURN_STATUS(st)	{ resp->status = (st); return (st); }
21 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd3_proc_null() argument
30 struct nfsd3_getaclargs *argp, struct nfsd3_getaclres *resp) in nfsd3_proc_getacl() argument
37 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl()
38 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_getacl()
46 resp->mask = argp->mask; in nfsd3_proc_getacl()
48 if (resp->mask & (NFS_ACL|NFS_ACLCNT)) { in nfsd3_proc_getacl()
58 resp->acl_access = acl; in nfsd3_proc_getacl()
60 if (resp->mask & (NFS_DFACL|NFS_DFACLCNT)) { in nfsd3_proc_getacl()
68 resp->acl_default = acl; in nfsd3_proc_getacl()
75 posix_acl_release(resp->acl_access); in nfsd3_proc_getacl()
76 posix_acl_release(resp->acl_default); in nfsd3_proc_getacl()
85 struct nfsd3_attrstat *resp) in nfsd3_proc_setacl() argument
92 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setacl()
93 nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsd3_proc_setacl()
172 struct nfsd3_getaclres *resp) in nfs3svc_encode_getaclres() argument
174 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
176 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_getaclres()
177 if (resp->status == 0 && dentry && d_really_is_positive(dentry)) { in nfs3svc_encode_getaclres()
184 *p++ = htonl(resp->mask); in nfs3svc_encode_getaclres()
190 (resp->mask & NFS_ACL) ? resp->acl_access : NULL, in nfs3svc_encode_getaclres()
191 (resp->mask & NFS_DFACL) ? resp->acl_default : NULL); in nfs3svc_encode_getaclres()
199 resp->acl_access, in nfs3svc_encode_getaclres()
200 resp->mask & NFS_ACL, 0); in nfs3svc_encode_getaclres()
203 resp->acl_default, in nfs3svc_encode_getaclres()
204 resp->mask & NFS_DFACL, in nfs3svc_encode_getaclres()
217 struct nfsd3_attrstat *resp) in nfs3svc_encode_setaclres() argument
219 p = nfs3svc_encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_setaclres()
228 struct nfsd3_getaclres *resp) in nfs3svc_release_getacl() argument
230 fh_put(&resp->fh); in nfs3svc_release_getacl()
231 posix_acl_release(resp->acl_access); in nfs3svc_release_getacl()
232 posix_acl_release(resp->acl_default); in nfs3svc_release_getacl()