Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dswap.h454 extern long total_swap_pages;
461 return atomic_long_read(&nr_swap_pages) * 2 < total_swap_pages; in vm_swap_full()
519 #define total_swap_pages 0L macro
/OK3568_Linux_fs/kernel/mm/
H A Doom_kill.c269 oc->totalpages = totalram_pages() + total_swap_pages; in constrained_alloc()
291 oc->totalpages = total_swap_pages; in constrained_alloc()
304 oc->totalpages = total_swap_pages; in constrained_alloc()
H A Dutil.c872 allowed += total_swap_pages; in vm_commit_limit()
931 if (pages > totalram_pages() + total_swap_pages) in __vm_enough_memory()
H A Dswapfile.c63 long total_swap_pages; variable
2521 total_swap_pages += p->pages; in _enable_swap_info()
2652 total_swap_pages -= p->pages; in SYSCALL_DEFINE1()
3469 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
H A Dswap_state.c108 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
H A Dvmscan.c2624 if (total_swap_pages && inactive_is_low(lruvec, LRU_INACTIVE_ANON)) in shrink_lruvec()
3460 if (!total_swap_pages) in age_active_anon()
H A Dmemcontrol.c1726 (unsigned long)total_swap_pages); in mem_cgroup_get_max()
1732 max += min(swap, (unsigned long)total_swap_pages); in mem_cgroup_get_max()
H A Dshmem.c1387 if (!total_swap_pages) in shmem_writepage()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dbase.c553 unsigned long totalpages = totalram_pages() + total_swap_pages; in proc_oom_score()