Searched refs:BDEV_SWAP (Results 1 – 2 of 2) sorted by relevance
788 blkdev_put(p->swap_file->d_inode->i_bdev, BDEV_SWAP); in sys_swapoff()947 error = blkdev_get(bdev, FMODE_READ|FMODE_WRITE, 0, BDEV_SWAP); in sys_swapon()1108 blkdev_put(bdev, BDEV_SWAP); in sys_swapon()
1102 enum {BDEV_FILE, BDEV_SWAP, BDEV_FS, BDEV_RAW}; enumerator