Searched refs:target_center (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-btree.c | 582 unsigned total, target_left, target_center, target_right; in redistribute3() local 588 target_center = (total - target_left) / 2; in redistribute3() 589 target_right = (total - target_left - target_center); in redistribute3() 594 copy_entries(center, 0, right, left_short, target_center); in redistribute3() 597 } else if (nr_left < (target_left + target_center)) { in redistribute3() 600 copy_entries(center, left_to_center, right, 0, target_center - left_to_center); in redistribute3() 611 center->header.nr_entries = cpu_to_le32(target_center); in redistribute3()
|