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