Searched refs:to_reclaim (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | space-info.c | 556 u64 to_reclaim) in calc_reclaim_items_nr() argument 562 nr = div64_u64(to_reclaim, bytes); in calc_reclaim_items_nr() 575 u64 to_reclaim, bool wait_ordered, in shrink_delalloc() argument 591 if (to_reclaim == U64_MAX) { in shrink_delalloc() 606 to_reclaim = max(to_reclaim, delalloc_bytes >> 3); in shrink_delalloc() 607 items = calc_reclaim_items_nr(fs_info, to_reclaim) * 2; in shrink_delalloc() 622 u64 temp = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc() 830 u64 to_reclaim = space_info->reclaim_size; in btrfs_calc_reclaim_metadata_size() local 846 to_reclaim += used - (total + avail); in btrfs_calc_reclaim_metadata_size() 848 return to_reclaim; in btrfs_calc_reclaim_metadata_size() [all …]
|
/linux-6.1.9/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 656 long current, expected_usage, to_reclaim; in test_memcg_reclaim() local 713 to_reclaim = current - MB(30); in test_memcg_reclaim() 719 if (to_reclaim <= 0) in test_memcg_reclaim() 723 snprintf(buf, sizeof(buf), "%ld", to_reclaim); in test_memcg_reclaim()
|