#include <linux/module.h>
#include <linux/file.h>
#include <linux/delay.h>
#include <linux/bitops.h>
#include <linux/genhd.h>
#include <linux/device.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/lzo.h>
#include <linux/vmalloc.h>
#include <linux/cpumask.h>
#include <linux/atomic.h>
#include <linux/kthread.h>
#include <linux/crc32.h>
#include "power.h"
Go to the source code of this file.
#define HIBERNATE_SIG "S1SUSPEND" |
Value:
Definition at line 423 of file swap.c.
#define LZO_MAX_RD_PAGES 8192 |
#define LZO_MIN_RD_PAGES 1024 |
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
alloc_swapdev_block - allocate a swap page and register that it has been allocated, so that it can be freed in case of an error.
Definition at line 167 of file swap.c.
core_initcall |
( |
swsusp_header_init |
| ) |
|
void free_all_swap_pages |
( |
int |
swap | ) |
|
free_all_swap_pages - free swap pages allocated for saving image data. It also frees the extents used to register which swap entries had been allocated.
Definition at line 187 of file swap.c.
swsusp_check - Check for swsusp signature in the resume device
Definition at line 1423 of file swap.c.
swsusp_close - close swap device.
Definition at line 1465 of file swap.c.
int swsusp_read |
( |
unsigned int * |
flags_p | ) |
|
swsusp_read - read the hibernation image. : flags passed by the "frozen" kernel in the image header should be written into this memory location
Definition at line 1388 of file swap.c.
int swsusp_write |
( |
unsigned int |
flags | ) |
|
swsusp_write - Write entire image and metadata. : flags to pass to the "boot" kernel in the image header
It is important NOT to umount filesystems at this point. We want them synced (in case something goes wrong) but we DO not want to mark filesystem clean: it is not. (And it does not matter, if we resume correctly, we'll mark system clean, anyway.)
Definition at line 813 of file swap.c.