Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-btree-remove.c210 if (nr_right + count > max_entries) { in shift()
252 if (nr_left + nr_right < threshold) { in __rebalance2()
256 node_copy(left, right, -nr_right); in __rebalance2()
330 if ((nr_right + shift) > max_entries) { in delete_center_node()
358 unsigned int total = nr_left + nr_center + nr_right; in redistribute3()
366 if (nr_left < nr_right) { in redistribute3()
380 nr_right += s; in redistribute3()
391 s = target_right - nr_right; in redistribute3()
437 if ((nr_left + nr_center + nr_right) < threshold) { in __rebalance3()
439 nr_left, nr_center, nr_right); in __rebalance3()
[all …]
A Ddm-btree.c556 unsigned int nr_right = le32_to_cpu(right->header.nr_entries); in redistribute2() local
557 unsigned int total = nr_left + nr_right; in redistribute2()
569 if (nr_right) in redistribute2()
592 total = nr_left + nr_right; 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()
842 unsigned int nr_left, nr_right; in btree_split_beneath() local
876 nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; in btree_split_beneath()
879 rn->header.nr_entries = cpu_to_le32(nr_right); in btree_split_beneath()
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dctree.c2618 int nr_right = btrfs_header_nritems(right); in check_sibling_keys() local
2621 if (!nr_left || !nr_right) in check_sibling_keys()

Completed in 15 milliseconds