Searched refs:nf_file (Results 1 – 9 of 9) sorted by relevance
/fs/nfsd/ |
D | filecache.c | 182 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 …]
|
D | trace.h | 654 __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)
|
D | filecache.h | 35 struct file *nf_file; member
|
D | nfs4proc.c | 1081 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, ©->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 …]
|
D | nfs4layouts.c | 172 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()
|
D | vfs.c | 528 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()
|
D | nfs4state.c | 1149 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 …]
|
D | blocklayout.c | 408 struct block_device *bdev = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
|
D | nfs4xdr.c | 3994 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()
|