Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-writecache.c2065 uint64_t n_bitmap_bits; in writecache_ctr() local
2086 n_bitmap_bits = (((uint64_t)n_metadata_blocks << wc->block_size_bits) + in writecache_ctr()
2089 if (n_bitmap_bits > 1U << 31) { in writecache_ctr()
2111 wc->dirty_bitmap_size = (n_bitmap_bits + BITS_PER_LONG - 1) / in writecache_ctr()
Ddm-integrity.c3594 __u64 n_bitmap_bits; in dm_integrity_ctr() local
3947 n_bitmap_bits = ((ic->provided_data_sectors >> ic->sb->log2_sectors_per_block) in dm_integrity_ctr()
3949 ic->n_bitmap_blocks = DIV_ROUND_UP(n_bitmap_bits, BITMAP_BLOCK_SIZE * 8); in dm_integrity_ctr()