Home
last modified time | relevance | path

Searched refs:netfs_io_subrequest (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.12.1/include/linux/
Dnetfs.h133 struct netfs_io_subrequest *construct; /* Op being constructed */
139 void (*prepare_write)(struct netfs_io_subrequest *subreq);
140 void (*issue_write)(struct netfs_io_subrequest *subreq);
143 struct netfs_io_subrequest *front; /* Op being collected */
173 struct netfs_io_subrequest { struct
298 void (*free_subrequest)(struct netfs_io_subrequest *rreq);
302 int (*prepare_read)(struct netfs_io_subrequest *subreq);
303 void (*issue_read)(struct netfs_io_subrequest *subreq);
315 void (*prepare_write)(struct netfs_io_subrequest *subreq);
316 void (*issue_write)(struct netfs_io_subrequest *subreq);
[all …]
/linux-6.12.1/fs/netfs/
Dread_retry.c13 struct netfs_io_subrequest *subreq) in netfs_reissue_read()
35 struct netfs_io_subrequest *subreq; in netfs_retry_read_subrequests()
53 struct netfs_io_subrequest *subreq; in netfs_retry_read_subrequests()
83 struct netfs_io_subrequest *from; in netfs_retry_read_subrequests()
93 from = list_first_entry(&queue, struct netfs_io_subrequest, rreq_link); in netfs_retry_read_subrequests()
108 &queue, struct netfs_io_subrequest, rreq_link))) { in netfs_retry_read_subrequests()
131 &sublist, struct netfs_io_subrequest, rreq_link))) { in netfs_retry_read_subrequests()
198 &sublist, struct netfs_io_subrequest, rreq_link))) { in netfs_retry_read_subrequests()
Dobjects.c91 struct netfs_io_subrequest *subreq; in netfs_clear_subrequests()
97 struct netfs_io_subrequest, rreq_link); in netfs_clear_subrequests()
107 struct netfs_io_subrequest, rreq_link); in netfs_clear_subrequests()
179 struct netfs_io_subrequest *netfs_alloc_subrequest(struct netfs_io_request *rreq) in netfs_alloc_subrequest()
181 struct netfs_io_subrequest *subreq; in netfs_alloc_subrequest()
204 void netfs_get_subrequest(struct netfs_io_subrequest *subreq, in netfs_get_subrequest()
214 static void netfs_free_subrequest(struct netfs_io_subrequest *subreq, in netfs_free_subrequest()
227 void netfs_put_subrequest(struct netfs_io_subrequest *subreq, bool was_async, in netfs_put_subrequest()
Dwrite_collect.c173 struct netfs_io_subrequest *subreq; in netfs_retry_write_stream()
193 struct netfs_io_subrequest *subreq = NULL, *from, *to, *tmp; in netfs_retry_write_stream()
203 from = list_entry(next, struct netfs_io_subrequest, rreq_link); in netfs_retry_write_stream()
213 subreq = list_entry(next, struct netfs_io_subrequest, rreq_link); in netfs_retry_write_stream()
334 struct netfs_io_subrequest *subreq; in netfs_retry_writes()
377 struct netfs_io_subrequest *front, *remove; in netfs_collect_write_results()
458 struct netfs_io_subrequest, rreq_link); in netfs_collect_write_results()
662 struct netfs_io_subrequest *subreq = _op; in netfs_write_subrequest_terminated()
Dread_collect.c20 static void netfs_clear_unread(struct netfs_io_subrequest *subreq) in netfs_clear_unread()
34 static void netfs_unlock_read_folio(struct netfs_io_subrequest *subreq, in netfs_unlock_read_folio()
88 static bool netfs_consume_read_data(struct netfs_io_subrequest *subreq, bool was_async) in netfs_consume_read_data()
90 struct netfs_io_subrequest *prev, *next; in netfs_consume_read_data()
320 struct netfs_io_subrequest *subreq; in netfs_rreq_assess_dio()
429 void netfs_read_subreq_progress(struct netfs_io_subrequest *subreq, in netfs_read_subreq_progress()
466 void netfs_read_subreq_terminated(struct netfs_io_subrequest *subreq, in netfs_read_subreq_terminated()
Dwrite_issue.c140 void netfs_prepare_write_failed(struct netfs_io_subrequest *subreq) in netfs_prepare_write_failed()
155 struct netfs_io_subrequest *subreq; in netfs_prepare_write()
223 struct netfs_io_subrequest *subreq) in netfs_do_issue_write()
237 struct netfs_io_subrequest *subreq, in netfs_reissue_write()
254 struct netfs_io_subrequest *subreq = stream->construct; in netfs_issue_write()
273 struct netfs_io_subrequest *subreq = stream->construct; in netfs_advance_write()
Dinternal.h66 void netfs_reset_iter(struct netfs_io_subrequest *subreq);
79 struct netfs_io_subrequest *netfs_alloc_subrequest(struct netfs_io_request *rreq);
96 void netfs_pgpriv2_mark_copy_to_cache(struct netfs_io_subrequest *subreq,
180 struct netfs_io_subrequest *subreq,
Ddirect_read.c19 static void netfs_prepare_dio_read_iterator(struct netfs_io_subrequest *subreq) in netfs_prepare_dio_read_iterator()
57 struct netfs_io_subrequest *subreq; in netfs_dispatch_unbuffered_reads()
Dbuffered_read.c112 static ssize_t netfs_prepare_read_iterator(struct netfs_io_subrequest *subreq) in netfs_prepare_read_iterator()
178 struct netfs_io_subrequest *subreq, in netfs_cache_prepare_read()
191 struct netfs_io_subrequest *subreq = priv; in netfs_cache_read_terminated()
208 struct netfs_io_subrequest *subreq) in netfs_read_cache_to_pagecache()
232 struct netfs_io_subrequest *subreq; in netfs_read_to_pagecache()
Dmain.c119 sizeof(struct netfs_io_subrequest), 0, in netfs_init()
Dread_pgpriv2.c21 void netfs_pgpriv2_mark_copy_to_cache(struct netfs_io_subrequest *subreq, in netfs_pgpriv2_mark_copy_to_cache()
Dmisc.c125 void netfs_reset_iter(struct netfs_io_subrequest *subreq) in netfs_reset_iter()
/linux-6.12.1/fs/afs/
Dwrite.c90 void afs_prepare_write(struct netfs_io_subrequest *subreq) in afs_prepare_write()
105 struct netfs_io_subrequest *subreq = container_of(work, struct netfs_io_subrequest, work); in afs_issue_write_worker()
169 void afs_issue_write(struct netfs_io_subrequest *subreq) in afs_issue_write()
192 struct netfs_io_subrequest *subreq = in afs_retry_request()
194 struct netfs_io_subrequest, rreq_link); in afs_retry_request()
Dfile.c241 struct netfs_io_subrequest *subreq = req->subreq; in afs_fetch_data_notify()
318 struct netfs_io_subrequest *subreq = container_of(work, struct netfs_io_subrequest, work); in afs_read_worker()
338 static void afs_issue_read(struct netfs_io_subrequest *subreq) in afs_issue_read()
Dinternal.h245 struct netfs_io_subrequest *subreq; /* Fscache helper read request this belongs to */
1605 void afs_prepare_write(struct netfs_io_subrequest *subreq);
1606 void afs_issue_write(struct netfs_io_subrequest *subreq);
/linux-6.12.1/fs/9p/
Dvfs_addr.c54 static void v9fs_issue_write(struct netfs_io_subrequest *subreq) in v9fs_issue_write()
67 static void v9fs_issue_read(struct netfs_io_subrequest *subreq) in v9fs_issue_read()
/linux-6.12.1/fs/nfs/
Dfscache.c280 static struct nfs_netfs_io_data *nfs_netfs_alloc(struct netfs_io_subrequest *sreq) in nfs_netfs_alloc()
292 static void nfs_netfs_issue_read(struct netfs_io_subrequest *sreq) in nfs_netfs_issue_read()
354 struct netfs_io_subrequest *sreq; in nfs_netfs_read_completion()
Dfscache.h46 struct netfs_io_subrequest *sreq;
/linux-6.12.1/include/trace/events/
Dnetfs.h308 TP_PROTO(struct netfs_io_subrequest *sreq,
348 struct netfs_io_subrequest *sreq,
546 const struct netfs_io_subrequest *subreq),
684 TP_PROTO(const struct netfs_io_subrequest *subreq,
719 const struct netfs_io_subrequest *from,
720 const struct netfs_io_subrequest *to,
/linux-6.12.1/include/net/9p/
Dclient.h210 struct netfs_io_subrequest;
211 void p9_client_write_subreq(struct netfs_io_subrequest *subreq);
/linux-6.12.1/fs/cachefiles/
Dio.c496 static enum netfs_io_source cachefiles_prepare_read(struct netfs_io_subrequest *subreq, in cachefiles_prepare_read()
626 static void cachefiles_prepare_write_subreq(struct netfs_io_subrequest *subreq) in cachefiles_prepare_write_subreq()
645 static void cachefiles_issue_write(struct netfs_io_subrequest *subreq) in cachefiles_issue_write()
/linux-6.12.1/Documentation/filesystems/
Dnetfs_library.rst168 * void netfs_subreq_terminated(struct netfs_io_subrequest *subreq,
238 struct netfs_io_subrequest {
299 bool (*clamp_length)(struct netfs_io_subrequest *subreq);
300 void (*issue_read)(struct netfs_io_subrequest *subreq);
475 enum netfs_io_source (*prepare_read)(struct netfs_io_subrequest *subreq,
/linux-6.12.1/fs/ceph/
Daddr.c214 struct netfs_io_subrequest *subreq = req->r_priv; in finish_netfs_read()
262 static bool ceph_netfs_issue_op_inline(struct netfs_io_subrequest *subreq) in ceph_netfs_issue_op_inline()
321 static int ceph_netfs_prepare_read(struct netfs_io_subrequest *subreq) in ceph_netfs_prepare_read()
337 static void ceph_netfs_issue_read(struct netfs_io_subrequest *subreq) in ceph_netfs_issue_read()
/linux-6.12.1/fs/smb/client/
Dfile.c47 static void cifs_prepare_write(struct netfs_io_subrequest *subreq) in cifs_prepare_write()
103 static void cifs_issue_write(struct netfs_io_subrequest *subreq) in cifs_issue_write()
145 static int cifs_prepare_read(struct netfs_io_subrequest *subreq) in cifs_prepare_read()
196 static void cifs_issue_read(struct netfs_io_subrequest *subreq) in cifs_issue_read()
302 static void cifs_free_subrequest(struct netfs_io_subrequest *subreq) in cifs_free_subrequest()
Dcifsglob.h1485 struct netfs_io_subrequest subreq;

12