Searched refs:SWAP_CLUSTER_MAX (Results 1 – 10 of 10) sorted by relevance
| /linux/include/linux/ |
| H A D | swap.h | 213 #define SWAP_CLUSTER_MAX 32UL macro 214 #define SWAP_CLUSTER_MAX_SKIPPED (SWAP_CLUSTER_MAX << 10) 215 #define COMPACT_CLUSTER_MAX SWAP_CLUSTER_MAX
|
| H A D | swap_ops.h | 12 struct bio_vec bvecs[SWAP_CLUSTER_MAX];
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | memcg_protection.m | 77 % SWAP_CLUSTER_MAX roundup
|
| /linux/mm/ |
| H A D | vmscan.c | 602 if (nr_written > SWAP_CLUSTER_MAX * nr_throttled) in __acct_reclaim_writeback() 2007 return SWAP_CLUSTER_MAX; in shrink_inactive_list() 2341 cost->count += nr_io * SWAP_CLUSTER_MAX + nr_rotated; in prepare_scan_control() 2538 scan = max(scan, SWAP_CLUSTER_MAX); in apply_proportional_protection() 2642 scan = min(lruvec_size, SWAP_CLUSTER_MAX); in get_scan_count() 6015 nr_to_scan = min(nr[lru], SWAP_CLUSTER_MAX); in shrink_lruvec() 6086 shrink_active_list(SWAP_CLUSTER_MAX, lruvec, in shrink_lruvec() 6774 .nr_to_reclaim = SWAP_CLUSTER_MAX, in try_to_free_pages() 6822 .nr_to_reclaim = SWAP_CLUSTER_MAX, in mem_cgroup_shrink_node() 6864 .nr_to_reclaim = max(nr_pages, SWAP_CLUSTER_MAX), in try_to_free_mem_cgroup_pages() [all …]
|
| H A D | zswap.c | 1303 unsigned long nr_to_walk = SWAP_CLUSTER_MAX; in shrink_memcg() 1307 scanned += SWAP_CLUSTER_MAX - nr_to_walk; in shrink_memcg()
|
| H A D | page_io.c | 310 SWAP_CLUSTER_MAX, sizeof(struct swap_iocb)); in sio_pool_init()
|
| H A D | madvise.c | 469 if (++batch_count == SWAP_CLUSTER_MAX) { in madvise_cold_or_pageout_pte_range()
|
| H A D | memcontrol.c | 2590 in_retry ? SWAP_CLUSTER_MAX : nr_pages, in __mem_cgroup_handle_over_high()
|
| H A D | page_alloc.c | 6645 min_pages = clamp(min_pages, SWAP_CLUSTER_MAX, 128UL); in __setup_per_zone_wmarks()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_shmem.c | 311 .nr_to_write = SWAP_CLUSTER_MAX, in __shmem_writeback()
|