Home
last modified time | relevance | path

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

/openbmc/linux/kernel/power/
H A Dswap.c106 struct swsusp_header { struct
117 static struct swsusp_header *swsusp_header; argument
319 hib_submit_io(REQ_OP_READ, swsusp_resume_block, swsusp_header, NULL); in mark_swapfiles()
320 if (!memcmp("SWAP-SPACE",swsusp_header->sig, 10) || in mark_swapfiles()
321 !memcmp("SWAPSPACE2",swsusp_header->sig, 10)) { in mark_swapfiles()
322 memcpy(swsusp_header->orig_sig,swsusp_header->sig, 10); in mark_swapfiles()
323 memcpy(swsusp_header->sig, HIBERNATE_SIG, 10); in mark_swapfiles()
324 swsusp_header->image = handle->first_sector; in mark_swapfiles()
326 swsusp_header->hw_sig = swsusp_hardware_signature; in mark_swapfiles()
329 swsusp_header->flags = flags; in mark_swapfiles()
[all …]