Home
last modified time | relevance | path

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

/linux-6.15/kernel/power/
H A Dhibernate.c47 dev_t swsusp_resume_device; variable
972 if (!early_lookup_bdev(resume_file, &swsusp_resume_device)) in find_resume_device()
981 while (early_lookup_bdev(resume_file, &swsusp_resume_device)) in find_resume_device()
986 return early_lookup_bdev(resume_file, &swsusp_resume_device); in find_resume_device()
994 MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device)); in software_resume()
1084 if (!swsusp_resume_device) { in software_resume_initcall()
1226 return sysfs_emit(buf, "%d:%d\n", MAJOR(swsusp_resume_device), in resume_show()
1227 MINOR(swsusp_resume_device)); in resume_show()
1271 swsusp_resume_device = dev; in resume_store()
1275 swsusp_resume_device); in resume_store()
H A Dpower.h104 extern dev_t swsusp_resume_device;
H A Dswap.c358 if (swsusp_resume_device) in swsusp_swap_check()
359 res = swap_type_of(swsusp_resume_device, swsusp_resume_block); in swsusp_swap_check()
361 res = find_first_swap(&swsusp_resume_device); in swsusp_swap_check()
366 hib_resume_bdev_file = bdev_file_open_by_dev(swsusp_resume_device, in swsusp_swap_check()
1589 hib_resume_bdev_file = bdev_file_open_by_dev(swsusp_resume_device, in swsusp_check()
H A Duser.c74 data->swap = swap_type_of(swsusp_resume_device, 0); in snapshot_open()