Home
last modified time | relevance | path

Searched refs:to_reclaim (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dspace-info.c470 u64 to_reclaim) in calc_reclaim_items_nr() argument
476 nr = div64_u64(to_reclaim, bytes); in calc_reclaim_items_nr()
489 u64 to_reclaim, bool wait_ordered) in shrink_delalloc() argument
499 if (to_reclaim == U64_MAX) { in shrink_delalloc()
509 items = calc_reclaim_items_nr(fs_info, to_reclaim) * 2; in shrink_delalloc()
510 to_reclaim = items * EXTENT_SIZE_PER_ITEM; in shrink_delalloc()
536 u64 nr_pages = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()
759 u64 to_reclaim = space_info->reclaim_size; in btrfs_calc_reclaim_metadata_size() local
774 to_reclaim += used - (space_info->total_bytes + avail); in btrfs_calc_reclaim_metadata_size()
776 if (to_reclaim) in btrfs_calc_reclaim_metadata_size()
[all …]