Searched refs:nr_right (Results 1 – 3 of 3) sorted by relevance
193 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in shift() local207 if (nr_right + count > max_entries) { in shift()228 right->header.nr_entries = cpu_to_le32(nr_right + count); in shift()240 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in __rebalance2() local249 if (nr_left + nr_right < threshold) { in __rebalance2()253 node_copy(left, right, -nr_right); in __rebalance2()254 left->header.nr_entries = cpu_to_le32(nr_left + nr_right); in __rebalance2()266 unsigned target_left = (nr_left + nr_right) / 2; in __rebalance2()310 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) in delete_center_node() argument326 if ((nr_right + shift) > max_entries) { in delete_center_node()[all …]
552 unsigned nr_right = le32_to_cpu(right->header.nr_entries); in redistribute2() local553 unsigned total = nr_left + nr_right; in redistribute2()563 if (nr_right) in redistribute2()581 unsigned nr_right = le32_to_cpu(right->header.nr_entries); in redistribute3() local586 total = nr_left + nr_right; 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()833 unsigned nr_left, nr_right; in btree_split_beneath() local867 nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; in btree_split_beneath()[all …]
2507 int nr_right = btrfs_header_nritems(right); in check_sibling_keys() local2510 if (!nr_left || !nr_right) in check_sibling_keys()