Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
pstore_ram.h File Reference
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/types.h>
#include <linux/init.h>

Go to the source code of this file.

Data Structures

struct  persistent_ram_zone
 
struct  ramoops_platform_data
 

Functions

struct persistent_ram_zone
*__devinit 
persistent_ram_new (phys_addr_t start, size_t size, u32 sig, int ecc_size)
 
void persistent_ram_free (struct persistent_ram_zone *prz)
 
void persistent_ram_zap (struct persistent_ram_zone *prz)
 
int persistent_ram_write (struct persistent_ram_zone *prz, const void *s, unsigned int count)
 
void persistent_ram_save_old (struct persistent_ram_zone *prz)
 
size_t persistent_ram_old_size (struct persistent_ram_zone *prz)
 
voidpersistent_ram_old (struct persistent_ram_zone *prz)
 
void persistent_ram_free_old (struct persistent_ram_zone *prz)
 
ssize_t persistent_ram_ecc_string (struct persistent_ram_zone *prz, char *str, size_t len)
 

Function Documentation

ssize_t persistent_ram_ecc_string ( struct persistent_ram_zone prz,
char str,
size_t  len 
)

Definition at line 228 of file ram_core.c.

void persistent_ram_free ( struct persistent_ram_zone prz)

Definition at line 428 of file ram_core.c.

void persistent_ram_free_old ( struct persistent_ram_zone prz)

Definition at line 314 of file ram_core.c.

struct persistent_ram_zone* __devinit persistent_ram_new ( phys_addr_t  start,
size_t  size,
u32  sig,
int  ecc_size 
)
read

Definition at line 446 of file ram_core.c.

void* persistent_ram_old ( struct persistent_ram_zone prz)

Definition at line 309 of file ram_core.c.

size_t persistent_ram_old_size ( struct persistent_ram_zone prz)

Definition at line 304 of file ram_core.c.

void persistent_ram_save_old ( struct persistent_ram_zone prz)

Definition at line 251 of file ram_core.c.

int persistent_ram_write ( struct persistent_ram_zone prz,
const void s,
unsigned int  count 
)

Definition at line 274 of file ram_core.c.

void persistent_ram_zap ( struct persistent_ram_zone prz)

Definition at line 321 of file ram_core.c.