Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/persistent-data/
H A Ddm-btree.c588 unsigned int total, target_left, target_center, target_right; in redistribute3() local
594 target_center = (total - target_left) / 2; in redistribute3()
595 target_right = (total - target_left - target_center); in redistribute3()
601 copy_entries(center, 0, right, left_short, target_center); in redistribute3()
604 } else if (nr_left < (target_left + target_center)) { in redistribute3()
608 copy_entries(center, left_to_center, right, 0, target_center - left_to_center); in redistribute3()
620 center->header.nr_entries = cpu_to_le32(target_center); in redistribute3()