Lines Matching defs:netfs_io_request
246 struct netfs_io_request { struct
247 union {
251 struct inode *inode; /* The file being accessed */
252 struct address_space *mapping; /* The mapping being accessed */
253 struct kiocb *iocb; /* AIO completion vector */
254 struct netfs_cache_resources cache_resources;
255 struct list_head proc_link; /* Link in netfs_iorequests */
256 struct list_head subrequests; /* Contributory I/O operations */
257 struct iov_iter iter; /* Unencrypted-side iterator */
258 struct iov_iter io_iter; /* I/O (Encrypted-side) iterator */
259 void *netfs_priv; /* Private data for the netfs */
260 struct bio_vec *direct_bv; /* DIO buffer list (when handling iovec-iter) */
261 unsigned int direct_bv_count; /* Number of elements in direct_bv[] */
262 unsigned int debug_id;
263 unsigned int rsize; /* Maximum read size (0 for none) */
264 unsigned int wsize; /* Maximum write size (0 for none) */
265 unsigned int subreq_counter; /* Next subreq->debug_index */
266 atomic_t nr_outstanding; /* Number of ops in progress */
267 atomic_t nr_copy_ops; /* Number of copy-to-cache ops in progress */
291 void (*cleanup)(struct netfs_io_request *req); argument