Lines Matching refs:push_space

3606 	int push_space = 0;  in __push_leaf_right()  local
3622 push_space += data_size; in __push_leaf_right()
3634 if (space + push_space * 2 > free_space) in __push_leaf_right()
3640 push_space += data_size; in __push_leaf_right()
3643 if (this_item_size + sizeof(*item) + push_space > free_space) in __push_leaf_right()
3647 push_space += this_item_size + sizeof(*item); in __push_leaf_right()
3661 push_space = btrfs_item_end_nr(left, left_nritems - push_items); in __push_leaf_right()
3662 push_space -= leaf_data_end(root, left); in __push_leaf_right()
3667 btrfs_leaf_data(right) + data_end - push_space, in __push_leaf_right()
3673 BTRFS_LEAF_DATA_SIZE(root) - push_space, in __push_leaf_right()
3675 push_space); in __push_leaf_right()
3689 push_space = BTRFS_LEAF_DATA_SIZE(root); in __push_leaf_right()
3692 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right()
3693 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right()
3828 int push_space = 0; in __push_leaf_left() local
3853 if (space + push_space * 2 > free_space) in __push_leaf_left()
3859 push_space += data_size; in __push_leaf_left()
3862 if (this_item_size + sizeof(*item) + push_space > free_space) in __push_leaf_left()
3866 push_space += this_item_size + sizeof(*item); in __push_leaf_left()
3881 push_space = BTRFS_LEAF_DATA_SIZE(root) - in __push_leaf_left()
3885 leaf_data_end(root, left) - push_space, in __push_leaf_left()
3888 push_space); in __push_leaf_left()
3911 push_space = btrfs_item_offset_nr(right, push_items - 1) - in __push_leaf_left()
3914 BTRFS_LEAF_DATA_SIZE(root) - push_space, in __push_leaf_left()
3916 leaf_data_end(root, right), push_space); in __push_leaf_left()
3925 push_space = BTRFS_LEAF_DATA_SIZE(root); in __push_leaf_left()
3929 push_space = push_space - btrfs_token_item_size(right, in __push_leaf_left()
3931 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_left()