Searched refs:entries_per_block (Results 1 – 2 of 2) sorted by relevance
226 ll->entries_per_block = (ll->block_size - sizeof(struct disk_bitmap_header)) * in sm_ll_init()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()268 idx.nr_free = cpu_to_le32(ll->entries_per_block); in sm_ll_extend()291 b = do_div(index, ll->entries_per_block); in sm_ll_lookup_bitmap()342 dm_block_t index_end = dm_sector_div_up(end, ll->entries_per_block); in sm_ll_find_free_block()347 begin = do_div(index_begin, ll->entries_per_block); in sm_ll_find_free_block()348 end = do_div(end, ll->entries_per_block); in sm_ll_find_free_block()350 end = ll->entries_per_block; in sm_ll_find_free_block()[all …]
77 uint32_t entries_per_block; member