Linux Kernel
3.7.1
|
#include <linux/device.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/list.h>
#include <linux/memblock.h>
#include <linux/rslib.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/pstore_ram.h>
#include <asm/page.h>
Go to the source code of this file.
Data Structures | |
struct | persistent_ram_buffer |
Macros | |
#define | PERSISTENT_RAM_SIG (0x43474244) /* DBGC */ |
Functions | |
ssize_t | persistent_ram_ecc_string (struct persistent_ram_zone *prz, char *str, size_t len) |
void | persistent_ram_save_old (struct persistent_ram_zone *prz) |
int notrace | persistent_ram_write (struct persistent_ram_zone *prz, const void *s, unsigned int count) |
size_t | persistent_ram_old_size (struct persistent_ram_zone *prz) |
void * | persistent_ram_old (struct persistent_ram_zone *prz) |
void | persistent_ram_free_old (struct persistent_ram_zone *prz) |
void | persistent_ram_zap (struct persistent_ram_zone *prz) |
void | persistent_ram_free (struct persistent_ram_zone *prz) |
struct persistent_ram_zone *__devinit | persistent_ram_new (phys_addr_t start, size_t size, u32 sig, int ecc_size) |
#define PERSISTENT_RAM_SIG (0x43474244) /* DBGC */ |
Definition at line 36 of file ram_core.c.
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.
|
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 notrace 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.