Lines Matching defs:dio_submit
69 struct dio_submit { struct
70 struct bio *bio; /* bio under assembly */
71 unsigned blkbits; /* doesn't change */
72 unsigned blkfactor; /* When we're using an alignment which
77 unsigned start_zero_done; /* flag: sub-blocksize zeroing has
80 int pages_in_io; /* approximate total IO pages */
81 sector_t block_in_file; /* Current offset into the underlying
83 unsigned blocks_available; /* At block_in_file. changes */
84 int reap_counter; /* rate limit reaping */
85 sector_t final_block_in_request;/* doesn't change */
86 int boundary; /* prev block is at a boundary */
87 get_block_t *get_block; /* block mapping function */
89 loff_t logical_offset_in_bio; /* current first logical block in bio */
90 sector_t final_block_in_bio; /* current final block in bio + 1 */
91 sector_t next_block_for_io; /* next block to be put under IO,
99 struct page *cur_page; /* The page */
100 unsigned cur_page_offset; /* Offset into it, in bytes */
101 unsigned cur_page_len; /* Nr of bytes at cur_page_offset */
102 sector_t cur_page_block; /* Where it starts */
103 loff_t cur_page_fs_offset; /* Offset in file */
105 struct iov_iter *iter;
110 unsigned head; /* next page to process */
111 unsigned tail; /* last valid page + 1 */
112 size_t from, to;