Searched refs:swap_file (Results 1 – 3 of 3) sorted by relevance
741 if (p->swap_file == nd.dentry || in sys_swapoff()788 blkdev_put(p->swap_file->d_inode->i_bdev, BDEV_SWAP); in sys_swapoff()794 nd.dentry = p->swap_file; in sys_swapoff()796 p->swap_file = NULL; in sys_swapoff()826 char * path = d_path(ptr->swap_file, ptr->swap_vfsmnt, in get_swaparea_info()903 p->swap_file = NULL; in sys_swapon()923 p->swap_file = nd.dentry; in sys_swapon()968 if (i == type || !q->swap_file) in sys_swapon()970 if (swap_inode->i_mapping == q->swap_file->d_inode->i_mapping) in sys_swapon()1113 nd.dentry = p->swap_file; in sys_swapon()[all …]
68 struct dentry * swap_file; member
541 p->swap_file = &fake_dentry; in swap_init()