Lines Matching defs:crypt_config
157 struct crypt_config { struct
158 struct dm_dev *dev;
159 sector_t start;
161 struct percpu_counter n_allocated_pages;
163 struct workqueue_struct *io_queue;
164 struct workqueue_struct *crypt_queue;
166 spinlock_t write_thread_lock;
167 struct task_struct *write_thread;
168 struct rb_root write_tree;
170 char *cipher_string;
171 char *cipher_auth;
172 char *key_string;
174 const struct crypt_iv_operations *iv_gen_ops;
175 union {
180 } iv_gen_private;
181 u64 iv_offset;
182 unsigned int iv_size;
183 unsigned short sector_size;
184 unsigned char sector_shift;
186 union {
189 } cipher_tfm;
190 unsigned int tfms_count;
191 int workqueue_id;
192 unsigned long cipher_flags;
207 unsigned int dmreq_start;
209 unsigned int per_bio_data_size;
211 unsigned long flags;
212 unsigned int key_size;
213 unsigned int key_parts; /* independent parts in key buffer */
214 unsigned int key_extra_size; /* additional keys length */
215 unsigned int key_mac_size; /* MAC key size for authenc(...) */
217 unsigned int integrity_tag_size;
218 unsigned int integrity_iv_size;
219 unsigned int used_tag_size;
220 unsigned int tuple_size;
226 unsigned int tag_pool_max_sectors;
227 mempool_t tag_pool;
228 mempool_t req_pool;
229 mempool_t page_pool;
231 struct bio_set bs;
232 struct mutex bio_alloc_lock;
256 static unsigned get_max_request_size(struct crypt_config *cc, bool wrt) in get_max_request_size() argument