Lines Matching defs:dm_integrity_c
169 struct dm_integrity_c { struct
170 struct dm_dev *dev;
171 struct dm_dev *meta_dev;
172 unsigned int tag_size;
173 __s8 log2_tag_size;
174 unsigned int tuple_size;
175 sector_t start;
176 mempool_t journal_io_mempool;
177 struct dm_io_client *io;
178 struct dm_bufio_client *bufio;
179 struct workqueue_struct *metadata_wq;
180 struct superblock *sb;
181 unsigned int journal_pages;
182 unsigned int n_bitmap_blocks;
184 struct page_list *journal;
185 struct page_list *journal_io;
186 struct page_list *journal_xor;
187 struct page_list *recalc_bitmap;
188 struct page_list *may_write_bitmap;
189 struct bitmap_block_status *bbs;
190 unsigned int bitmap_flush_interval;
191 int synchronous_mode;
192 struct bio_list synchronous_bios;
193 struct delayed_work bitmap_flush_work;
195 struct crypto_skcipher *journal_crypt;
196 struct scatterlist **journal_scatterlist;
197 struct scatterlist **journal_io_scatterlist;
198 struct skcipher_request **sk_requests;
200 struct crypto_shash *journal_mac;
202 struct journal_node *journal_tree;
203 struct rb_root journal_tree_root;
205 sector_t provided_data_sectors;
207 unsigned short journal_entry_size;
208 unsigned char journal_entries_per_sector;
209 unsigned char journal_section_entries;
210 unsigned short journal_section_sectors;
211 unsigned int journal_sections;
212 unsigned int journal_entries;
213 sector_t data_device_sectors;
214 sector_t meta_device_sectors;
215 unsigned int initial_sectors;
216 unsigned int metadata_run;
217 __s8 log2_metadata_run;
218 __u8 log2_buffer_sectors;
219 __u8 sectors_per_block;
220 __u8 log2_blocks_per_bitmap_bit;
222 unsigned char mode;
223 bool internal_hash;
225 int failed;
227 struct crypto_shash *internal_shash;
228 struct crypto_ahash *internal_ahash;
229 unsigned int internal_hash_digestsize;
231 struct dm_target *ti;
234 struct rb_root in_progress;
235 struct list_head wait_list;
236 wait_queue_head_t endio_wait;
237 struct workqueue_struct *wait_wq;
238 struct workqueue_struct *offload_wq;
240 unsigned char commit_seq;
241 commit_id_t commit_ids[N_COMMIT_IDS];
243 unsigned int committed_section;
244 unsigned int n_committed_sections;
246 unsigned int uncommitted_section;
247 unsigned int n_uncommitted_sections;
249 unsigned int free_section;
250 unsigned char free_section_entry;
251 unsigned int free_sectors;
253 unsigned int free_sectors_threshold;
255 struct workqueue_struct *commit_wq;
256 struct work_struct commit_work;
258 struct workqueue_struct *writer_wq;
259 struct work_struct writer_work;
261 struct workqueue_struct *recalc_wq;
262 struct work_struct recalc_work;
264 struct bio_list flush_bio_list;
266 unsigned long autocommit_jiffies;
267 struct timer_list autocommit_timer;
268 unsigned int autocommit_msec;
270 wait_queue_head_t copy_to_journal_wait;
272 struct completion crypto_backoff;
274 bool wrote_to_journal;
275 bool journal_uptodate;
276 bool just_formatted;
277 bool recalculate_flag;
278 bool reset_recalculate_flag;
279 bool discard;
280 bool fix_padding;
281 bool fix_hmac;
282 bool legacy_recalculate;
284 mempool_t ahash_req_pool;
285 struct ahash_request *journal_ahash_req;
287 struct alg_spec internal_hash_alg;
288 struct alg_spec journal_crypt_alg;
289 struct alg_spec journal_mac_alg;
291 atomic64_t number_of_mismatches;
316 struct dm_integrity_c *ic; argument