Searched refs:size_to_free (Results 1 – 1 of 1) sorted by relevance
1709 u64 size_to_free; in btrfs_balance() local1726 size_to_free = div_factor(old_size, 1); in btrfs_balance()1727 size_to_free = min(size_to_free, (u64)1 * 1024 * 1024); in btrfs_balance()1729 device->total_bytes - device->bytes_used > size_to_free) in btrfs_balance()1732 ret = btrfs_shrink_device(device, old_size - size_to_free); in btrfs_balance()