Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/power/
Dhibernate.c45 dev_t swsusp_resume_device; variable
931 if (swsusp_resume_device) in software_resume()
948 swsusp_resume_device = name_to_dev_t(resume_file); in software_resume()
949 if (!swsusp_resume_device) { in software_resume()
957 while ((swsusp_resume_device = name_to_dev_t(resume_file)) == 0) in software_resume()
962 swsusp_resume_device = name_to_dev_t(resume_file); in software_resume()
963 if (!swsusp_resume_device) { in software_resume()
971 MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device)); in software_resume()
1148 return sprintf(buf, "%d:%d\n", MAJOR(swsusp_resume_device), in resume_show()
1149 MINOR(swsusp_resume_device)); in resume_show()
[all …]
Dpower.h102 extern dev_t swsusp_resume_device;
Dswap.c349 if (swsusp_resume_device) in swsusp_swap_check()
350 res = swap_type_of(swsusp_resume_device, swsusp_resume_block); in swsusp_swap_check()
352 res = find_first_swap(&swsusp_resume_device); in swsusp_swap_check()
357 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, FMODE_WRITE, in swsusp_swap_check()
1526 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()