Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/suspend.h>
#include <linux/init.h>
#include <linux/crc32.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <plat/pm.h>
Go to the source code of this file.
Macros | |
#define | CHECK_CHUNKSIZE (CONFIG_SAMSUNG_PM_CHECK_CHUNKSIZE * 1024) |
Typedefs | |
typedef u32 *( | run_fn_t )(struct resource *ptr, u32 *arg) |
Functions | |
void | s3c_pm_check_prepare (void) |
void | s3c_pm_check_store (void) |
void | s3c_pm_check_restore (void) |
void | s3c_pm_check_cleanup (void) |
#define CHECK_CHUNKSIZE (CONFIG_SAMSUNG_PM_CHECK_CHUNKSIZE * 1024) |
Definition at line 38 of file pm-check.c.
s3c_pm_check_cleanup() - free memory resources
Free the resources that where allocated by the suspend memory check code. We do this separately from the s3c_pm_check_restore() function as we cannot call any functions that might sleep during that resume.
Definition at line 232 of file pm-check.c.
Definition at line 95 of file pm-check.c.
s3c_pm_check_restore() - memory check called on resume
check the CRCs after the restore event and free the memory used to hold them
Definition at line 218 of file pm-check.c.
Definition at line 132 of file pm-check.c.