Searched refs:old_blocks (Results 1 – 3 of 3) sorted by relevance
/drivers/md/persistent-data/ |
D | dm-bitset.c | 88 uint32_t old_blocks = dm_div_up(old_nr_entries, BITS_PER_ARRAY_ENTRY); in dm_bitset_resize() local 93 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, in dm_bitset_resize()
|
D | dm-space-map-common.c | 240 unsigned old_blocks, blocks; in sm_ll_extend() local 243 old_blocks = dm_sector_div_up(ll->nr_blocks, ll->entries_per_block); in sm_ll_extend() 256 for (i = old_blocks; i < blocks; i++) { in sm_ll_extend()
|
/drivers/md/ |
D | md-bitmap.c | 2073 sector_t old_blocks, new_blocks; in md_bitmap_resize() local 2196 bmc_old = md_bitmap_get_counter(&old_counts, block, &old_blocks, 0); in md_bitmap_resize() 2218 if (new_blocks < old_blocks) in md_bitmap_resize() 2219 old_blocks = new_blocks; in md_bitmap_resize() 2221 block += old_blocks; in md_bitmap_resize()
|