Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/power/
Dhibernate.c45 dev_t swsusp_resume_device; variable
937 if (swsusp_resume_device) in software_resume()
954 swsusp_resume_device = name_to_dev_t(resume_file); in software_resume()
955 if (!swsusp_resume_device) { in software_resume()
963 while ((swsusp_resume_device = name_to_dev_t(resume_file)) == 0) in software_resume()
968 swsusp_resume_device = name_to_dev_t(resume_file); in software_resume()
969 if (!swsusp_resume_device) { in software_resume()
977 MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device)); in software_resume()
1154 return sprintf(buf, "%d:%d\n", MAJOR(swsusp_resume_device), in resume_show()
1155 MINOR(swsusp_resume_device)); in resume_show()
[all …]
Dpower.h104 extern dev_t swsusp_resume_device;
Dswap.c353 if (swsusp_resume_device) in swsusp_swap_check()
354 res = swap_type_of(swsusp_resume_device, swsusp_resume_block); in swsusp_swap_check()
356 res = find_first_swap(&swsusp_resume_device); in swsusp_swap_check()
361 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, FMODE_WRITE, in swsusp_swap_check()
1524 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, in swsusp_check()
Duser.c73 data->swap = swap_type_of(swsusp_resume_device, 0); in snapshot_open()