Lines Matching refs:dmreq_start
195 unsigned int dmreq_start; member
1227 return (struct dm_crypt_request *)((char *)req + cc->dmreq_start); in dmreq_of_req()
1232 return (void *)((char *)dmreq - cc->dmreq_start); in req_of_dmreq()
3206 cc->dmreq_start = sizeof(struct aead_request); in crypt_ctr()
3207 cc->dmreq_start += crypto_aead_reqsize(any_tfm_aead(cc)); in crypt_ctr()
3210 cc->dmreq_start = sizeof(struct skcipher_request); in crypt_ctr()
3211 cc->dmreq_start += crypto_skcipher_reqsize(any_tfm(cc)); in crypt_ctr()
3214 cc->dmreq_start = ALIGN(cc->dmreq_start, __alignof__(struct dm_crypt_request)); in crypt_ctr()
3218 iv_size_padding = -(cc->dmreq_start + sizeof(struct dm_crypt_request)) in crypt_ctr()
3236 ret = mempool_init_kmalloc_pool(&cc->req_pool, MIN_IOS, cc->dmreq_start + additional_req_size); in crypt_ctr()
3243 ALIGN(sizeof(struct dm_crypt_io) + cc->dmreq_start + additional_req_size, in crypt_ctr()