Searched refs:dm_div_up (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
D | dm-bitset.c | 80 return dm_array_new(&info->array_info, root, dm_div_up(size, 64), pack_bits, &p); in dm_bitset_new() 88 uint32_t old_blocks = dm_div_up(old_nr_entries, BITS_PER_ARRAY_ENTRY); in dm_bitset_resize() 89 uint32_t new_blocks = dm_div_up(new_nr_entries, BITS_PER_ARRAY_ENTRY); in dm_bitset_resize()
|
D | dm-array.c | 735 end_block = dm_div_up(size, max_entries); in dm_array_new()
|
/kernel/linux/linux-5.10/include/linux/ |
D | device-mapper.h | 609 #define dm_div_up(n, sz) (((n) + (sz) - 1) / (sz)) macro 622 #define dm_round_up(n, sz) (dm_div_up((n), (sz)) * (sz))
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-cache-policy-internal.h | 117 return sizeof(unsigned long) * dm_div_up(nr_entries, BITS_PER_LONG); in bitset_size_in_bytes()
|
D | dm-table.c | 39 n = dm_div_up(n, base); in int_log() 1084 t->counts[i] = dm_div_up(t->counts[i + 1], CHILDREN_PER_NODE); in setup_indexes() 1111 leaf_nodes = dm_div_up(t->num_targets, KEYS_PER_NODE); in dm_table_build_index()
|
D | dm-kcopyd.c | 587 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
|
D | dm-era-target.c | 67 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG); in bitset_size()
|