Lines Matching defs:dm_integrity_c
168 struct dm_integrity_c { struct
169 struct dm_dev *dev;
170 struct dm_dev *meta_dev;
171 unsigned int tag_size;
172 __s8 log2_tag_size;
173 unsigned int tuple_size;
174 sector_t start;
175 mempool_t journal_io_mempool;
176 struct dm_io_client *io;
177 struct dm_bufio_client *bufio;
178 struct workqueue_struct *metadata_wq;
179 struct superblock *sb;
180 unsigned int journal_pages;
181 unsigned int n_bitmap_blocks;
183 struct page_list *journal;
184 struct page_list *journal_io;
185 struct page_list *journal_xor;
186 struct page_list *recalc_bitmap;
187 struct page_list *may_write_bitmap;
188 struct bitmap_block_status *bbs;
189 unsigned int bitmap_flush_interval;
190 int synchronous_mode;
191 struct bio_list synchronous_bios;
192 struct delayed_work bitmap_flush_work;
194 struct crypto_skcipher *journal_crypt;
195 struct scatterlist **journal_scatterlist;
196 struct scatterlist **journal_io_scatterlist;
197 struct skcipher_request **sk_requests;
199 struct crypto_shash *journal_mac;
201 struct journal_node *journal_tree;
202 struct rb_root journal_tree_root;
204 sector_t provided_data_sectors;
206 unsigned short journal_entry_size;
207 unsigned char journal_entries_per_sector;
208 unsigned char journal_section_entries;
209 unsigned short journal_section_sectors;
210 unsigned int journal_sections;
211 unsigned int journal_entries;
212 sector_t data_device_sectors;
213 sector_t meta_device_sectors;
214 unsigned int initial_sectors;
215 unsigned int metadata_run;
216 __s8 log2_metadata_run;
217 __u8 log2_buffer_sectors;
218 __u8 sectors_per_block;
219 __u8 log2_blocks_per_bitmap_bit;
221 unsigned char mode;
223 int failed;
225 struct crypto_shash *internal_hash;
227 struct dm_target *ti;
230 struct rb_root in_progress;
231 struct list_head wait_list;
232 wait_queue_head_t endio_wait;
233 struct workqueue_struct *wait_wq;
234 struct workqueue_struct *offload_wq;
236 unsigned char commit_seq;
237 commit_id_t commit_ids[N_COMMIT_IDS];
239 unsigned int committed_section;
240 unsigned int n_committed_sections;
242 unsigned int uncommitted_section;
243 unsigned int n_uncommitted_sections;
245 unsigned int free_section;
246 unsigned char free_section_entry;
247 unsigned int free_sectors;
249 unsigned int free_sectors_threshold;
251 struct workqueue_struct *commit_wq;
252 struct work_struct commit_work;
254 struct workqueue_struct *writer_wq;
255 struct work_struct writer_work;
257 struct workqueue_struct *recalc_wq;
258 struct work_struct recalc_work;
260 struct bio_list flush_bio_list;
262 unsigned long autocommit_jiffies;
263 struct timer_list autocommit_timer;
264 unsigned int autocommit_msec;
266 wait_queue_head_t copy_to_journal_wait;
268 struct completion crypto_backoff;
270 bool wrote_to_journal;
271 bool journal_uptodate;
272 bool just_formatted;
273 bool recalculate_flag;
274 bool reset_recalculate_flag;
275 bool discard;
276 bool fix_padding;
277 bool fix_hmac;
278 bool legacy_recalculate;
280 struct alg_spec internal_hash_alg;
281 struct alg_spec journal_crypt_alg;
282 struct alg_spec journal_mac_alg;
284 atomic64_t number_of_mismatches;
309 struct dm_integrity_c *ic; argument