Searched refs:bitmap_block (Results 1 – 3 of 3) sorted by relevance
513 struct dm_block *bitmap_block; member521 ic->bitmap_block = NULL; in init_inc_context()528 if (ic->bitmap_block) in exit_inc_context()529 dm_tm_unlock(ll->tm, ic->bitmap_block); in exit_inc_context()612 &dm_sm_bitmap_validator, &ic->bitmap_block, &inc); in shadow_bitmap()617 ic->ie_disk.blocknr = cpu_to_le64(dm_block_location(ic->bitmap_block)); in shadow_bitmap()618 ic->bitmap = dm_bitmap_data(ic->bitmap_block); in shadow_bitmap()629 if (!ic->bitmap_block) { in ensure_bitmap()631 &dm_sm_bitmap_validator, &ic->bitmap_block); in ensure_bitmap()636 ic->bitmap = dm_bitmap_data(ic->bitmap_block); in ensure_bitmap()
2408 sector_t bitmap_block = 1 + zmd->nr_map_blocks + in dmz_get_bitmap() local2412 return dmz_get_mblock(zmd, bitmap_block); in dmz_get_bitmap()
720 unsigned bitmap_block = bit / (BITMAP_BLOCK_SIZE * 8); in sector_to_bitmap_block() local722 BUG_ON(bitmap_block >= ic->n_bitmap_blocks); in sector_to_bitmap_block()723 return &ic->bbs[bitmap_block]; in sector_to_bitmap_block()