Lines Matching refs:fh
50 SVCFH_fmt(&argp->fh)); in nfsd3_proc_getattr()
52 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
53 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
58 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd3_proc_getattr()
76 SVCFH_fmt(&argp->fh)); in nfsd3_proc_setattr()
78 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
79 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, in nfsd3_proc_setattr()
94 SVCFH_fmt(&argp->fh), in nfsd3_proc_lookup()
98 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_lookup()
99 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_lookup()
103 &resp->fh); in nfsd3_proc_lookup()
117 SVCFH_fmt(&argp->fh), in nfsd3_proc_access()
120 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_access()
122 resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL); in nfsd3_proc_access()
135 dprintk("nfsd: READLINK(3) %s\n", SVCFH_fmt(&argp->fh)); in nfsd3_proc_readlink()
138 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readlink()
141 resp->status = nfsd_readlink(rqstp, &resp->fh, in nfsd3_proc_readlink()
158 SVCFH_fmt(&argp->fh), in nfsd3_proc_read()
188 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_read()
189 resp->status = nfsd_read(rqstp, &resp->fh, argp->offset, in nfsd3_proc_read()
206 SVCFH_fmt(&argp->fh), in nfsd3_proc_write()
216 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_write()
220 resp->status = nfsd_write(rqstp, &resp->fh, argp->offset, in nfsd3_proc_write()
361 SVCFH_fmt(&argp->fh), in nfsd3_proc_create()
365 dirfhp = fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_create()
366 newfhp = fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_create()
385 SVCFH_fmt(&argp->fh), in nfsd3_proc_mkdir()
390 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_mkdir()
391 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_mkdir()
393 &attrs, S_IFDIR, 0, &resp->fh); in nfsd3_proc_mkdir()
429 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_symlink()
431 argp->flen, argp->tname, &attrs, &resp->fh); in nfsd3_proc_symlink()
452 SVCFH_fmt(&argp->fh), in nfsd3_proc_mknod()
456 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_mknod()
457 fh_init(&resp->fh, NFS3_FHSIZE); in nfsd3_proc_mknod()
473 &attrs, type, rdev, &resp->fh); in nfsd3_proc_mknod()
488 SVCFH_fmt(&argp->fh), in nfsd3_proc_remove()
493 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_remove()
494 resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, in nfsd3_proc_remove()
509 SVCFH_fmt(&argp->fh), in nfsd3_proc_rmdir()
513 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_rmdir()
514 resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, in nfsd3_proc_rmdir()
554 fh_copy(&resp->fh, &argp->ffh); in nfsd3_proc_link()
557 &resp->fh); in nfsd3_proc_link()
592 SVCFH_fmt(&argp->fh), in nfsd3_proc_readdir()
597 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdir()
602 resp->status = nfsd_readdir(rqstp, &resp->fh, &offset, in nfsd3_proc_readdir()
625 SVCFH_fmt(&argp->fh), in nfsd3_proc_readdirplus()
630 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdirplus()
636 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
640 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) { in nfsd3_proc_readdirplus()
645 resp->status = nfsd_readdir(rqstp, &resp->fh, &offset, in nfsd3_proc_readdirplus()
667 SVCFH_fmt(&argp->fh)); in nfsd3_proc_fsstat()
669 resp->status = nfsd_statfs(rqstp, &argp->fh, &resp->stats, 0); in nfsd3_proc_fsstat()
670 fh_put(&argp->fh); in nfsd3_proc_fsstat()
685 SVCFH_fmt(&argp->fh)); in nfsd3_proc_fsinfo()
697 resp->status = fh_verify(rqstp, &argp->fh, 0, in nfsd3_proc_fsinfo()
704 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
713 fh_put(&argp->fh); in nfsd3_proc_fsinfo()
727 SVCFH_fmt(&argp->fh)); in nfsd3_proc_pathconf()
737 resp->status = fh_verify(rqstp, &argp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_pathconf()
740 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
755 fh_put(&argp->fh); in nfsd3_proc_pathconf()
770 SVCFH_fmt(&argp->fh), in nfsd3_proc_commit()
774 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_commit()
775 resp->status = nfsd_file_acquire_gc(rqstp, &resp->fh, NFSD_MAY_WRITE | in nfsd3_proc_commit()
779 resp->status = nfsd_commit(rqstp, &resp->fh, nf, argp->offset, in nfsd3_proc_commit()