Lines Matching refs:space_needed
3198 int space_needed = data_size; in push_for_double_split() local
3202 space_needed -= btrfs_leaf_free_space(path->nodes[0]); in push_for_double_split()
3208 ret = push_leaf_right(trans, root, path, 1, space_needed, 0, slot); in push_for_double_split()
3228 space_needed = data_size; in push_for_double_split()
3230 space_needed -= btrfs_leaf_free_space(path->nodes[0]); in push_for_double_split()
3231 ret = push_leaf_left(trans, root, path, 1, space_needed, 0, slot); in push_for_double_split()
3276 int space_needed = data_size; in split_leaf() local
3279 space_needed -= btrfs_leaf_free_space(l); in split_leaf()
3281 wret = push_leaf_right(trans, root, path, space_needed, in split_leaf()
3282 space_needed, 0, 0); in split_leaf()
3286 space_needed = data_size; in split_leaf()
3288 space_needed -= btrfs_leaf_free_space(l); in split_leaf()
3289 wret = push_leaf_left(trans, root, path, space_needed, in split_leaf()
3290 space_needed, 0, (u32)-1); in split_leaf()