Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-btree.c26 static void array_insert(void *base, size_t elt_size, unsigned nr_elts, in array_insert() argument
31 memmove(base + (elt_size * (index + 1)), in array_insert()
32 base + (elt_size * index), in array_insert()
33 (nr_elts - index) * elt_size); in array_insert()
35 memcpy_disk(base + (elt_size * index), elt, elt_size); in array_insert()
119 size_t elt_size = sizeof(uint64_t) + value_size; /* key + value */ in calc_max_entries() local
122 total = block_size / elt_size; in calc_max_entries()