Lines Matching refs:orig_slot
1889 int orig_slot = path->slots[level]; in balance_level() local
1900 orig_ptr = btrfs_node_blockptr(mid, orig_slot); in balance_level()
1990 orig_slot += btrfs_header_nritems(left); in balance_level()
2069 if (btrfs_header_nritems(left) > orig_slot) { in balance_level()
2074 path->slots[level] = orig_slot; in balance_level()
2080 orig_slot -= btrfs_header_nritems(left); in balance_level()
2081 path->slots[level] = orig_slot; in balance_level()
2117 int orig_slot = path->slots[level]; in push_nodes_for_insert() local
2160 orig_slot += left_nr; in push_nodes_for_insert()
2167 if (btrfs_header_nritems(left) > orig_slot) { in push_nodes_for_insert()
2170 path->slots[level] = orig_slot; in push_nodes_for_insert()
2174 orig_slot -= in push_nodes_for_insert()
2176 path->slots[level] = orig_slot; in push_nodes_for_insert()
2223 if (btrfs_header_nritems(mid) <= orig_slot) { in push_nodes_for_insert()
2226 path->slots[level] = orig_slot - in push_nodes_for_insert()