Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/power/
Dswap.c105 struct swsusp_header { struct
116 static struct swsusp_header *swsusp_header; argument
318 hib_submit_io(REQ_OP_READ, swsusp_resume_block, swsusp_header, NULL); in mark_swapfiles()
319 if (!memcmp("SWAP-SPACE",swsusp_header->sig, 10) || in mark_swapfiles()
320 !memcmp("SWAPSPACE2",swsusp_header->sig, 10)) { in mark_swapfiles()
321 memcpy(swsusp_header->orig_sig,swsusp_header->sig, 10); in mark_swapfiles()
322 memcpy(swsusp_header->sig, HIBERNATE_SIG, 10); in mark_swapfiles()
323 swsusp_header->image = handle->first_sector; in mark_swapfiles()
325 swsusp_header->hw_sig = swsusp_hardware_signature; in mark_swapfiles()
328 swsusp_header->flags = flags; in mark_swapfiles()
[all …]