Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/include/uapi/linux/
Dsysinfo.h15 __kernel_ulong_t totalswap; /* Total swap space size */ member
/linux-6.1.9/fs/proc/
Dmeminfo.c87 show_val_kb(m, "SwapTotal: ", i.totalswap); in meminfo_proc_show()
/linux-6.1.9/kernel/
Dsys.c2683 mem_total = info->totalram + info->totalswap; in do_sysinfo()
2684 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo()
2709 info->totalswap <<= bitcount; in do_sysinfo()
2738 u32 totalswap; member
2758 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { in COMPAT_SYSCALL_DEFINE1()
2770 s.totalswap >>= bitcount; in COMPAT_SYSCALL_DEFINE1()
2785 s_32.totalswap = s.totalswap; in COMPAT_SYSCALL_DEFINE1()
/linux-6.1.9/include/linux/
Dswap.h545 do { (val)->freeswap = (val)->totalswap = 0; } while (0)
/linux-6.1.9/mm/
Dswapfile.c3259 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()