Home
last modified time | relevance | path

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

/openbmc/linux/kernel/power/
H A Dhibernate.c46 dev_t swsusp_resume_device; variable
921 if (!early_lookup_bdev(resume_file, &swsusp_resume_device)) in find_resume_device()
930 while (early_lookup_bdev(resume_file, &swsusp_resume_device)) in find_resume_device()
935 return early_lookup_bdev(resume_file, &swsusp_resume_device); in find_resume_device()
943 MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device)); in software_resume()
1017 if (!swsusp_resume_device) { in software_resume_initcall()
1155 return sprintf(buf, "%d:%d\n", MAJOR(swsusp_resume_device), in resume_show()
1156 MINOR(swsusp_resume_device)); in resume_show()
1200 swsusp_resume_device = dev; in resume_store()
1204 swsusp_resume_device); in resume_store()
H A Dpower.h99 extern dev_t swsusp_resume_device;
H A Dswap.c351 if (swsusp_resume_device) in swsusp_swap_check()
352 res = swap_type_of(swsusp_resume_device, swsusp_resume_block); in swsusp_swap_check()
354 res = find_first_swap(&swsusp_resume_device); in swsusp_swap_check()
359 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, in swsusp_swap_check()
1525 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, BLK_OPEN_READ, in swsusp_check()
H A Duser.c74 data->swap = swap_type_of(swsusp_resume_device, 0); in snapshot_open()