Home
last modified time | relevance | path

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

/linux-2.4.37.9/mm/
Dswapfile.c743 p->swap_device == nd.dentry->d_inode->i_rdev)) in sys_swapoff()
787 if (p->swap_device) in sys_swapoff()
797 p->swap_device = 0; in sys_swapoff()
831 if (!ptr->swap_device) in get_swaparea_info()
859 if (ptr->swap_device == dev) in is_swap_partition()
905 p->swap_device = 0; in sys_swapon()
938 p->swap_device = dev; in sys_swapon()
1114 p->swap_device = 0; in sys_swapon()
1226 if (p->swap_device) { in get_swaphandle_info()
1227 *dev = p->swap_device; in get_swaphandle_info()
/linux-2.4.37.9/include/linux/
Dswap.h66 kdev_t swap_device; member
/linux-2.4.37.9/arch/m68k/atari/
Dstram.c543 p->swap_device = 0; in swap_init()
552 p->swap_device = MKDEV( STRAM_MAJOR, STRAM_MINOR ); in swap_init()
553 swap_inode.i_rdev = p->swap_device; in swap_init()