Home
last modified time | relevance | path

Searched refs:hib_resume_bdev (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/kernel/power/
Dswap.c223 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()
[all …]