Lines Matching refs:nf
958 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_vfs_write() argument
963 struct file *file = nf->nf_file; in nfsd_vfs_write()
1063 struct nfsd_file *nf; in nfsd_read() local
1068 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf); in nfsd_read()
1072 file = nf->nf_file; in nfsd_read()
1078 nfsd_file_put(nf); in nfsd_read()
1095 struct nfsd_file *nf; in nfsd_write() local
1100 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_WRITE, &nf); in nfsd_write()
1104 err = nfsd_vfs_write(rqstp, fhp, nf, offset, vec, in nfsd_write()
1106 nfsd_file_put(nf); in nfsd_write()
1139 struct nfsd_file *nf; in nfsd_commit() local
1143 NFSD_MAY_WRITE|NFSD_MAY_NOT_BREAK_LEASE, &nf); in nfsd_commit()
1162 nn = net_generic(nf->nf_net, nfsd_net_id); in nfsd_commit()
1164 errseq_t since = READ_ONCE(nf->nf_file->f_wb_err); in nfsd_commit()
1167 err2 = vfs_fsync_range(nf->nf_file, start, end, 0); in nfsd_commit()
1171 err2 = filemap_check_wb_err(nf->nf_file->f_mapping, in nfsd_commit()
1185 nfsd_file_put(nf); in nfsd_commit()