Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/
Dinfo.c46 mem_total = val.totalram + val.totalswap; in sys_sysinfo()
47 if (mem_total < val.totalram || mem_total < val.totalswap) in sys_sysinfo()
70 val.totalswap <<= bitcount; in sys_sysinfo()
/linux-2.4.37.9/fs/proc/
Dproc_misc.c176 B(pg_size), B(i.totalswap), in meminfo_read_proc()
177 B(i.totalswap-i.freeswap), B(i.freeswap)); in meminfo_read_proc()
210 K(i.totalswap), in meminfo_read_proc()
/linux-2.4.37.9/include/linux/
Dkernel.h192 unsigned long totalswap; /* Total swap space size */ member
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c1561 u32 totalswap; member
1588 if ((s.totalram >> 32) || (s.totalswap >> 32)) { in sys32_sysinfo()
1597 s.totalswap >>= bitcount; in sys32_sysinfo()
1612 __put_user (s.totalswap, &info->totalswap) || in sys32_sysinfo()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c3796 u32 totalswap; member
3821 if ((s.totalram >> 32) || (s.totalswap >> 32)) { in sys32_sysinfo()
3830 s.totalswap >>= bitcount; in sys32_sysinfo()
3847 err |= __put_user(s.totalswap, &info->totalswap); in sys32_sysinfo()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c2341 u32 totalswap; member
2368 if ((s.totalram >> 32) || (s.totalswap >> 32)) { in sys32_sysinfo()
2377 s.totalswap >>= bitcount; in sys32_sysinfo()
2391 err |= __put_user (s.totalswap, &info->totalswap); in sys32_sysinfo()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c3037 u32 totalswap; member
3081 err |= __put_user (val.totalswap, &info->totalswap); in sys32_sysinfo()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c1947 u32 totalswap; member
1972 if ((s.totalram >> 32) || (s.totalswap >> 32)) { in sys32_sysinfo()
1981 s.totalswap >>= bitcount; in sys32_sysinfo()
1995 err |= __put_user (s.totalswap, &info->totalswap); in sys32_sysinfo()
/linux-2.4.37.9/mm/
Dswapfile.c1153 val->totalswap = total_swap_pages + nr_to_be_unused; in si_swapinfo()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c706 u32 totalswap; member
734 err |= __put_user (s.totalswap, &info->totalswap); in sys32_sysinfo()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c1871 u32 totalswap; member
1900 err |= __put_user (s.totalswap, &info->totalswap); in sys32_sysinfo()