Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sclp_cpi_sys.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/stat.h>
#include <linux/device.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/kmod.h>
#include <linux/timer.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/completion.h>
#include <linux/export.h>
#include <asm/ebcdic.h>
#include <asm/sclp.h>
#include "sclp.h"
#include "sclp_rw.h"
#include "sclp_cpi_sys.h"

Go to the source code of this file.

Data Structures

struct  cpi_evbuf
 
struct  cpi_sccb
 

Macros

#define KMSG_COMPONENT   "sclp_cpi"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define CPI_LENGTH_NAME   8
 
#define CPI_LENGTH_LEVEL   16
 

Functions

struct cpi_evbuf __attribute__ ((packed))
 
int sclp_cpi_set_data (const char *system, const char *sysplex, const char *type, const u64 level)
 
 EXPORT_SYMBOL (sclp_cpi_set_data)
 
 __initcall (cpi_init)
 

Variables

struct evbuf_header header
 
u8 id_format
 
u8 reserved0
 
u8 system_type [CPI_LENGTH_NAME]
 
u64 reserved1
 
u8 system_name [CPI_LENGTH_NAME]
 
u64 reserved2
 
u64 system_level
 
u64 reserved3
 
u8 sysplex_name [CPI_LENGTH_NAME]
 
u8 reserved4 [16]
 
struct cpi_evbuf cpi_evbuf
 

Macro Definition Documentation

#define CPI_LENGTH_LEVEL   16

Definition at line 32 of file sclp_cpi_sys.c.

#define CPI_LENGTH_NAME   8

Definition at line 31 of file sclp_cpi_sys.c.

#define KMSG_COMPONENT   "sclp_cpi"

Definition at line 9 of file sclp_cpi_sys.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 10 of file sclp_cpi_sys.c.

Function Documentation

struct cpi_evbuf __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

__initcall ( cpi_init  )
EXPORT_SYMBOL ( sclp_cpi_set_data  )
int sclp_cpi_set_data ( const char system,
const char sysplex,
const char type,
const u64  level 
)

Definition at line 386 of file sclp_cpi_sys.c.

Variable Documentation

Definition at line 55 of file sclp_cpi_sys.c.

Definition at line 49 of file sclp_cpi_sys.c.

u8 id_format

Definition at line 50 of file sclp_cpi_sys.c.

u8 reserved0

Definition at line 51 of file sclp_cpi_sys.c.

u64 reserved1

Definition at line 53 of file sclp_cpi_sys.c.

u64 reserved2

Definition at line 55 of file sclp_cpi_sys.c.

u64 reserved3

Definition at line 57 of file sclp_cpi_sys.c.

u8 reserved4[16]

Definition at line 59 of file sclp_cpi_sys.c.

static char sysplex_name

Definition at line 58 of file sclp_cpi_sys.c.

static u64 system_level

Definition at line 56 of file sclp_cpi_sys.c.

static char system_name

Definition at line 54 of file sclp_cpi_sys.c.

char system_type[CPI_LENGTH_NAME+1]

Definition at line 52 of file sclp_cpi_sys.c.