Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/persistent-data/
Ddm-btree-remove.c355 unsigned target_right = total / 3; in redistribute3() local
356 unsigned remainder = (target_right * 3) != total; in redistribute3()
357 unsigned target_left = target_right + remainder; in redistribute3()
360 BUG_ON(target_right > max_entries); in redistribute3()
383 ret = shift(center, right, target_right - nr_right); in redistribute3()
387 s = target_right - nr_right; in redistribute3()
Ddm-btree.c555 unsigned target_right = total - target_left; in redistribute2() local
569 right->header.nr_entries = cpu_to_le32(target_right); in redistribute2()
582 unsigned total, target_left, target_center, target_right; in redistribute3() local
589 target_right = (total - target_left - target_center); in redistribute3()
595 shift_down(right, nr_right - target_right); in redistribute3()
601 shift_down(right, nr_right - target_right); in redistribute3()
604 unsigned right_short = target_right - nr_right; in redistribute3()
612 right->header.nr_entries = cpu_to_le32(target_right); in redistribute3()