Lines Matching refs:hib_resume_bdev
223 static struct block_device *hib_resume_bdev; variable
272 bio_set_dev(bio, hib_resume_bdev); in hib_submit_io()
339 &hib_resume_bdev); in swsusp_swap_check()
344 res = blkdev_get(hib_resume_bdev, FMODE_WRITE, NULL); in swsusp_swap_check()
348 res = set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_swap_check()
350 blkdev_put(hib_resume_bdev, FMODE_WRITE); in swsusp_swap_check()
357 swsusp_resume_device = hib_resume_bdev->bd_dev; in swsusp_swap_check()
1513 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, in swsusp_check()
1515 if (!IS_ERR(hib_resume_bdev)) { in swsusp_check()
1516 set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_check()
1536 blkdev_put(hib_resume_bdev, FMODE_READ); in swsusp_check()
1540 error = PTR_ERR(hib_resume_bdev); in swsusp_check()
1555 if (IS_ERR(hib_resume_bdev)) { in swsusp_close()
1560 blkdev_put(hib_resume_bdev, mode); in swsusp_close()