Home
last modified time | relevance | path

Searched refs:nf_file (Results 1 – 9 of 9) sorted by relevance

/fs/nfsd/
Dfilecache.c182 nf->nf_file = NULL; in nfsd_file_alloc()
204 if (nf->nf_file) { in nfsd_file_free()
205 get_file(nf->nf_file); in nfsd_file_free()
206 filp_close(nf->nf_file, NULL); in nfsd_file_free()
207 fput(nf->nf_file); in nfsd_file_free()
217 struct file *file = nf->nf_file; in nfsd_file_check_writeback()
230 struct file *file = nf->nf_file; in nfsd_file_check_write_error()
299 if (refcount_read(&nf->nf_ref) > 2 || !nf->nf_file) { in nfsd_file_put()
304 filemap_flush(nf->nf_file->f_mapping); in nfsd_file_put()
987 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags)); in nfsd_file_acquire()
[all …]
Dtrace.h654 __field(struct file *, nf_file)
662 __entry->nf_file = nf->nf_file;
670 __entry->nf_file)
699 __field(struct file *, nf_file)
711 __entry->nf_file = nf ? nf->nf_file : NULL;
720 __entry->nf_file, __entry->status)
Dfilecache.h35 struct file *nf_file; member
Dnfs4proc.c1081 if (!S_ISREG(file_inode((*src)->nf_file)->i_mode) || in nfsd4_verify_copy()
1082 !S_ISREG(file_inode((*dst)->nf_file)->i_mode)) { in nfsd4_verify_copy()
1406 nfs42_ssc_close(src->nf_file); in nfsd4_cleanup_inter_ssc()
1408 fput(src->nf_file); in nfsd4_cleanup_inter_ssc()
1509 struct file *dst = copy->nf_dst->nf_file; in _nfsd_copy_file_range()
1510 struct file *src = copy->nf_src->nf_file; in _nfsd_copy_file_range()
1617 copy->nf_src->nf_file = nfs42_ssc_open(copy->ss_mnt, &copy->c_fh, in nfsd4_do_async_copy()
1619 if (IS_ERR(copy->nf_src->nf_file)) { in nfsd4_do_async_copy()
1809 status = nfsd4_vfs_fallocate(rqstp, &cstate->current_fh, nf->nf_file, in nfsd4_fallocate()
1884 seek->seek_pos = vfs_llseek(nf->nf_file, seek->seek_offset, whence); in nfsd4_seek()
[all …]
Dnfs4layouts.c172 vfs_setlease(ls->ls_file->nf_file, F_UNLCK, NULL, (void **)&ls); in nfsd4_free_layout_stateid()
200 fl->fl_file = ls->ls_file->nf_file; in nfsd4_layout_setlease()
629 argv[2] = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail()
Dvfs.c528 struct file *src = nf_src->nf_file; in nfsd4_clone_file_range()
529 struct file *dst = nf_dst->nf_file; in nfsd4_clone_file_range()
963 struct file *file = nf->nf_file; in nfsd_vfs_write()
1072 file = nf->nf_file; in nfsd_read()
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()
Dnfs4state.c1149 vfs_setlease(nf->nf_file, F_UNLCK, NULL, (void **)&dp); in nfs4_unlock_deleg_lease()
1401 get_file(nf->nf_file); in nfs4_free_lock_stateid()
1402 filp_close(nf->nf_file, (fl_owner_t)lo); in nfs4_free_lock_stateid()
2477 seq_printf(s, "filename: \"%pD2\"", f->nf_file); in nfs4_show_fname()
5072 fl->fl_file = dp->dl_stid.sc_file->fi_deleg_file->nf_file; in nfs4_alloc_init_lease()
5080 struct file *f = fp->fi_deleg_file->nf_file; in nfsd4_check_conflicting_opens()
5189 status = vfs_setlease(fp->fi_deleg_file->nf_file, fl->fl_type, &fl, NULL); in nfs4_set_delegation()
5212 vfs_setlease(fp->fi_deleg_file->nf_file, F_UNLCK, NULL, (void **)&dp); in nfs4_set_delegation()
6991 file_lock->fl_file = nf->nf_file; in nfsd4_lock()
7013 err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock); in nfsd4_lock()
[all …]
Dblocklayout.c408 struct block_device *bdev = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
Dnfs4xdr.c3994 file = read->rd_nf->nf_file; in nfsd4_encode_read()
4747 struct file *file = read->rd_nf->nf_file; in nfsd4_encode_read_plus_data()
4792 struct file *file = read->rd_nf->nf_file; in nfsd4_encode_read_plus_hole()
4835 file = read->rd_nf->nf_file; in nfsd4_encode_read_plus()