Searched refs:swsusp_header (Results 1 – 1 of 1) sorted by relevance
/kernel/power/ |
D | swap.c | 107 struct swsusp_header { struct 118 static struct swsusp_header *swsusp_header; argument 321 hib_submit_io(REQ_OP_READ, swsusp_resume_block, swsusp_header, NULL); in mark_swapfiles() 322 if (!memcmp("SWAP-SPACE",swsusp_header->sig, 10) || in mark_swapfiles() 323 !memcmp("SWAPSPACE2",swsusp_header->sig, 10)) { in mark_swapfiles() 324 memcpy(swsusp_header->orig_sig,swsusp_header->sig, 10); in mark_swapfiles() 325 memcpy(swsusp_header->sig, HIBERNATE_SIG, 10); in mark_swapfiles() 326 swsusp_header->image = handle->first_sector; in mark_swapfiles() 328 swsusp_header->hw_sig = swsusp_hardware_signature; in mark_swapfiles() 331 swsusp_header->flags = flags; in mark_swapfiles() [all …]
|