Home
last modified time | relevance | path

Searched refs:netfs_io_request (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/fs/netfs/
Dobjects.c14 struct netfs_io_request *netfs_alloc_request(struct address_space *mapping, in netfs_alloc_request()
22 struct netfs_io_request *rreq; in netfs_alloc_request()
25 rreq = kzalloc(sizeof(struct netfs_io_request), GFP_KERNEL); in netfs_alloc_request()
52 void netfs_get_request(struct netfs_io_request *rreq, enum netfs_rreq_ref_trace what) in netfs_get_request()
60 void netfs_clear_subrequests(struct netfs_io_request *rreq, bool was_async) in netfs_clear_subrequests()
75 struct netfs_io_request *rreq = in netfs_free_request()
76 container_of(work, struct netfs_io_request, work); in netfs_free_request()
88 void netfs_put_request(struct netfs_io_request *rreq, bool was_async, in netfs_put_request()
111 struct netfs_io_subrequest *netfs_alloc_subrequest(struct netfs_io_request *rreq) in netfs_alloc_subrequest()
140 struct netfs_io_request *rreq = subreq->rreq; in netfs_free_subrequest()
Dio.c44 static void netfs_read_from_cache(struct netfs_io_request *rreq, in netfs_read_from_cache()
63 static void netfs_fill_with_zeroes(struct netfs_io_request *rreq, in netfs_fill_with_zeroes()
87 static void netfs_read_from_server(struct netfs_io_request *rreq, in netfs_read_from_server()
97 static void netfs_rreq_completed(struct netfs_io_request *rreq, bool was_async) in netfs_rreq_completed()
110 static void netfs_rreq_unmark_after_write(struct netfs_io_request *rreq, in netfs_rreq_unmark_after_write()
146 struct netfs_io_request *rreq = subreq->rreq; in netfs_rreq_copy_terminated()
169 static void netfs_rreq_do_write_to_cache(struct netfs_io_request *rreq) in netfs_rreq_do_write_to_cache()
229 struct netfs_io_request *rreq = in netfs_rreq_write_to_cache_work()
230 container_of(work, struct netfs_io_request, work); in netfs_rreq_write_to_cache_work()
235 static void netfs_rreq_write_to_cache(struct netfs_io_request *rreq) in netfs_rreq_write_to_cache()
[all …]
Dinternal.h21 void netfs_rreq_unlock_folios(struct netfs_io_request *rreq);
26 int netfs_begin_read(struct netfs_io_request *rreq, bool sync);
36 struct netfs_io_request *netfs_alloc_request(struct address_space *mapping,
40 void netfs_get_request(struct netfs_io_request *rreq, enum netfs_rreq_ref_trace what);
41 void netfs_clear_subrequests(struct netfs_io_request *rreq, bool was_async);
42 void netfs_put_request(struct netfs_io_request *rreq, bool was_async,
44 struct netfs_io_subrequest *netfs_alloc_subrequest(struct netfs_io_request *rreq);
46 static inline void netfs_see_request(struct netfs_io_request *rreq, in netfs_see_request()
Dbuffered_read.c16 void netfs_rreq_unlock_folios(struct netfs_io_request *rreq) in netfs_rreq_unlock_folios()
107 static void netfs_cache_expand_readahead(struct netfs_io_request *rreq, in netfs_cache_expand_readahead()
116 static void netfs_rreq_expand(struct netfs_io_request *rreq, in netfs_rreq_expand()
167 struct netfs_io_request *rreq; in netfs_readahead()
227 struct netfs_io_request *rreq; in netfs_read_folio()
346 struct netfs_io_request *rreq; in netfs_write_begin()
/linux-6.6.21/include/linux/
Dnetfs.h149 struct netfs_io_request *rreq; /* Supervising I/O request */
177 struct netfs_io_request { struct
209 int (*init_request)(struct netfs_io_request *rreq, struct file *file); argument
210 void (*free_request)(struct netfs_io_request *rreq);
211 int (*begin_cache_operation)(struct netfs_io_request *rreq);
213 void (*expand_readahead)(struct netfs_io_request *rreq);
216 bool (*is_still_valid)(struct netfs_io_request *rreq);
219 void (*done)(struct netfs_io_request *rreq);
/linux-6.6.21/fs/9p/
Dvfs_addr.c34 struct netfs_io_request *rreq = subreq->rreq; in v9fs_issue_read()
57 static int v9fs_init_request(struct netfs_io_request *rreq, struct file *file) in v9fs_init_request()
78 static void v9fs_free_request(struct netfs_io_request *rreq) in v9fs_free_request()
89 static int v9fs_begin_cache_operation(struct netfs_io_request *rreq) in v9fs_begin_cache_operation()
/linux-6.6.21/fs/ceph/
Dcache.h60 static inline int ceph_begin_cache_operation(struct netfs_io_request *rreq) in ceph_begin_cache_operation()
138 static inline int ceph_begin_cache_operation(struct netfs_io_request *rreq) in ceph_begin_cache_operation()
Daddr.c186 static void ceph_netfs_expand_readahead(struct netfs_io_request *rreq) in ceph_netfs_expand_readahead()
293 struct netfs_io_request *rreq = subreq->rreq; in ceph_netfs_issue_op_inline()
348 struct netfs_io_request *rreq = subreq->rreq; in ceph_netfs_issue_read()
435 static int ceph_init_request(struct netfs_io_request *rreq, struct file *file) in ceph_init_request()
493 static void ceph_netfs_free_request(struct netfs_io_request *rreq) in ceph_netfs_free_request()
/linux-6.6.21/include/trace/events/
Dnetfs.h128 TP_PROTO(struct netfs_io_request *rreq,
161 TP_PROTO(struct netfs_io_request *rreq,
227 TP_PROTO(struct netfs_io_request *rreq,
/linux-6.6.21/fs/nfs/
Dfscache.c264 static int nfs_netfs_init_request(struct netfs_io_request *rreq, struct file *file) in nfs_netfs_init_request()
272 static void nfs_netfs_free_request(struct netfs_io_request *rreq) in nfs_netfs_free_request()
277 static inline int nfs_netfs_begin_cache_operation(struct netfs_io_request *rreq) in nfs_netfs_begin_cache_operation()
/linux-6.6.21/Documentation/filesystems/
Dnetfs_library.rst162 netfs_io_request struct allocated. If some parts of the request are in
184 struct netfs_io_request {
239 struct netfs_io_request *rreq;
296 void (*init_request)(struct netfs_io_request *rreq, struct file *file);
297 void (*free_request)(struct netfs_io_request *rreq);
298 int (*begin_cache_operation)(struct netfs_io_request *rreq);
299 void (*expand_readahead)(struct netfs_io_request *rreq);
302 bool (*is_still_valid)(struct netfs_io_request *rreq);
305 void (*done)(struct netfs_io_request *rreq);
467 int fscache_begin_read_operation(struct netfs_io_request *rreq,
[all …]
/linux-6.6.21/fs/afs/
Dfile.c363 static int afs_init_request(struct netfs_io_request *rreq, struct file *file) in afs_init_request()
369 static int afs_begin_cache_operation(struct netfs_io_request *rreq) in afs_begin_cache_operation()
389 static void afs_free_request(struct netfs_io_request *rreq) in afs_free_request()