Lines Matching refs:push_space
3646 int push_space = 0; in __push_leaf_right() local
3660 push_space += data_size; in __push_leaf_right()
3673 if (space + push_space * 2 > free_space) in __push_leaf_right()
3679 push_space += data_size; in __push_leaf_right()
3682 if (this_item_size + sizeof(*item) + push_space > free_space) in __push_leaf_right()
3686 push_space += this_item_size + sizeof(*item); in __push_leaf_right()
3700 push_space = btrfs_item_end_nr(left, left_nritems - push_items); in __push_leaf_right()
3701 push_space -= leaf_data_end(left); in __push_leaf_right()
3706 BTRFS_LEAF_DATA_OFFSET + data_end - push_space, in __push_leaf_right()
3712 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_right()
3714 push_space); in __push_leaf_right()
3729 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_right()
3732 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right()
3733 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right()
3871 int push_space = 0; in __push_leaf_left() local
3895 if (space + push_space * 2 > free_space) in __push_leaf_left()
3901 push_space += data_size; in __push_leaf_left()
3904 if (this_item_size + sizeof(*item) + push_space > free_space) in __push_leaf_left()
3908 push_space += this_item_size + sizeof(*item); in __push_leaf_left()
3923 push_space = BTRFS_LEAF_DATA_SIZE(fs_info) - in __push_leaf_left()
3927 leaf_data_end(left) - push_space, in __push_leaf_left()
3930 push_space); in __push_leaf_left()
3954 push_space = btrfs_item_offset_nr(right, push_items - 1) - in __push_leaf_left()
3957 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_left()
3959 leaf_data_end(right), push_space); in __push_leaf_left()
3970 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_left()
3974 push_space = push_space - btrfs_token_item_size(right, in __push_leaf_left()
3976 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_left()