Lines Matching refs:fh
49 SVCFH_fmt(&argp->fh)); in nfsd3_proc_getattr()
51 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
52 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
57 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd3_proc_getattr()
72 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr()
74 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
75 resp->status = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
90 SVCFH_fmt(&argp->fh), in nfsd3_proc_lookup()
94 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_lookup()
95 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_lookup()
99 &resp->fh); in nfsd3_proc_lookup()
113 SVCFH_fmt(&argp->fh), in nfsd3_proc_access()
116 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_access()
118 resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL); in nfsd3_proc_access()
131 dprintk("nfsd: READLINK(3) %s\n", SVCFH_fmt(&argp->fh)); in nfsd3_proc_readlink()
134 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readlink()
137 resp->status = nfsd_readlink(rqstp, &resp->fh, in nfsd3_proc_readlink()
155 SVCFH_fmt(&argp->fh), in nfsd3_proc_read()
184 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_read()
185 resp->status = nfsd_read(rqstp, &resp->fh, argp->offset, in nfsd3_proc_read()
202 SVCFH_fmt(&argp->fh), in nfsd3_proc_write()
212 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_write()
216 resp->status = nfsd_write(rqstp, &resp->fh, argp->offset, in nfsd3_proc_write()
352 SVCFH_fmt(&argp->fh), in nfsd3_proc_create()
356 dirfhp = fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_create()
357 newfhp = fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_create()
373 SVCFH_fmt(&argp->fh), in nfsd3_proc_mkdir()
378 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_mkdir()
379 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_mkdir()
381 &argp->attrs, S_IFDIR, 0, &resp->fh); in nfsd3_proc_mkdir()
415 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_symlink()
417 argp->flen, argp->tname, &resp->fh); in nfsd3_proc_symlink()
435 SVCFH_fmt(&argp->fh), in nfsd3_proc_mknod()
439 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_mknod()
440 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_mknod()
456 &argp->attrs, type, rdev, &resp->fh); in nfsd3_proc_mknod()
472 SVCFH_fmt(&argp->fh), in nfsd3_proc_remove()
477 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_remove()
478 resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, in nfsd3_proc_remove()
480 fh_unlock(&resp->fh); in nfsd3_proc_remove()
494 SVCFH_fmt(&argp->fh), in nfsd3_proc_rmdir()
498 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_rmdir()
499 resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, in nfsd3_proc_rmdir()
501 fh_unlock(&resp->fh); in nfsd3_proc_rmdir()
540 fh_copy(&resp->fh, &argp->ffh); in nfsd3_proc_link()
543 &resp->fh); in nfsd3_proc_link()
585 SVCFH_fmt(&argp->fh), in nfsd3_proc_readdir()
590 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdir()
595 resp->status = nfsd_readdir(rqstp, &resp->fh, &offset, in nfsd3_proc_readdir()
618 SVCFH_fmt(&argp->fh), in nfsd3_proc_readdirplus()
623 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdirplus()
629 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
633 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) { in nfsd3_proc_readdirplus()
638 resp->status = nfsd_readdir(rqstp, &resp->fh, &offset, in nfsd3_proc_readdirplus()
660 SVCFH_fmt(&argp->fh)); in nfsd3_proc_fsstat()
662 resp->status = nfsd_statfs(rqstp, &argp->fh, &resp->stats, 0); in nfsd3_proc_fsstat()
663 fh_put(&argp->fh); in nfsd3_proc_fsstat()
678 SVCFH_fmt(&argp->fh)); in nfsd3_proc_fsinfo()
690 resp->status = fh_verify(rqstp, &argp->fh, 0, in nfsd3_proc_fsinfo()
697 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
706 fh_put(&argp->fh); in nfsd3_proc_fsinfo()
720 SVCFH_fmt(&argp->fh)); in nfsd3_proc_pathconf()
730 resp->status = fh_verify(rqstp, &argp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_pathconf()
733 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
748 fh_put(&argp->fh); in nfsd3_proc_pathconf()
762 SVCFH_fmt(&argp->fh), in nfsd3_proc_commit()
766 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_commit()
767 resp->status = nfsd_commit(rqstp, &resp->fh, argp->offset, in nfsd3_proc_commit()