Lines Matching defs:dm_integrity_c
163 struct dm_integrity_c { struct
164 struct dm_dev *dev;
165 struct dm_dev *meta_dev;
166 unsigned tag_size;
167 __s8 log2_tag_size;
168 sector_t start;
169 mempool_t journal_io_mempool;
170 struct dm_io_client *io;
171 struct dm_bufio_client *bufio;
172 struct workqueue_struct *metadata_wq;
173 struct superblock *sb;
174 unsigned journal_pages;
175 unsigned n_bitmap_blocks;
177 struct page_list *journal;
178 struct page_list *journal_io;
179 struct page_list *journal_xor;
180 struct page_list *recalc_bitmap;
181 struct page_list *may_write_bitmap;
182 struct bitmap_block_status *bbs;
183 unsigned bitmap_flush_interval;
184 int synchronous_mode;
185 struct bio_list synchronous_bios;
186 struct delayed_work bitmap_flush_work;
188 struct crypto_skcipher *journal_crypt;
189 struct scatterlist **journal_scatterlist;
190 struct scatterlist **journal_io_scatterlist;
191 struct skcipher_request **sk_requests;
193 struct crypto_shash *journal_mac;
195 struct journal_node *journal_tree;
196 struct rb_root journal_tree_root;
198 sector_t provided_data_sectors;
200 unsigned short journal_entry_size;
201 unsigned char journal_entries_per_sector;
202 unsigned char journal_section_entries;
203 unsigned short journal_section_sectors;
204 unsigned journal_sections;
205 unsigned journal_entries;
206 sector_t data_device_sectors;
207 sector_t meta_device_sectors;
208 unsigned initial_sectors;
209 unsigned metadata_run;
210 __s8 log2_metadata_run;
211 __u8 log2_buffer_sectors;
212 __u8 sectors_per_block;
213 __u8 log2_blocks_per_bitmap_bit;
215 unsigned char mode;
217 int failed;
219 struct crypto_shash *internal_hash;
221 struct dm_target *ti;
224 struct rb_root in_progress;
225 struct list_head wait_list;
226 wait_queue_head_t endio_wait;
227 struct workqueue_struct *wait_wq;
228 struct workqueue_struct *offload_wq;
230 unsigned char commit_seq;
231 commit_id_t commit_ids[N_COMMIT_IDS];
233 unsigned committed_section;
234 unsigned n_committed_sections;
236 unsigned uncommitted_section;
237 unsigned n_uncommitted_sections;
239 unsigned free_section;
240 unsigned char free_section_entry;
241 unsigned free_sectors;
243 unsigned free_sectors_threshold;
245 struct workqueue_struct *commit_wq;
246 struct work_struct commit_work;
248 struct workqueue_struct *writer_wq;
249 struct work_struct writer_work;
251 struct workqueue_struct *recalc_wq;
252 struct work_struct recalc_work;
253 u8 *recalc_buffer;
254 u8 *recalc_tags;
256 struct bio_list flush_bio_list;
258 unsigned long autocommit_jiffies;
259 struct timer_list autocommit_timer;
260 unsigned autocommit_msec;
262 wait_queue_head_t copy_to_journal_wait;
264 struct completion crypto_backoff;
266 bool wrote_to_journal;
267 bool journal_uptodate;
268 bool just_formatted;
269 bool recalculate_flag;
270 bool reset_recalculate_flag;
271 bool discard;
272 bool fix_padding;
273 bool fix_hmac;
274 bool legacy_recalculate;
276 struct alg_spec internal_hash_alg;
277 struct alg_spec journal_crypt_alg;
301 struct dm_integrity_c *ic; argument