• Home
  • Raw
  • Download

Lines Matching refs:fh

36 	svc_fh *fh;  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()
41 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl()
45 inode = d_inode(fh->fh_dentry); in nfsacld_proc_getacl()
53 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_getacl()
98 svc_fh *fh; 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()
104 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_SATTR); in nfsacld_proc_setacl()
108 inode = d_inode(fh->fh_dentry); in nfsacld_proc_setacl()
110 error = fh_want_write(fh); in nfsacld_proc_setacl()
127 fh_drop_write(fh); in nfsacld_proc_setacl()
129 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_setacl()
140 fh_drop_write(fh); in nfsacld_proc_setacl()
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()
157 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getattr()
160 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_getattr()
174 SVCFH_fmt(&argp->fh), in nfsacld_proc_access()
177 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_access()
179 resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL); in nfsacld_proc_access()
182 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsacld_proc_access()
196 if (!svcxdr_decode_fhandle(xdr, &argp->fh)) in nfsaclsvc_decode_getaclargs()
209 if (!svcxdr_decode_fhandle(xdr, &argp->fh)) in nfsaclsvc_decode_setaclargs()
230 if (!svcxdr_decode_fhandle(xdr, &args->fh)) in nfsaclsvc_decode_accessargs()
247 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
257 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfsaclsvc_encode_getaclres()
282 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfsaclsvc_encode_accessres()
299 fh_put(&resp->fh); in nfsaclsvc_release_getacl()
308 fh_put(&resp->fh); in nfsaclsvc_release_access()