Lines Matching defs:netfs_io_subrequest
173 struct netfs_io_subrequest { struct
174 struct netfs_io_request *rreq; /* Supervising I/O request */
175 struct work_struct work;
176 struct list_head rreq_link; /* Link in rreq->subrequests */
177 struct iov_iter io_iter; /* Iterator for this subrequest */
178 unsigned long long start; /* Where to start the I/O */
179 size_t len; /* Size of the I/O */
180 size_t transferred; /* Amount of data transferred */
181 size_t consumed; /* Amount of read data consumed */
182 size_t prev_donated; /* Amount of data donated from previous subreq */
183 size_t next_donated; /* Amount of data donated from next subreq */
184 refcount_t ref;
185 short error; /* 0 or error that occurred */
186 unsigned short debug_index; /* Index in list (for debugging output) */
187 unsigned int nr_segs; /* Number of segs in io_iter */
188 enum netfs_io_source source; /* Where to read from/write to */
189 unsigned char stream_nr; /* I/O stream this belongs to */
190 unsigned char curr_folioq_slot; /* Folio currently being read */
191 unsigned char curr_folio_order; /* Order of folio */
192 struct folio_queue *curr_folioq; /* Queue segment in which current folio resides */
193 unsigned long flags;