Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dswap.h476 extern long total_swap_pages;
483 return atomic_long_read(&nr_swap_pages) * 2 < total_swap_pages; in vm_swap_full()
540 #define total_swap_pages 0L macro
/linux-6.1.9/mm/
Doom_kill.c265 oc->totalpages = totalram_pages() + total_swap_pages; in constrained_alloc()
287 oc->totalpages = total_swap_pages; in constrained_alloc()
300 oc->totalpages = total_swap_pages; in constrained_alloc()
Dutil.c944 allowed += total_swap_pages; in vm_commit_limit()
1003 if (pages > totalram_pages() + total_swap_pages) in __vm_enough_memory()
Dswapfile.c64 long total_swap_pages; variable
2320 total_swap_pages += p->pages; in _enable_swap_info()
2448 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()
3259 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
Dswap_state.c69 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
Dmemcontrol.c1669 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1674 (unsigned long)total_swap_pages); in mem_cgroup_get_max()
Dshmem.c1357 if (!total_swap_pages) in shmem_writepage()
Dvmscan.c3103 if (total_swap_pages > 0) in can_age_anon_pages()
/linux-6.1.9/fs/proc/
Dbase.c552 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score()