Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/persistent-data/
Ddm-btree-remove.c196 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in shift() local
210 if (nr_right + count > max_entries) { in shift()
231 right->header.nr_entries = cpu_to_le32(nr_right + count); in shift()
243 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance2() local
252 if (nr_left + nr_right < threshold) { in __rebalance2()
256 node_copy(left, right, -nr_right); in __rebalance2()
257 left->header.nr_entries = cpu_to_le32(nr_left + nr_right); in __rebalance2()
269 unsigned int target_left = (nr_left + nr_right) / 2; in __rebalance2()
314 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in delete_center_node() argument
330 if ((nr_right + shift) > max_entries) { in delete_center_node()
[all …]
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()
587 unsigned int nr_right = le32_to_cpu(right->header.nr_entries); in redistribute3() local
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()
[all …]
/linux-6.6.21/fs/btrfs/
Dctree.c2785 int nr_right = btrfs_header_nritems(right); in check_sibling_keys() local
2788 if (!nr_left || !nr_right) in check_sibling_keys()