Searched refs:target_center (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/drivers/md/persistent-data/ |
D | dm-btree.c | 580 unsigned total, target_left, target_center, target_right; in redistribute3() local 586 target_center = (total - target_left) / 2; in redistribute3() 587 target_right = (total - target_left - target_center); in redistribute3() 592 copy_entries(center, 0, right, left_short, target_center); in redistribute3() 595 } else if (nr_left < (target_left + target_center)) { in redistribute3() 598 copy_entries(center, left_to_center, right, 0, target_center - left_to_center); in redistribute3() 609 center->header.nr_entries = cpu_to_le32(target_center); in redistribute3()
|