Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dfilecache.h39 struct nfsd_file { struct
70 void nfsd_file_put(struct nfsd_file *nf); argument
71 struct net *nfsd_file_put_local(struct nfsd_file __rcu **nf);
72 struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
73 struct file *nfsd_file_file(struct nfsd_file *nf);
79 unsigned int may_flags, struct nfsd_file **nfp);
81 unsigned int may_flags, struct nfsd_file **nfp);
84 struct nfsd_file **nfp);
87 unsigned int may_flags, struct nfsd_file **pnf);
89 struct nfsd_file **pnf);
[all …]
H A Dfilecache.c107 .key_len = sizeof_field(struct nfsd_file, nf_inode),
108 .key_offset = offsetof(struct nfsd_file, nf_inode),
109 .head_offset = offsetof(struct nfsd_file, nf_rlist),
130 struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rcu); in nfsd_file_slab_free()
220 static struct nfsd_file *
224 struct nfsd_file *nf; in nfsd_file_alloc()
258 nfsd_file_check_write_error(struct nfsd_file *nf) in nfsd_file_check_write_error()
268 nfsd_file_hash_remove(struct nfsd_file *nf) in nfsd_file_hash_remove()
276 nfsd_file_unhash(struct nfsd_file *nf) in nfsd_file_unhash()
286 nfsd_file_free(struct nfsd_file *nf) in nfsd_file_free()
[all …]
H A Dvfs.h40 struct nfsd_file;
93 struct nfsd_file *nf_src, u64 src_pos,
94 struct nfsd_file *nf_dst, u64 dst_pos,
107 struct nfsd_file *nf, u64 offset, u32 count,
129 struct nfsd_file *nf, loff_t offset,
140 struct nfsd_file *nf, loff_t offset,
H A Dlocalio.c46 static struct nfsd_file *
49 const struct nfs_fh *nfs_fh, struct nfsd_file __rcu **pnf, in nfsd_open_local_fh()
55 struct nfsd_file *localio; in nfsd_open_local_fh()
92 struct nfsd_file *new; in nfsd_open_local_fh()
126 static void nfsd_file_dio_alignment(struct nfsd_file *nf, in nfsd_file_dio_alignment()
H A Dstate.h757 struct nfsd_file *fi_fds[3];
767 struct nfsd_file __rcu *fi_deleg_file;
768 struct nfsd_file *fi_rdeleg_file;
821 struct nfsd_file *ls_file;
882 stateid_t *stateid, int flags, struct nfsd_file **filp,
939 struct nfsd_file *find_any_file(struct nfs4_file *f);
990 struct nfsd_file *nf);
H A Dxdr4.h428 struct nfsd_file *rd_nf;
764 struct nfsd_file *nf_src;
765 struct nfsd_file *nf_dst;
984 struct nfs4_delegation *dd, struct nfsd_file *nf,
987 struct nfsd_file *nf);
H A Dnfs4state.c625 static struct nfsd_file *
628 struct nfsd_file *ret; in find_writeable_file_locked()
638 static struct nfsd_file *
641 struct nfsd_file *ret; in find_writeable_file()
650 static struct nfsd_file *
653 struct nfsd_file *ret; in find_readable_file_locked()
663 static struct nfsd_file *
666 struct nfsd_file *ret; in find_readable_file()
675 struct nfsd_file *
678 struct nfsd_file *ret; in find_any_file()
[all …]
H A Dvfs.c691 struct nfsd_file *nf_src, u64 src_pos, in nfsd4_clone_file_range()
692 struct nfsd_file *nf_dst, u64 dst_pos, in nfsd4_clone_file_range()
1121 struct nfsd_file *nf, loff_t offset, unsigned long *count, in nfsd_direct_read()
1200 struct nfsd_file *nf, loff_t offset, unsigned long *count, in nfsd_iter_read()
1311 nfsd_write_dio_iters_init(struct nfsd_file *nf, struct bio_vec *bvec, in nfsd_write_dio_iters_init()
1377 struct nfsd_file *nf, unsigned int nvecs, in nfsd_direct_write()
1437 struct nfsd_file *nf, loff_t offset, in nfsd_vfs_write()
1595 struct nfsd_file *nf; in nfsd_read()
1635 struct nfsd_file *nf; in nfsd_write()
1673 nfsd_commit(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, in nfsd_commit()
H A Dnfs4layouts.c145 struct nfsd_file *fl; in nfsd4_close_layout()
630 nfsd4_cb_layout_fail(struct nfs4_layout_stateid *ls, struct nfsd_file *file) in nfsd4_cb_layout_fail()
683 struct nfsd_file *fl; in nfsd4_cb_layout_done()
798 struct nfsd_file *nf; in nfsd4_layout_fence_worker()
H A Dtrace.h1119 TP_PROTO(struct nfsd_file *nf),
1145 TP_PROTO(struct nfsd_file *nf), \
1155 const struct nfsd_file *nf
1209 const struct nfsd_file *nf,
1278 const struct nfsd_file *nf
1308 TP_PROTO(const struct nfsd_file *nf, __be32 status),
1335 const struct nfsd_file *nf, \
1406 const struct nfsd_file *nf
1431 const struct nfsd_file *nf \
H A Dnfs4proc.c809 struct nfsd_file *nf; in nfsd4_commit()
1356 struct nfsd_file *nf = NULL; in nfsd4_write()
1392 stateid_t *src_stateid, struct nfsd_file **src, in nfsd4_verify_copy()
1393 stateid_t *dst_stateid, struct nfsd_file **dst) in nfsd4_verify_copy()
1433 struct nfsd_file *src, *dst; in nfsd4_clone()
1880 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
1913 struct nfsd_file *dst) in nfsd4_cleanup_inter_ssc()
2453 struct nfsd_file *nf; in nfsd4_fallocate()
2517 struct nfsd_file *nf; in nfsd4_seek()
2654 struct nfsd_file *nf; in nfsd4_get_dir_delegation()
H A Dnfs3proc.c810 struct nfsd_file *nf; in nfsd3_proc_commit()
H A Dnfs4xdr.c4218 struct nfsd_file *nf, struct nfsd4_fattr_args *args) in setup_notify_fhandle()
4288 struct nfsd_file *nf, char *name, u32 namelen) in nfsd4_setup_notify_entry4()
4383 struct nfs4_delegation *dp, struct nfsd_file *nf, in nfsd4_encode_notify_event()
4475 struct nfsd_file *nf) in nfsd4_encode_dir_attr_change()
/linux/include/linux/
H A Dnfslocalio.h58 struct nfsd_file *(*nfsd_open_local_fh)(struct net *,
63 struct nfsd_file __rcu **pnf,
65 struct net *(*nfsd_file_put_local)(struct nfsd_file __rcu **);
66 struct file *(*nfsd_file_file)(struct nfsd_file *);
67 void (*nfsd_file_dio_alignment)(struct nfsd_file *,
74 struct nfsd_file *nfs_open_local_fh(nfs_uuid_t *,
77 struct nfsd_file __rcu **pnf,
92 static inline void nfs_to_nfsd_file_put_local(struct nfsd_file __rcu **localio) in nfs_to_nfsd_file_put_local()
/linux/fs/nfs/
H A Dlocalio.c41 struct nfsd_file *localio;
52 struct nfsd_file *localio;
218 static inline void nfs_local_file_put(struct nfsd_file *localio) in nfs_local_file_put()
225 struct nfsd_file __rcu *nf = (struct nfsd_file __rcu*) localio; in nfs_local_file_put()
236 static struct nfsd_file *
239 struct nfsd_file __rcu **pnf, in __nfs_local_open_fh()
243 struct nfsd_file *localio; in __nfs_local_open_fh()
269 struct nfsd_file *
274 struct nfsd_file *nf, __rcu **pnf; in nfs_local_open_fh()
964 nfs_local_iocb_init(struct nfs_pgio_header *hdr, struct nfsd_file *localio) in nfs_local_iocb_init()
[all …]
H A Dinternal.h316 struct nfsd_file *localio);
473 extern struct nfsd_file *nfs_local_open_fh(struct nfs_client *,
479 struct nfsd_file *,
482 extern int nfs_local_commit(struct nfsd_file *,
490 static inline struct nfsd_file *
498 struct nfsd_file *localio, in nfs_local_doio()
504 static inline int nfs_local_commit(struct nfsd_file *localio, in nfs_local_commit()
606 struct nfsd_file *localio);
H A Dwrite.c1638 struct nfsd_file *localio) in nfs_initiate_commit()
1769 struct nfsd_file *localio; in nfs_commit_list()
/linux/fs/nfs_common/
H A Dnfslocalio.c265 struct nfsd_file *nfs_open_local_fh(nfs_uuid_t *uuid, in nfs_open_local_fh()
268 struct nfsd_file __rcu **pnf, in nfs_open_local_fh()
272 struct nfsd_file *localio; in nfs_open_local_fh()
305 struct nfsd_file __rcu *tmp = in nfs_open_local_fh()
306 (struct nfsd_file __force __rcu *)localio; in nfs_open_local_fh()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c166 static struct nfsd_file *
2168 struct nfsd_file *localio; in ff_layout_read_pagelist()
2263 struct nfsd_file *localio; in ff_layout_write_pagelist()
2365 struct nfsd_file *localio; in ff_layout_initiate_commit()