Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-btree-remove.c359 unsigned int target_right = total / 3; in redistribute3() local
360 unsigned int remainder = (target_right * 3) != total; in redistribute3()
361 unsigned int target_left = target_right + remainder; in redistribute3()
364 BUG_ON(target_right > max_entries); in redistribute3()
387 ret = shift(center, right, target_right - nr_right); in redistribute3()
391 s = target_right - nr_right; in redistribute3()
A Ddm-btree.c559 unsigned int target_right = total - target_left; in redistribute2() local
575 right->header.nr_entries = cpu_to_le32(target_right); in redistribute2()
588 unsigned int total, target_left, target_center, target_right; in redistribute3() local
595 target_right = (total - target_left - target_center); in redistribute3()
602 shift_down(right, nr_right - target_right); in redistribute3()
609 shift_down(right, nr_right - target_right); in redistribute3()
612 unsigned int right_short = target_right - nr_right; in redistribute3()
621 right->header.nr_entries = cpu_to_le32(target_right); in redistribute3()

Completed in 7 milliseconds