Home
last modified time | relevance | path

Searched refs:nfsd_file (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/fs/nfsd/
H A Dfilecache.h10 * the inode, and for each nfsd_file to hold a reference to it.
31 struct nfsd_file { struct
56 void nfsd_file_put(struct nfsd_file *nf);
57 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
61 unsigned int may_flags, struct nfsd_file **nfp);
63 unsigned int may_flags, struct nfsd_file **nfp);
66 struct nfsd_file **nfp);
H A Dfilecache.c7 * An nfsd_file object is a per-file collection of open state that binds
15 * nfsd_file objects are reference-counted. Consumers acquire a new
18 * nfsd_file_get and nfsd_file_put. There are two varieties of nfsd_file
23 * collected nfsd_file. The final nfsd_file_put releases the open
27 * of open state, it acquires a garbage-collected nfsd_file. The
101 .key_len = sizeof_field(struct nfsd_file, nf_inode),
102 .key_offset = offsetof(struct nfsd_file, nf_inode),
103 .head_offset = offsetof(struct nfsd_file, nf_rlist),
124 struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rc in nfsd_file_slab_free()
[all...]
H A Dvfs.h39 struct nfsd_file;
78 struct nfsd_file *nf_src, u64 src_pos,
79 struct nfsd_file *nf_dst, u64 dst_pos,
92 struct nfsd_file *nf, u64 offset, u32 count,
124 struct nfsd_file *nf, loff_t offset,
H A Dstate.h558 struct nfsd_file *fi_fds[3];
568 struct nfsd_file *fi_deleg_file;
621 struct nfsd_file *ls_file;
674 stateid_t *stateid, int flags, struct nfsd_file **filp,
717 struct nfsd_file *find_any_file(struct nfs4_file *f);
H A Dnfs4state.c602 static struct nfsd_file *
605 struct nfsd_file *ret; in find_writeable_file_locked()
615 static struct nfsd_file *
618 struct nfsd_file *ret; in find_writeable_file()
627 static struct nfsd_file *
630 struct nfsd_file *ret; in find_readable_file_locked()
640 static struct nfsd_file *
643 struct nfsd_file *ret; in find_readable_file()
652 static struct nfsd_file *
655 struct nfsd_file *re in find_rw_file()
[all...]
H A Dtrace.h884 TP_PROTO(struct nfsd_file *nf),
910 TP_PROTO(struct nfsd_file *nf), \
921 const struct nfsd_file *nf
948 const struct nfsd_file *nf,
1017 const struct nfsd_file *nf
1047 TP_PROTO(const struct nfsd_file *nf, __be32 status),
1074 const struct nfsd_file *nf, \
1123 const struct nfsd_file *nf
1148 const struct nfsd_file *nf \
H A Dxdr4.h305 struct nfsd_file *rd_nf;
565 struct nfsd_file *nf_src;
566 struct nfsd_file *nf_dst;
H A Dvfs.c612 struct nfsd_file *nf_src, u64 src_pos, in nfsd4_clone_file_range()
613 struct nfsd_file *nf_dst, u64 dst_pos, in nfsd4_clone_file_range()
1111 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_vfs_write()
1217 struct nfsd_file *nf; in nfsd_read()
1247 struct nfsd_file *nf; in nfsd_write()
1285 nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_commit()
H A Dnfs4proc.c768 struct nfsd_file *nf; in nfsd4_commit()
1186 struct nfsd_file *nf = NULL; in nfsd4_write()
1222 stateid_t *src_stateid, struct nfsd_file **src, in nfsd4_verify_copy()
1223 stateid_t *dst_stateid, struct nfsd_file **dst) in nfsd4_verify_copy()
1263 struct nfsd_file *src, *dst; in nfsd4_clone()
1542 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
1575 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
1964 struct nfsd_file *nf; in nfsd4_fallocate()
2023 struct nfsd_file *nf; in nfsd4_seek()
H A Dnfs3proc.c757 struct nfsd_file *nf; in nfsd3_proc_commit()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dfilecache.c85 struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rcu); in nfsd_file_slab_free()
118 nfsd_file_mark_find_or_create(struct nfsd_file *nf) in nfsd_file_mark_find_or_create()
172 static struct nfsd_file *
176 struct nfsd_file *nf; in nfsd_file_alloc()
203 nfsd_file_free(struct nfsd_file *nf) in nfsd_file_free()
221 nfsd_file_check_writeback(struct nfsd_file *nf) in nfsd_file_check_writeback()
234 nfsd_file_check_write_error(struct nfsd_file *nf) in nfsd_file_check_write_error()
244 nfsd_file_do_unhash(struct nfsd_file *nf) in nfsd_file_do_unhash()
258 nfsd_file_unhash(struct nfsd_file *n
[all...]
H A Dfilecache.h10 * the inode, and for each nfsd_file to hold a reference to it.
31 struct nfsd_file { struct
56 void nfsd_file_put(struct nfsd_file *nf);
57 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
61 unsigned int may_flags, struct nfsd_file **nfp);
H A Dvfs.h37 struct nfsd_file;
60 __be32 nfsd4_clone_file_range(struct nfsd_file *nf_src, u64 src_pos,
61 struct nfsd_file *nf_dst, u64 dst_pos,
110 struct nfsd_file *nf, loff_t offset,
H A Dstate.h524 struct nfsd_file *fi_fds[3];
534 struct nfsd_file *fi_deleg_file;
583 struct nfsd_file *ls_file;
634 stateid_t *stateid, int flags, struct nfsd_file **filp,
683 struct nfsd_file *find_any_file(struct nfs4_file *f);
H A Dnfs4state.c434 static struct nfsd_file *
442 static struct nfsd_file *
445 struct nfsd_file *ret; in find_writeable_file_locked()
455 static struct nfsd_file *
458 struct nfsd_file *ret; in find_writeable_file()
467 static struct nfsd_file *
470 struct nfsd_file *ret; in find_readable_file_locked()
480 static struct nfsd_file *
483 struct nfsd_file *ret; in find_readable_file()
492 struct nfsd_file *
[all...]
H A Dxdr4.h307 struct nfsd_file *rd_nf;
569 struct nfsd_file *nf_src;
570 struct nfsd_file *nf_dst;
H A Dnfs4proc.c1006 struct nfsd_file *nf = NULL; in nfsd4_write()
1045 stateid_t *src_stateid, struct nfsd_file **src, in nfsd4_verify_copy()
1046 stateid_t *dst_stateid, struct nfsd_file **dst) in nfsd4_verify_copy()
1090 struct nfsd_file *src, *dst; in nfsd4_clone()
1294 nfsd4_cleanup_inter_ssc(struct vfsmount *ss_mnt, struct nfsd_file *src, in nfsd4_cleanup_inter_ssc()
1295 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
1316 nfsd4_cleanup_inter_ssc(struct vfsmount *ss_mnt, struct nfsd_file *src, in nfsd4_cleanup_inter_ssc()
1317 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
1340 nfsd4_cleanup_intra_ssc(struct nfsd_file *src, struct nfsd_file *ds
[all...]
H A Dtrace.h417 TP_PROTO(struct nfsd_file *nf),
446 TP_PROTO(struct nfsd_file *nf), \
458 struct nfsd_file *nf, __be32 status),
H A Dvfs.c533 __be32 nfsd4_clone_file_range(struct nfsd_file *nf_src, u64 src_pos, in nfsd4_clone_file_range()
534 struct nfsd_file *nf_dst, u64 dst_pos, u64 count, bool sync) in nfsd4_clone_file_range()
983 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_vfs_write()
1079 struct nfsd_file *nf; in nfsd_read()
1111 struct nfsd_file *nf; in nfsd_write()
1142 struct nfsd_file *nf; in nfsd_commit()

Completed in 37 milliseconds