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

/linux-4.4.14/kernel/power/
H A Dhibernate.c43 dev_t swsusp_resume_device; variable
764 if (swsusp_resume_device) software_resume()
781 swsusp_resume_device = name_to_dev_t(resume_file); software_resume()
789 while (!get_gendisk(swsusp_resume_device, &partno)) software_resume()
793 if (!swsusp_resume_device) { software_resume()
801 while ((swsusp_resume_device = name_to_dev_t(resume_file)) == 0) software_resume()
806 swsusp_resume_device = name_to_dev_t(resume_file); software_resume()
807 if (!swsusp_resume_device) { software_resume()
815 MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device)); software_resume()
996 return sprintf(buf,"%d:%d\n", MAJOR(swsusp_resume_device), resume_show()
997 MINOR(swsusp_resume_device)); resume_show()
1019 swsusp_resume_device = res; resume_store()
H A Duser.c73 data->swap = swsusp_resume_device ? snapshot_open()
74 swap_type_of(swsusp_resume_device, 0, NULL) : -1; snapshot_open()
H A Dpower.h85 extern dev_t swsusp_resume_device;
H A Dswap.c326 res = swap_type_of(swsusp_resume_device, swsusp_resume_block, swsusp_swap_check()
1505 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, swsusp_check()

Completed in 66 milliseconds