Lines Matching refs:nr_blocks
228 ll->nr_blocks = 0; in sm_ll_init()
239 dm_block_t i, nr_blocks, nr_indexes; in sm_ll_extend() local
242 nr_blocks = ll->nr_blocks + extra_blocks; in sm_ll_extend()
243 old_blocks = dm_sector_div_up(ll->nr_blocks, ll->entries_per_block); in sm_ll_extend()
244 blocks = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()
246 nr_indexes = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()
255 ll->nr_blocks = nr_blocks; in sm_ll_extend()
286 if (b >= ll->nr_blocks) { in sm_ll_lookup_bitmap()
399 r = sm_ll_find_free_block(new_ll, begin, new_ll->nr_blocks, b); in sm_ll_find_common_free_block()
404 if (*b >= old_ll->nr_blocks) in sm_ll_find_common_free_block()
1040 ll->nr_blocks = 0; in sm_ll_new_metadata()
1082 ll->nr_blocks = le64_to_cpu(smr.nr_blocks); in sm_ll_open_metadata()
1215 ll->nr_blocks = 0; in sm_ll_new_disk()
1251 ll->nr_blocks = le64_to_cpu(smr->nr_blocks); in sm_ll_open_disk()