Searched refs:hib_resume_bdev (Results 1 – 1 of 1) sorted by relevance
223 static struct block_device *hib_resume_bdev; variable279 bio_set_dev(bio, hib_resume_bdev); in hib_submit_io()357 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, FMODE_WRITE, in swsusp_swap_check()359 if (IS_ERR(hib_resume_bdev)) in swsusp_swap_check()360 return PTR_ERR(hib_resume_bdev); in swsusp_swap_check()362 res = set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_swap_check()364 blkdev_put(hib_resume_bdev, FMODE_WRITE); in swsusp_swap_check()1526 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, in swsusp_check()1528 if (!IS_ERR(hib_resume_bdev)) { in swsusp_check()1529 set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_check()[all …]