Searched refs:nf_file (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/fs/nfsd/ |
D | trace.h | 831 __field(struct file *, nf_file) 838 __entry->nf_file = nf->nf_file; 845 __entry->nf_file) 901 __field(const void *, nf_file) 912 __entry->nf_file = nf ? nf->nf_file : NULL; 921 __entry->nf_file, __entry->status 967 __field(const void *, nf_file) 976 __entry->nf_file = nf->nf_file; 982 show_nfsd_may_flags(__entry->nf_may), __entry->nf_file 994 __field(void *, nf_file) /* cannot be dereferenced */ [all …]
|
D | filecache.c | 296 nf->nf_file = NULL; in nfsd_file_alloc() 315 struct file *file = nf->nf_file; in nfsd_file_fsync() 329 struct file *file = nf->nf_file; in nfsd_file_check_write_error() 382 if (nf->nf_file) { in nfsd_file_free() 383 get_file(nf->nf_file); in nfsd_file_free() 384 filp_close(nf->nf_file, NULL); in nfsd_file_free() 385 fput(nf->nf_file); in nfsd_file_free() 401 struct file *file = nf->nf_file; in nfsd_file_check_writeback() 1135 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags)); in nfsd_file_do_acquire() 1157 nf->nf_file = file; in nfsd_file_do_acquire() [all …]
|
D | filecache.h | 35 struct file *nf_file; member
|
D | nfs4layouts.c | 173 vfs_setlease(ls->ls_file->nf_file, F_UNLCK, NULL, (void **)&ls); in nfsd4_free_layout_stateid() 201 fl->fl_file = ls->ls_file->nf_file; in nfsd4_layout_setlease() 630 argv[2] = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail()
|
D | vfs.c | 539 struct file *src = nf_src->nf_file; in nfsd4_clone_file_range() 540 struct file *dst = nf_dst->nf_file; in nfsd4_clone_file_range() 995 struct file *file = nf->nf_file; in nfsd_vfs_write() 1092 file = nf->nf_file; in nfsd_read() 1178 errseq_t since = READ_ONCE(nf->nf_file->f_wb_err); in nfsd_commit() 1181 err2 = vfs_fsync_range(nf->nf_file, start, end, 0); in nfsd_commit() 1185 err2 = filemap_check_wb_err(nf->nf_file->f_mapping, in nfsd_commit()
|
D | nfs4proc.c | 1220 if (!S_ISREG(file_inode((*src)->nf_file)->i_mode) || in nfsd4_verify_copy() 1221 !S_ISREG(file_inode((*dst)->nf_file)->i_mode)) { in nfsd4_verify_copy() 1778 nfserr = nfsd4_do_copy(copy, filp, copy->nf_dst->nf_file, in nfsd4_do_async_copy() 1782 nfserr = nfsd4_do_copy(copy, copy->nf_src->nf_file, in nfsd4_do_async_copy() 1783 copy->nf_dst->nf_file, false); in nfsd4_do_async_copy() 1846 status = nfsd4_do_copy(copy, copy->nf_src->nf_file, in nfsd4_copy() 1847 copy->nf_dst->nf_file, true); in nfsd4_copy() 1959 status = nfsd4_vfs_fallocate(rqstp, &cstate->current_fh, nf->nf_file, in nfsd4_fallocate() 2034 seek->seek_pos = vfs_llseek(nf->nf_file, seek->seek_offset, whence); in nfsd4_seek() 2037 else if (seek->seek_pos >= i_size_read(file_inode(nf->nf_file))) in nfsd4_seek()
|
D | nfs4state.c | 1253 vfs_setlease(nf->nf_file, F_UNLCK, NULL, (void **)&dp); in nfs4_unlock_deleg_lease() 1505 get_file(nf->nf_file); in nfs4_free_lock_stateid() 1506 filp_close(nf->nf_file, (fl_owner_t)lo); in nfs4_free_lock_stateid() 2589 seq_printf(s, "filename: \"%pD2\"", f->nf_file); in nfs4_show_fname() 2594 struct inode *inode = file_inode(f->nf_file); in nfs4_show_superblock() 5309 fl->fl_file = dp->dl_stid.sc_file->fi_deleg_file->nf_file; in nfs4_alloc_init_lease() 5317 struct file *f = fp->fi_deleg_file->nf_file; in nfsd4_check_conflicting_opens() 5394 if (child != file_dentry(fp->fi_deleg_file->nf_file)) in nfsd4_verify_deleg_dentry() 5457 status = vfs_setlease(fp->fi_deleg_file->nf_file, fl->fl_type, &fl, NULL); in nfs4_set_delegation() 5487 vfs_setlease(fp->fi_deleg_file->nf_file, F_UNLCK, NULL, (void **)&dp); in nfs4_set_delegation() [all …]
|
D | blocklayout.c | 331 struct block_device *bdev = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
|
D | nfs4xdr.c | 4035 file = read->rd_nf->nf_file; in nfsd4_encode_read() 4786 struct file *file = read->rd_nf->nf_file; in nfsd4_encode_read_plus_data() 4831 struct file *file = read->rd_nf->nf_file; in nfsd4_encode_read_plus_hole() 4874 file = read->rd_nf->nf_file; in nfsd4_encode_read_plus()
|