Lines Matching defs:netfs_io_stream
134 struct netfs_io_stream { struct
136 struct netfs_io_subrequest *construct; /* Op being constructed */
137 size_t sreq_max_len; /* Maximum size of a subrequest */
138 unsigned int sreq_max_segs; /* 0 or max number of segments in an iterator */
139 unsigned int submit_off; /* Folio offset we're submitting from */
140 unsigned int submit_len; /* Amount of data left to submit */
141 unsigned int submit_extendable_to; /* Amount I/O can be rounded up to */
142 void (*prepare_write)(struct netfs_io_subrequest *subreq);
143 void (*issue_write)(struct netfs_io_subrequest *subreq);
145 struct list_head subrequests; /* Contributory I/O operations */
146 struct netfs_io_subrequest *front; /* Op being collected */
147 unsigned long long collected_to; /* Position we've collected results to */
148 size_t transferred; /* The amount transferred from this stream */
149 enum netfs_io_source source; /* Where to read from/write to */
150 unsigned short error; /* Aggregate error for the stream */
151 unsigned char stream_nr; /* Index of stream in parent table */
152 bool avail; /* T if stream is available */
153 bool active; /* T if stream is active */
154 bool need_retry; /* T if this stream needs retrying */
155 bool failed; /* T if this stream failed */