Home
last modified time | relevance | path

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

/linux-6.12.1/fs/btrfs/
Dspace-info.c605 u64 to_reclaim) in calc_reclaim_items_nr() argument
611 nr = div64_u64(to_reclaim, bytes); in calc_reclaim_items_nr()
622 u64 to_reclaim, bool wait_ordered, in shrink_delalloc() argument
638 if (to_reclaim == U64_MAX) { in shrink_delalloc()
653 to_reclaim = max(to_reclaim, delalloc_bytes >> 3); in shrink_delalloc()
654 items = calc_reclaim_items_nr(fs_info, to_reclaim) * 2; in shrink_delalloc()
669 u64 temp = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()
852 u64 to_reclaim = space_info->reclaim_size; in btrfs_calc_reclaim_metadata_size() local
867 to_reclaim += used - (space_info->total_bytes + avail); in btrfs_calc_reclaim_metadata_size()
869 return to_reclaim; in btrfs_calc_reclaim_metadata_size()
[all …]
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_memcontrol.c802 long current, to_reclaim; in reclaim_until() local
814 to_reclaim = current - goal; in reclaim_until()
815 snprintf(buf, sizeof(buf), "%ld", to_reclaim); in reclaim_until()