Searched refs:entries_per_block (Results 1 – 2 of 2) sorted by relevance
222 ll->entries_per_block = (ll->block_size - sizeof(struct disk_bitmap_header)) * in sm_ll_init()239 old_blocks = dm_sector_div_up(ll->nr_blocks, ll->entries_per_block); in sm_ll_extend()240 blocks = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()242 nr_indexes = dm_sector_div_up(nr_blocks, ll->entries_per_block); in sm_ll_extend()261 idx.nr_free = cpu_to_le32(ll->entries_per_block); in sm_ll_extend()280 b = do_div(index, ll->entries_per_block); in sm_ll_lookup_bitmap()321 dm_block_t index_end = dm_sector_div_up(end, ll->entries_per_block); in sm_ll_find_free_block()326 begin = do_div(index_begin, ll->entries_per_block); in sm_ll_find_free_block()327 end = do_div(end, ll->entries_per_block); in sm_ll_find_free_block()346 bit_end = (i == index_end - 1) ? end : ll->entries_per_block; in sm_ll_find_free_block()[all …]
63 uint32_t entries_per_block; member