Lines Matching refs:hib_resume_bdev_file
219 static struct file *hib_resume_bdev_file; variable
268 return bdev_rw_virt(file_bdev(hib_resume_bdev_file), in hib_submit_io_sync()
277 bio = bio_alloc(file_bdev(hib_resume_bdev_file), 1, opf, in hib_submit_io_async()
351 hib_resume_bdev_file = bdev_file_open_by_dev(swsusp_resume_device, in swsusp_swap_check()
353 if (IS_ERR(hib_resume_bdev_file)) in swsusp_swap_check()
354 return PTR_ERR(hib_resume_bdev_file); in swsusp_swap_check()
1571 hib_resume_bdev_file = bdev_file_open_by_dev(swsusp_resume_device, in swsusp_check()
1573 if (!IS_ERR(hib_resume_bdev_file)) { in swsusp_check()
1599 bdev_fput(hib_resume_bdev_file); in swsusp_check()
1603 error = PTR_ERR(hib_resume_bdev_file); in swsusp_check()
1617 if (IS_ERR(hib_resume_bdev_file)) { in swsusp_close()
1622 fput(hib_resume_bdev_file); in swsusp_close()