Home
last modified time | relevance | path

Searched refs:totalswap (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/arch/s390/appldata/ !
Dappldata_mem.c55 u64 totalswap; /* total swap space size */ member
106 mem_data->totalswap = P2K(val.totalswap); in appldata_get_mem_data()
/linux-6.6.21/include/uapi/linux/ !
Dsysinfo.h15 __kernel_ulong_t totalswap; /* Total swap space size */ member
/linux-6.6.21/fs/proc/ !
Dmeminfo.c89 show_val_kb(m, "SwapTotal: ", i.totalswap); in meminfo_proc_show()
/linux-6.6.21/kernel/ !
Dsys.c2799 mem_total = info->totalram + info->totalswap; in do_sysinfo()
2800 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo()
2825 info->totalswap <<= bitcount; in do_sysinfo()
2854 u32 totalswap; member
2874 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { in COMPAT_SYSCALL_DEFINE1()
2886 s.totalswap >>= bitcount; in COMPAT_SYSCALL_DEFINE1()
2901 s_32.totalswap = s.totalswap; in COMPAT_SYSCALL_DEFINE1()
/linux-6.6.21/include/linux/ !
Dswap.h526 do { (val)->freeswap = (val)->totalswap = 0; } while (0)
/linux-6.6.21/mm/ !
Dswapfile.c3253 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()