Home
last modified time | relevance | path

Searched refs:SWAP_CLUSTER_MAX (Results 1 – 11 of 11) sorted by relevance

/linux/mm/
H A Dswap_cgroup.c53 if (!(idx % SWAP_CLUSTER_MAX)) in swap_cgroup_prepare()
228 if (!(i % SWAP_CLUSTER_MAX)) in swap_cgroup_swapoff()
H A Dpage_io.c327 struct bio_vec bvec[SWAP_CLUSTER_MAX];
337 SWAP_CLUSTER_MAX, sizeof(struct swap_iocb)); in sio_pool_init()
H A Dvmpressure.c38 static const unsigned long vmpressure_win = SWAP_CLUSTER_MAX * 16;
H A Dvmscan.c618 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 Dswap.c252 cost = nr_io * SWAP_CLUSTER_MAX + nr_rotated; in lru_move_tail()
H A Dmadvise.c451 if (++batch_count == SWAP_CLUSTER_MAX) { in madvise_cold_or_pageout_pte_range()
H A Dmemcontrol.c2129 in_retry ? SWAP_CLUSTER_MAX : nr_pages, in mem_cgroup_handle_over_high()
H A Dpage_alloc.c5906 min_pages = clamp(min_pages, SWAP_CLUSTER_MAX, 128UL); in __setup_per_zone_wmarks()
/linux/include/linux/
H A Dswap.h225 #define SWAP_CLUSTER_MAX 32UL macro
226 #define COMPACT_CLUSTER_MAX SWAP_CLUSTER_MAX
/linux/tools/testing/selftests/cgroup/
H A Dmemcg_protection.m77 % SWAP_CLUSTER_MAX roundup
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c307 .nr_to_write = SWAP_CLUSTER_MAX, in __shmem_writeback()