Lines Matching refs:orig_slot
892 int orig_slot = path->slots[level]; in balance_level() local
903 orig_ptr = btrfs_node_blockptr(mid, orig_slot); in balance_level()
980 orig_slot += btrfs_header_nritems(left); in balance_level()
1055 if (btrfs_header_nritems(left) > orig_slot) { in balance_level()
1060 path->slots[level] = orig_slot; in balance_level()
1066 orig_slot -= btrfs_header_nritems(left); in balance_level()
1067 path->slots[level] = orig_slot; in balance_level()
1102 int orig_slot = path->slots[level]; in push_nodes_for_insert() local
1143 orig_slot += left_nr; in push_nodes_for_insert()
1147 if (btrfs_header_nritems(left) > orig_slot) { in push_nodes_for_insert()
1150 path->slots[level] = orig_slot; in push_nodes_for_insert()
1154 orig_slot -= in push_nodes_for_insert()
1156 path->slots[level] = orig_slot; in push_nodes_for_insert()
1199 if (btrfs_header_nritems(mid) <= orig_slot) { in push_nodes_for_insert()
1202 path->slots[level] = orig_slot - in push_nodes_for_insert()