Home
last modified time | relevance | path

Searched refs:total_swap_pages (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/include/linux/
Dswap.h431 extern long total_swap_pages;
438 return atomic_long_read(&nr_swap_pages) * 2 < total_swap_pages; in vm_swap_full()
488 #define total_swap_pages 0L macro
/Linux-v4.19/mm/
Doom_kill.c272 oc->totalpages = totalram_pages + total_swap_pages; in constrained_alloc()
294 oc->totalpages = total_swap_pages; in constrained_alloc()
307 oc->totalpages = total_swap_pages; in constrained_alloc()
Dutil.c605 allowed += total_swap_pages; in vm_commit_limit()
Dswap_state.c106 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
Dswapfile.c62 long total_swap_pages; variable
2466 total_swap_pages += p->pages; in _enable_swap_info()
2583 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()
3347 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
Dvmscan.c2218 if (!file && !total_swap_pages) in inactive_list_is_low()
3348 if (!total_swap_pages) in age_active_anon()
Dmemcontrol.c1367 swap_max = min(swap_max, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1408 if (noswap || !total_swap_pages) in test_mem_cgroup_node_reclaimable()
Dshmem.c1295 if (!total_swap_pages) in shmem_writepage()
/Linux-v4.19/fs/proc/
Dbase.c533 unsigned long totalpages = totalram_pages + total_swap_pages; in proc_oom_score()