Lines Matching defs:netfs_io_request
224 struct netfs_io_request { struct
233 struct netfs_io_request *copy_to_cache; /* Request to write just-read data to the cache */ argument
234 struct readahead_control *ractl; /* Readahead descriptor */
235 struct list_head proc_link; /* Link in netfs_iorequests */
236 struct netfs_io_stream io_streams[2]; /* Streams of parallel I/O operations */
238 struct netfs_group *group; /* Writeback group being written back */
239 struct rolling_buffer buffer; /* Unencrypted buffer */
242 wait_queue_head_t waitq; /* Processor waiter */
243 void *netfs_priv; /* Private data for the netfs */
244 void *netfs_priv2; /* Private data for the netfs */
245 struct bio_vec *direct_bv; /* DIO buffer list (when handling iovec-iter) */
246 unsigned int direct_bv_count; /* Number of elements in direct_bv[] */
247 unsigned int debug_id;
248 unsigned int rsize; /* Maximum read size (0 for none) */
249 unsigned int wsize; /* Maximum write size (0 for none) */
250 atomic_t subreq_counter; /* Next subreq->debug_index */
251 unsigned int nr_group_rel; /* Number of refs to release on ->group */
252 spinlock_t lock; /* Lock for queuing subreqs */
253 unsigned long long submitted; /* Amount submitted for I/O so far */
254 unsigned long long len; /* Length of the request */
255 size_t transferred; /* Amount to be indicated as transferred */
256 long error; /* 0 or error that occurred */
257 enum netfs_io_origin origin; /* Origin of the request */
258 bool direct_bv_unpin; /* T if direct_bv[] must be unpinned */
259 unsigned long long i_size; /* Size of the file */
260 unsigned long long start; /* Start position */
261 atomic64_t issued_to; /* Write issuer folio cursor */
285 void (*cleanup)(struct netfs_io_request *req); argument