Lines Matching refs:orig_slot
931 int orig_slot = path->slots[level]; in balance_level() local
941 orig_ptr = btrfs_node_blockptr(mid, orig_slot); in balance_level()
1045 orig_slot += btrfs_header_nritems(left); in balance_level()
1153 if (btrfs_header_nritems(left) > orig_slot) { in balance_level()
1158 path->slots[level] = orig_slot; in balance_level()
1164 orig_slot -= btrfs_header_nritems(left); in balance_level()
1165 path->slots[level] = orig_slot; in balance_level()
1201 int orig_slot = path->slots[level]; in push_nodes_for_insert() local
1244 orig_slot += left_nr; in push_nodes_for_insert()
1256 if (btrfs_header_nritems(left) > orig_slot) { in push_nodes_for_insert()
1259 path->slots[level] = orig_slot; in push_nodes_for_insert()
1263 orig_slot -= in push_nodes_for_insert()
1265 path->slots[level] = orig_slot; in push_nodes_for_insert()
1317 if (btrfs_header_nritems(mid) <= orig_slot) { in push_nodes_for_insert()
1320 path->slots[level] = orig_slot - in push_nodes_for_insert()
3923 int orig_slot, slot; in split_item() local
3938 orig_slot = path->slots[0]; in split_item()
3962 btrfs_set_item_offset(leaf, orig_slot, in split_item()
3964 btrfs_set_item_size(leaf, orig_slot, split_offset); in split_item()