Lines Matching refs:BITMAP_BLOCK_SIZE
42 #define BITMAP_BLOCK_SIZE 4096 /* don't change it */ macro
707 unsigned n_bitmap_pages = DIV_ROUND_UP(ic->n_bitmap_blocks, PAGE_SIZE / BITMAP_BLOCK_SIZE); in block_bitmap_copy()
720 unsigned bitmap_block = bit / (BITMAP_BLOCK_SIZE * 8); in sector_to_bitmap_block()
2803 bbs->idx * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), in bitmap_block_work()
2804 BITMAP_BLOCK_SIZE >> SECTOR_SHIFT, NULL); in bitmap_block_work()
2849 ic->n_bitmap_blocks * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), NULL); in bitmap_flush_work()
3148 ic->n_bitmap_blocks * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), NULL); in dm_integrity_resume()
3152 ic->n_bitmap_blocks * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), NULL); in dm_integrity_resume()
3164 ic->n_bitmap_blocks * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), NULL); in dm_integrity_resume()
3183 ic->n_bitmap_blocks * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), NULL); in dm_integrity_resume()
3227 ic->n_bitmap_blocks * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT), NULL); in dm_integrity_resume()
4371 ic->n_bitmap_blocks = DIV_ROUND_UP(n_bitmap_bits, BITMAP_BLOCK_SIZE * 8); in dm_integrity_ctr()
4469 unsigned n_bitmap_pages = DIV_ROUND_UP(ic->n_bitmap_blocks, PAGE_SIZE / BITMAP_BLOCK_SIZE); in dm_integrity_ctr()
4497 sector = i * (BITMAP_BLOCK_SIZE >> SECTOR_SHIFT); in dm_integrity_ctr()
4526 …en = ((sector_t)ic->sectors_per_block << ic->log2_blocks_per_bitmap_bit) * (BITMAP_BLOCK_SIZE * 8); in dm_integrity_ctr()