Home
last modified time | relevance | path

Searched refs:tag_pool_max_sectors (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-crypt.c221 unsigned int tag_pool_max_sectors; member
3383 cc->tag_pool_max_sectors = POOL_ENTRY_SIZE / cc->on_disk_tag_size; in crypt_ctr()
3384 if (!cc->tag_pool_max_sectors) in crypt_ctr()
3385 cc->tag_pool_max_sectors = 1; in crypt_ctr()
3388 cc->tag_pool_max_sectors * cc->on_disk_tag_size); in crypt_ctr()
3394 cc->tag_pool_max_sectors <<= cc->sector_shift; in crypt_ctr()
3488 if (bio_sectors(bio) > cc->tag_pool_max_sectors) in crypt_map()
3489 dm_accept_partial_bio(bio, cc->tag_pool_max_sectors); in crypt_map()