Lines Matching refs:orig_slot
893 int orig_slot = path->slots[level]; in balance_level() local
903 orig_ptr = btrfs_node_blockptr(mid, orig_slot); in balance_level()
993 orig_slot += btrfs_header_nritems(left); in balance_level()
1073 if (btrfs_header_nritems(left) > orig_slot) { in balance_level()
1078 path->slots[level] = orig_slot; in balance_level()
1084 orig_slot -= btrfs_header_nritems(left); in balance_level()
1085 path->slots[level] = orig_slot; in balance_level()
1121 int orig_slot = path->slots[level]; in push_nodes_for_insert() local
1164 orig_slot += left_nr; in push_nodes_for_insert()
1171 if (btrfs_header_nritems(left) > orig_slot) { in push_nodes_for_insert()
1174 path->slots[level] = orig_slot; in push_nodes_for_insert()
1178 orig_slot -= in push_nodes_for_insert()
1180 path->slots[level] = orig_slot; in push_nodes_for_insert()
1226 if (btrfs_header_nritems(mid) <= orig_slot) { in push_nodes_for_insert()
1229 path->slots[level] = orig_slot - in push_nodes_for_insert()
3735 int orig_slot, slot; in split_item() local
3745 orig_slot = path->slots[0]; in split_item()
3771 btrfs_set_item_offset(leaf, orig_slot, in split_item()
3773 btrfs_set_item_size(leaf, orig_slot, split_offset); in split_item()