Lines Matching refs:nf

942 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf,  in nfsd_vfs_write()  argument
947 struct file *file = nf->nf_file; in nfsd_vfs_write()
989 down_write(&nf->nf_rwsem); in nfsd_vfs_write()
994 up_write(&nf->nf_rwsem); in nfsd_vfs_write()
996 down_read(&nf->nf_rwsem); in nfsd_vfs_write()
1002 up_read(&nf->nf_rwsem); in nfsd_vfs_write()
1042 struct nfsd_file *nf; in nfsd_read() local
1047 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf); in nfsd_read()
1051 file = nf->nf_file; in nfsd_read()
1057 nfsd_file_put(nf); in nfsd_read()
1074 struct nfsd_file *nf; in nfsd_write() local
1079 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_WRITE, &nf); in nfsd_write()
1083 err = nfsd_vfs_write(rqstp, fhp, nf, offset, vec, in nfsd_write()
1085 nfsd_file_put(nf); in nfsd_write()
1093 nfsd_filemap_write_and_wait_range(struct nfsd_file *nf, loff_t offset, in nfsd_filemap_write_and_wait_range() argument
1096 struct address_space *mapping = nf->nf_file->f_mapping; in nfsd_filemap_write_and_wait_range()
1118 struct nfsd_file *nf; in nfsd_commit() local
1131 NFSD_MAY_WRITE|NFSD_MAY_NOT_BREAK_LEASE, &nf); in nfsd_commit()
1135 int err2 = nfsd_filemap_write_and_wait_range(nf, offset, end); in nfsd_commit()
1137 down_write(&nf->nf_rwsem); in nfsd_commit()
1139 err2 = vfs_fsync_range(nf->nf_file, offset, end, 0); in nfsd_commit()
1142 nfsd_copy_boot_verifier(verf, net_generic(nf->nf_net, in nfsd_commit()
1150 nfsd_reset_boot_verifier(net_generic(nf->nf_net, in nfsd_commit()
1153 up_write(&nf->nf_rwsem); in nfsd_commit()
1155 nfsd_copy_boot_verifier(verf, net_generic(nf->nf_net, in nfsd_commit()
1158 nfsd_file_put(nf); in nfsd_commit()