Searched refs:SWAP_CLUSTER_MAX (Results 1 – 11 of 11) sorted by relevance
/linux/mm/ |
H A D | swap_cgroup.c | 53 if (!(idx % SWAP_CLUSTER_MAX)) in swap_cgroup_prepare() 228 if (!(i % SWAP_CLUSTER_MAX)) in swap_cgroup_swapoff()
|
H A D | page_io.c | 327 struct bio_vec bvec[SWAP_CLUSTER_MAX]; 337 SWAP_CLUSTER_MAX, sizeof(struct swap_iocb)); in sio_pool_init()
|
H A D | vmpressure.c | 38 static const unsigned long vmpressure_win = SWAP_CLUSTER_MAX * 16;
|
H A D | vmscan.c | 618 if (nr_written > SWAP_CLUSTER_MAX * nr_throttled) in __acct_reclaim_writeback() 680 .nr_to_write = SWAP_CLUSTER_MAX, in pageout() 1945 return SWAP_CLUSTER_MAX; in shrink_inactive_list() 2528 scan = max(scan, SWAP_CLUSTER_MAX); in get_scan_count() 2540 scan = min(lruvec_size, SWAP_CLUSTER_MAX); in get_scan_count() 5731 nr_to_scan = min(nr[lru], SWAP_CLUSTER_MAX); in shrink_lruvec() 5802 shrink_active_list(SWAP_CLUSTER_MAX, lruvec, in shrink_lruvec() 6504 .nr_to_reclaim = SWAP_CLUSTER_MAX, in try_to_free_pages() 6552 .nr_to_reclaim = SWAP_CLUSTER_MAX, in mem_cgroup_shrink_node() 6593 .nr_to_reclaim = max(nr_pages, SWAP_CLUSTER_MAX), in try_to_free_mem_cgroup_pages() [all …]
|
H A D | swap.c | 252 cost = nr_io * SWAP_CLUSTER_MAX + nr_rotated; in lru_move_tail()
|
H A D | madvise.c | 451 if (++batch_count == SWAP_CLUSTER_MAX) { in madvise_cold_or_pageout_pte_range()
|
H A D | memcontrol.c | 2129 in_retry ? SWAP_CLUSTER_MAX : nr_pages, in mem_cgroup_handle_over_high()
|
H A D | page_alloc.c | 5906 min_pages = clamp(min_pages, SWAP_CLUSTER_MAX, 128UL); in __setup_per_zone_wmarks()
|
/linux/include/linux/ |
H A D | swap.h | 225 #define SWAP_CLUSTER_MAX 32UL macro 226 #define COMPACT_CLUSTER_MAX SWAP_CLUSTER_MAX
|
/linux/tools/testing/selftests/cgroup/ |
H A D | memcg_protection.m | 77 % SWAP_CLUSTER_MAX roundup
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_shmem.c | 307 .nr_to_write = SWAP_CLUSTER_MAX, in __shmem_writeback()
|