Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-btree-remove.c272 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in delete_center_node() argument
275 unsigned shift = min(max_entries - nr_left, nr_center); in delete_center_node()
281 if (shift != nr_center) { in delete_center_node()
282 shift = nr_center - shift; in delete_center_node()
303 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in redistribute3() argument
307 unsigned total = nr_left + nr_center + nr_right; in redistribute3()
318 if (s < 0 && nr_center < -s) { in redistribute3()
320 shift(left, center, -nr_center); in redistribute3()
321 s += nr_center; in redistribute3()
331 if (s > 0 && nr_center < s) { in redistribute3()
[all …]
Ddm-btree.c580 unsigned nr_center = le32_to_cpu(center->header.nr_entries); in redistribute3() local
584 BUG_ON(nr_center); in redistribute3()