Searched refs:swsusp_header (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/kernel/power/ |
D | swap.c | 97 struct swsusp_header { struct 107 static struct swsusp_header *swsusp_header; argument 225 hib_bio_read_page(swsusp_resume_block, swsusp_header, NULL); in mark_swapfiles() 226 if (!memcmp("SWAP-SPACE",swsusp_header->sig, 10) || in mark_swapfiles() 227 !memcmp("SWAPSPACE2",swsusp_header->sig, 10)) { in mark_swapfiles() 228 memcpy(swsusp_header->orig_sig,swsusp_header->sig, 10); in mark_swapfiles() 229 memcpy(swsusp_header->sig, HIBERNATE_SIG, 10); in mark_swapfiles() 230 swsusp_header->image = handle->first_sector; in mark_swapfiles() 231 swsusp_header->flags = flags; in mark_swapfiles() 233 swsusp_header->crc32 = handle->crc32; in mark_swapfiles() [all …]
|