Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
suspend.c File Reference
#include <linux/pfn.h>
#include <linux/suspend.h>
#include <linux/mm.h>
#include <asm/ctl_reg.h>

Go to the source code of this file.

Data Structures

struct  page_key_data
 

Macros

#define PAGE_KEY_DATA_SIZE   (PAGE_SIZE - sizeof(struct page_key_data *))
 

Functions

unsigned long page_key_additional_pages (unsigned long pages)
 
void page_key_free (void)
 
int page_key_alloc (unsigned long pages)
 
void page_key_read (unsigned long *pfn)
 
void page_key_memorize (unsigned long *pfn)
 
void page_key_write (void *address)
 
int pfn_is_nosave (unsigned long pfn)
 
void save_processor_state (void)
 
void restore_processor_state (void)
 

Variables

const void __nosave_begin
 
const void __nosave_end
 

Macro Definition Documentation

#define PAGE_KEY_DATA_SIZE   (PAGE_SIZE - sizeof(struct page_key_data *))

Definition at line 39 of file suspend.c.

Function Documentation

unsigned long page_key_additional_pages ( unsigned long  pages)

Definition at line 52 of file suspend.c.

int page_key_alloc ( unsigned long  pages)

Definition at line 75 of file suspend.c.

void page_key_free ( void  )

Definition at line 60 of file suspend.c.

void page_key_memorize ( unsigned long pfn)

Definition at line 110 of file suspend.c.

void page_key_read ( unsigned long pfn)

Definition at line 98 of file suspend.c.

void page_key_write ( void address)

Definition at line 126 of file suspend.c.

int pfn_is_nosave ( unsigned long  pfn)

Definition at line 136 of file suspend.c.

void restore_processor_state ( void  )

Definition at line 173 of file suspend.c.

void save_processor_state ( void  )

Definition at line 152 of file suspend.c.

Variable Documentation

const void __nosave_begin
const void __nosave_end