Home
last modified time | relevance | path

Searched refs:nr_swapfiles (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/mm/
Dswapfile.c21 unsigned int nr_swapfiles; variable
155 if (type >= nr_swapfiles) in swap_info_get()
824 for (i = 0 ; i < nr_swapfiles ; i++, ptr++) { in get_swaparea_info()
857 for (i = 0 ; i < nr_swapfiles ; i++, ptr++) { in is_swap_partition()
892 for (type = 0 ; type < nr_swapfiles ; type++,p++) in sys_swapon()
900 if (type >= nr_swapfiles) in sys_swapon()
901 nr_swapfiles = type+1; in sys_swapon()
966 for (i = 0 ; i < nr_swapfiles ; i++) { in sys_swapon()
1138 for (i = 0; i < nr_swapfiles; i++) { in si_swapinfo()
1170 if (type >= nr_swapfiles) in swap_duplicate()
[all …]
/linux-2.4.37.9/include/linux/
Dswap.h144 extern unsigned int nr_swapfiles;
/linux-2.4.37.9/arch/m68k/atari/
Dstram.c520 for( p = swap_info, type = 0; type < nr_swapfiles; type++, p++ ) in swap_init()
528 if (type >= nr_swapfiles) in swap_init()
529 nr_swapfiles = type+1; in swap_init()