• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfsd/

Lines Matching refs:fh

29 	return nfserrno(vfs_getattr(resp->fh.fh_export->ex_path.mnt,
30 resp->fh.fh_dentry,
37 return nfserrno(vfs_getattr(resp->fh.fh_export->ex_path.mnt,
38 resp->fh.fh_dentry,
43 * N.B. After this call resp->fh needs an fh_put
50 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh));
52 fh_copy(&resp->fh, &argp->fh);
53 nfserr = fh_verify(rqstp, &resp->fh, 0,
60 * N.B. After this call resp->fh needs an fh_put
68 SVCFH_fmt(&argp->fh),
71 fh_copy(&resp->fh, &argp->fh);
72 nfserr = nfsd_setattr(rqstp, &resp->fh, &argp->attrs,0, (time_t)0);
78 * Note: the dentry in the resp->fh may be negative if the file
80 * N.B. After this call resp->fh needs an fh_put
89 SVCFH_fmt(&argp->fh), argp->len, argp->name);
91 fh_init(&resp->fh, NFS_FHSIZE);
92 nfserr = nfsd_lookup(rqstp, &argp->fh, argp->name, argp->len,
93 &resp->fh);
95 fh_put(&argp->fh);
108 dprintk("nfsd: READLINK %s\n", SVCFH_fmt(&argp->fh));
112 nfserr = nfsd_readlink(rqstp, &argp->fh, argp->buffer, &resp->len);
114 fh_put(&argp->fh);
120 * N.B. After this call resp->fh needs an fh_put
129 SVCFH_fmt(&argp->fh),
147 nfserr = nfsd_read(rqstp, fh_copy(&resp->fh, &argp->fh),
153 return nfserrno(vfs_getattr(resp->fh.fh_export->ex_path.mnt,
154 resp->fh.fh_dentry,
160 * N.B. After this call resp->fh needs an fh_put
171 SVCFH_fmt(&argp->fh),
174 nfserr = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh), NULL,
186 * N.B. After this call _both_ argp->fh and resp->fh need an fh_put
192 svc_fh *dirfhp = &argp->fh;
193 svc_fh *newfhp = &resp->fh;
345 dprintk("nfsd: REMOVE %s %.*s\n", SVCFH_fmt(&argp->fh),
349 nfserr = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, argp->name, argp->len);
350 fh_put(&argp->fh);
419 * N.B. After this call resp->fh needs an fh_put
427 dprintk("nfsd: MKDIR %s %.*s\n", SVCFH_fmt(&argp->fh), argp->len, argp->name);
429 if (resp->fh.fh_dentry) {
435 fh_init(&resp->fh, NFS_FHSIZE);
436 nfserr = nfsd_create(rqstp, &argp->fh, argp->name, argp->len,
437 &argp->attrs, S_IFDIR, 0, &resp->fh);
438 fh_put(&argp->fh);
451 dprintk("nfsd: RMDIR %s %.*s\n", SVCFH_fmt(&argp->fh), argp->len, argp->name);
453 nfserr = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, argp->name, argp->len);
454 fh_put(&argp->fh);
470 SVCFH_fmt(&argp->fh),
487 nfserr = nfsd_readdir(rqstp, &argp->fh, &offset,
494 fh_put(&argp->fh);
507 dprintk("nfsd: STATFS %s\n", SVCFH_fmt(&argp->fh));
509 nfserr = nfsd_statfs(rqstp, &argp->fh, &resp->stats,
511 fh_put(&argp->fh);