Searched refs:nr_right (Results 1 – 3 of 3) sorted by relevance
196 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in shift() local210 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() local252 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() argument330 if ((nr_right + shift) > max_entries) { in delete_center_node()[all …]
556 unsigned int nr_right = le32_to_cpu(right->header.nr_entries); in redistribute2() local557 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() local592 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() local876 nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; in btree_split_beneath()[all …]
2785 int nr_right = btrfs_header_nritems(right); in check_sibling_keys() local2788 if (!nr_left || !nr_right) in check_sibling_keys()