Home
last modified time | relevance | path

Searched refs:dm_div_up (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-bitset.c80 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()
Ddm-array.c735 end_block = dm_div_up(size, max_entries); in dm_array_new()
/kernel/linux/linux-5.10/include/linux/
Ddevice-mapper.h609 #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/
Ddm-cache-policy-internal.h117 return sizeof(unsigned long) * dm_div_up(nr_entries, BITS_PER_LONG); in bitset_size_in_bytes()
Ddm-table.c39 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()
Ddm-kcopyd.c587 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
Ddm-era-target.c67 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG); in bitset_size()