Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pstore_info Struct Reference

#include <pstore.h>

Data Fields

struct moduleowner
 
charname
 
spinlock_t buf_lock
 
charbuf
 
size_t bufsize
 
struct mutex read_mutex
 
int(* open )(struct pstore_info *psi)
 
int(* close )(struct pstore_info *psi)
 
ssize_t(* read )(u64 *id, enum pstore_type_id *type, struct timespec *time, char **buf, struct pstore_info *psi)
 
int(* write )(enum pstore_type_id type, enum kmsg_dump_reason reason, u64 *id, unsigned int part, size_t size, struct pstore_info *psi)
 
int(* write_buf )(enum pstore_type_id type, enum kmsg_dump_reason reason, u64 *id, unsigned int part, const char *buf, size_t size, struct pstore_info *psi)
 
int(* erase )(enum pstore_type_id type, u64 id, struct pstore_info *psi)
 
voiddata
 

Detailed Description

Definition at line 43 of file pstore.h.

Field Documentation

Definition at line 47 of file pstore.h.

spinlock_t buf_lock

Definition at line 46 of file pstore.h.

size_t bufsize

Definition at line 48 of file pstore.h.

int(* close)(struct pstore_info *psi)

Definition at line 51 of file pstore.h.

Definition at line 64 of file pstore.h.

int(* erase)(enum pstore_type_id type, u64 id, struct pstore_info *psi)

Definition at line 62 of file pstore.h.

char* name

Definition at line 45 of file pstore.h.

int(* open)(struct pstore_info *psi)

Definition at line 50 of file pstore.h.

struct module* owner

Definition at line 44 of file pstore.h.

Definition at line 52 of file pstore.h.

struct mutex read_mutex

Definition at line 49 of file pstore.h.

Definition at line 55 of file pstore.h.

int(* write_buf)(enum pstore_type_id type, enum kmsg_dump_reason reason, u64 *id, unsigned int part, const char *buf, size_t size, struct pstore_info *psi)

Definition at line 58 of file pstore.h.


The documentation for this struct was generated from the following file: