Lines Matching refs:space_needed
3725 int space_needed = data_size; in push_for_double_split() local
3729 space_needed -= btrfs_leaf_free_space(path->nodes[0]); in push_for_double_split()
3735 ret = push_leaf_right(trans, root, path, 1, space_needed, 0, slot); in push_for_double_split()
3755 space_needed = data_size; in push_for_double_split()
3757 space_needed -= btrfs_leaf_free_space(path->nodes[0]); in push_for_double_split()
3758 ret = push_leaf_left(trans, root, path, 1, space_needed, 0, slot); in push_for_double_split()
3803 int space_needed = data_size; in split_leaf() local
3806 space_needed -= btrfs_leaf_free_space(l); in split_leaf()
3808 wret = push_leaf_right(trans, root, path, space_needed, in split_leaf()
3809 space_needed, 0, 0); in split_leaf()
3813 space_needed = data_size; in split_leaf()
3815 space_needed -= btrfs_leaf_free_space(l); in split_leaf()
3816 wret = push_leaf_left(trans, root, path, space_needed, in split_leaf()
3817 space_needed, 0, (u32)-1); in split_leaf()