Searched refs:calc_max_entries (Results 1 – 2 of 2) sorted by relevance
144 static uint32_t calc_max_entries(size_t value_size, size_t size_of_block) in calc_max_entries() function670 resize.max_entries = calc_max_entries(info->value_type.size, in array_resize()734 max_entries = calc_max_entries(info->value_type.size, size_of_block); in dm_array_new()778 max_entries = calc_max_entries(info->value_type.size, size_of_block); in dm_array_get_value()809 max_entries = calc_max_entries(info->value_type.size, size_of_block); in array_set_value()
116 static uint32_t calc_max_entries(size_t value_size, size_t block_size) in calc_max_entries() function141 max_entries = calc_max_entries(info->value_type.size, block_size); in dm_btree_empty()675 calc_max_entries(sizeof(__le64), in btree_split_beneath()