Searched refs:to_scan (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_shrinker.c | 60 unsigned long to_scan, unsigned long *scanned) in __xe_shrinker_walk() argument 86 if (*scanned >= to_scan) in __xe_shrinker_walk() 105 unsigned long to_scan, unsigned long *scanned) in xe_shrinker_walk() argument 113 lret = __xe_shrinker_walk(xe, ctx, save_flags, to_scan, scanned); in xe_shrinker_walk() 115 if (lret < 0 || *scanned >= to_scan) in xe_shrinker_walk() 120 lret = __xe_shrinker_walk(xe, ctx, save_flags, to_scan, scanned); in xe_shrinker_walk() 124 if (*scanned >= to_scan) in xe_shrinker_walk() 129 lret = __xe_shrinker_walk(xe, ctx, flags, to_scan, scanned); in xe_shrinker_walk()
|
| /linux/mm/ |
| H A D | swapfile.c | 975 long to_scan = 1; in swap_reclaim_full_clusters() local 982 to_scan = swap_usage_in_pages(si) / SWAPFILE_CLUSTER; in swap_reclaim_full_clusters() 987 to_scan--; in swap_reclaim_full_clusters() 1008 if (to_scan <= 0) in swap_reclaim_full_clusters()
|