Home
last modified time | relevance | path

Searched refs:nfsd_file (Results 1 – 23 of 23) sorted by relevance

/linux-6.15/fs/nfsd/
H A Dfilecache.h37 struct nfsd_file { struct
64 void nfsd_file_put(struct nfsd_file *nf); argument
65 struct net *nfsd_file_put_local(struct nfsd_file *nf);
66 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
67 struct file *nfsd_file_file(struct nfsd_file *nf);
72 unsigned int may_flags, struct nfsd_file **nfp);
74 unsigned int may_flags, struct nfsd_file **nfp);
77 struct nfsd_file **nfp);
80 unsigned int may_flags, struct nfsd_file **pnf);
H A Dfilecache.c123 struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rcu); in nfsd_file_slab_free()
210 static struct nfsd_file *
214 struct nfsd_file *nf; in nfsd_file_alloc()
341 struct nfsd_file *
404 struct nfsd_file *nf; in nfsd_file_dispose_list()
491 struct nfsd_file *nf = list_entry(item, struct nfsd_file, nf_lru); in nfsd_file_lru_cb()
533 struct nfsd_file *nf = list_entry(item, struct nfsd_file, nf_lru); in nfsd_file_gc_cb()
667 struct nfsd_file *nf; in nfsd_file_queue_for_close()
860 struct nfsd_file *nf; in __nfsd_file_cache_purge()
991 struct nfsd_file *nf; in nfsd_file_lookup_locked()
[all …]
H A Dvfs.h41 struct nfsd_file;
88 struct nfsd_file *nf_src, u64 src_pos,
89 struct nfsd_file *nf_dst, u64 dst_pos,
102 struct nfsd_file *nf, u64 offset, u32 count,
135 struct nfsd_file *nf, loff_t offset,
H A Dlocalio.c60 struct nfsd_file *
68 struct nfsd_file *localio; in nfsd_open_local_fh()
H A Dstate.h638 struct nfsd_file *fi_fds[3];
648 struct nfsd_file *fi_deleg_file;
701 struct nfsd_file *ls_file;
755 stateid_t *stateid, int flags, struct nfsd_file **filp,
805 struct nfsd_file *find_any_file(struct nfs4_file *f);
H A Dpnfs.h41 struct nfsd_file *file);
H A Dnfs4state.c586 static struct nfsd_file *
589 struct nfsd_file *ret; in find_writeable_file_locked()
599 static struct nfsd_file *
602 struct nfsd_file *ret; in find_writeable_file()
614 struct nfsd_file *ret; in find_readable_file_locked()
627 struct nfsd_file *ret; in find_readable_file()
639 struct nfsd_file *ret; in find_rw_file()
648 struct nfsd_file *
651 struct nfsd_file *ret; in find_any_file()
1523 struct nfsd_file *nf; in nfs4_free_lock_stateid()
[all …]
H A Dnfs4layouts.c157 struct nfsd_file *fl; in nfsd4_close_layout()
623 nfsd4_cb_layout_fail(struct nfs4_layout_stateid *ls, struct nfsd_file *file) in nfsd4_cb_layout_fail()
675 struct nfsd_file *fl; in nfsd4_cb_layout_done()
H A Dtrace.h1057 TP_PROTO(struct nfsd_file *nf),
1083 TP_PROTO(struct nfsd_file *nf), \
1094 const struct nfsd_file *nf
1121 const struct nfsd_file *nf,
1190 const struct nfsd_file *nf
1220 TP_PROTO(const struct nfsd_file *nf, __be32 status),
1247 const struct nfsd_file *nf, \
1296 const struct nfsd_file *nf
1321 const struct nfsd_file *nf \
H A Dxdr4.h424 struct nfsd_file *rd_nf;
708 struct nfsd_file *nf_src;
709 struct nfsd_file *nf_dst;
H A Dvfs.c647 struct nfsd_file *nf_src, u64 src_pos, in nfsd4_clone_file_range()
648 struct nfsd_file *nf_dst, u64 dst_pos, in nfsd4_clone_file_range()
1143 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_vfs_write()
1266 struct nfsd_file *nf; in nfsd_read()
1296 struct nfsd_file *nf; in nfsd_write()
1334 nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_commit()
H A Dnfs4proc.c762 struct nfsd_file *nf; in nfsd4_commit()
1211 struct nfsd_file *nf = NULL; in nfsd4_write()
1247 stateid_t *src_stateid, struct nfsd_file **src, in nfsd4_verify_copy()
1248 stateid_t *dst_stateid, struct nfsd_file **dst) in nfsd4_verify_copy()
1288 struct nfsd_file *src, *dst; in nfsd4_clone()
1637 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
1670 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
2099 struct nfsd_file *nf; in nfsd4_fallocate()
2163 struct nfsd_file *nf; in nfsd4_seek()
H A Dblocklayout.c329 nfsd4_scsi_fence_client(struct nfs4_layout_stateid *ls, struct nfsd_file *file) in nfsd4_scsi_fence_client()
H A Dnfs3proc.c803 struct nfsd_file *nf; in nfsd3_proc_commit()
/linux-6.15/include/linux/
H A Dnfslocalio.h53 extern struct nfsd_file *
62 struct nfsd_file *(*nfsd_open_local_fh)(struct net *,
68 struct net *(*nfsd_file_put_local)(struct nfsd_file *);
69 struct nfsd_file *(*nfsd_file_get)(struct nfsd_file *);
70 void (*nfsd_file_put)(struct nfsd_file *);
71 struct file *(*nfsd_file_file)(struct nfsd_file *);
77 struct nfsd_file *nfs_open_local_fh(nfs_uuid_t *,
94 static inline void nfs_to_nfsd_file_put_local(struct nfsd_file *localio) in nfs_to_nfsd_file_put_local()
H A Dnfs_fs.h81 struct nfsd_file __rcu *ro_file;
82 struct nfsd_file __rcu *rw_file;
/linux-6.15/fs/nfs/
H A Dlocalio.c39 struct nfsd_file *localio;
43 struct nfsd_file *localio;
210 static inline struct nfsd_file *nfs_local_file_get(struct nfsd_file *nf) in nfs_local_file_get()
226 static struct nfsd_file *
231 struct nfsd_file *localio; in __nfs_local_open_fh()
256 struct nfsd_file *
261 struct nfsd_file *nf, *new, __rcu **pnf; in nfs_local_open_fh()
481 struct nfsd_file *localio, in nfs_do_local_read()
679 struct nfsd_file *localio, in nfs_do_local_write()
830 struct nfsd_file *localio, gfp_t flags) in nfs_local_fsync_ctx_alloc()
[all …]
H A Dinternal.h314 struct nfsd_file *localio);
461 extern struct nfsd_file *nfs_local_open_fh(struct nfs_client *,
467 struct nfsd_file *,
470 extern int nfs_local_commit(struct nfsd_file *,
478 static inline struct nfsd_file *
486 struct nfsd_file *localio, in nfs_local_doio()
492 static inline int nfs_local_commit(struct nfsd_file *localio, in nfs_local_commit()
583 struct nfsd_file *localio);
H A Dpagelist.c735 struct nfsd_file *localio) in nfs_initiate_pgio()
963 struct nfsd_file *localio = in nfs_generic_pg_pgios()
H A Dwrite.c1681 struct nfsd_file *localio) in nfs_initiate_commit()
1812 struct nfsd_file *localio; in nfs_commit_list()
/linux-6.15/fs/nfs_common/
H A Dnfslocalio.c237 struct nfsd_file *nfs_open_local_fh(nfs_uuid_t *uuid, in nfs_open_local_fh()
243 struct nfsd_file *localio; in nfs_open_local_fh()
276 struct nfsd_file *ro_nf = NULL; in nfs_close_local_fh()
277 struct nfsd_file *rw_nf = NULL; in nfs_close_local_fh()
/linux-6.15/Documentation/filesystems/nfs/
H A Dlocalio.rst229 nfsd_file handle and then the caller (NFS client) must drop the
230 reference for the nfsd_file and associated net-ns using
268 Once the client has an open nfsd_file pointer it will issue reads,
/linux-6.15/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c166 static struct nfsd_file *
1811 struct nfsd_file *localio; in ff_layout_read_pagelist()
1889 struct nfsd_file *localio; in ff_layout_write_pagelist()
1980 struct nfsd_file *localio; in ff_layout_initiate_commit()