Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
dasd_diag.h File Reference

Go to the source code of this file.

Data Structures

struct  dasd_diag_characteristics
 
struct  dasd_diag_bio
 
struct  dasd_diag_init_io
 
struct  dasd_diag_rw_io
 

Macros

#define MDSK_WRITE_REQ   0x01
 
#define MDSK_READ_REQ   0x02
 
#define INIT_BIO   0x00
 
#define RW_BIO   0x01
 
#define TERM_BIO   0x02
 
#define DEV_CLASS_FBA   0x01
 
#define DEV_CLASS_ECKD   0x04
 
#define DASD_DIAG_CODE_31BIT   0x03
 
#define DASD_DIAG_CODE_64BIT   0x07
 
#define DASD_DIAG_RWFLAG_ASYNC   0x02
 
#define DASD_DIAG_RWFLAG_NOCACHE   0x01
 
#define DASD_DIAG_FLAGA_FORMAT_64BIT   0x80
 
#define DASD_DIAG_FLAGA_DEFAULT   0x0
 

Typedefs

typedef u32 blocknum_t
 
typedef s32 sblocknum_t
 

Functions

struct dasd_diag_characteristics __attribute__ ((packed, aligned(4)))
 
struct dasd_diag_bio __attribute__ ((packed, aligned(8)))
 

Variables

u16 dev_nr
 
u16 rdc_len
 
u8 vdev_class
 
u8 vdev_type
 
u8 vdev_status
 
u8 vdev_flags
 
u8 rdev_class
 
u8 rdev_type
 
u8 rdev_model
 
u8 rdev_features
 
u8 type
 
u8 status
 
u16 spare1
 
blocknum_t block_number
 
u32 alet
 
voidbuffer
 
u8 flaga
 
u32 block_size
 
blocknum_t offset
 
sblocknum_t start_block
 
blocknum_t end_block
 
u8 spare2 [24]
 
u8 key
 
u8 flags
 
u32 block_count
 
struct dasd_diag_biobio_list
 
u32 interrupt_params
 
u8 spare3 [20]
 

Macro Definition Documentation

#define DASD_DIAG_CODE_31BIT   0x03

Definition at line 20 of file dasd_diag.h.

#define DASD_DIAG_CODE_64BIT   0x07

Definition at line 21 of file dasd_diag.h.

#define DASD_DIAG_FLAGA_DEFAULT   0x0

Definition at line 84 of file dasd_diag.h.

#define DASD_DIAG_FLAGA_FORMAT_64BIT   0x80

Definition at line 26 of file dasd_diag.h.

#define DASD_DIAG_RWFLAG_ASYNC   0x02

Definition at line 23 of file dasd_diag.h.

#define DASD_DIAG_RWFLAG_NOCACHE   0x01

Definition at line 24 of file dasd_diag.h.

#define DEV_CLASS_ECKD   0x04

Definition at line 18 of file dasd_diag.h.

#define DEV_CLASS_FBA   0x01

Definition at line 17 of file dasd_diag.h.

#define INIT_BIO   0x00

Definition at line 13 of file dasd_diag.h.

#define MDSK_READ_REQ   0x02

Definition at line 11 of file dasd_diag.h.

#define MDSK_WRITE_REQ   0x01

Definition at line 10 of file dasd_diag.h.

#define RW_BIO   0x01

Definition at line 14 of file dasd_diag.h.

#define TERM_BIO   0x02

Definition at line 15 of file dasd_diag.h.

Typedef Documentation

typedef u32 blocknum_t

Definition at line 86 of file dasd_diag.h.

typedef s32 sblocknum_t

Definition at line 87 of file dasd_diag.h.

Function Documentation

Scatter-gather list for preada/pwritea calls.

< Client physical address of the buffer segment.

< Page table entry describing the caching and location override characteristics of the buffer segment. Some drivers ignore this element and will require that the NOCACHE flag be set on their requests.

< Length of the buffer segment.

Definition at line 1740 of file hypervisor.h.

Variable Documentation

u32 alet

Definition at line 101 of file dasd_diag.h.

struct dasd_diag_bio* bio_list

Definition at line 130 of file dasd_diag.h.

u32 block_count

Definition at line 128 of file dasd_diag.h.

blocknum_t block_number

Definition at line 100 of file dasd_diag.h.

u32 block_size

Definition at line 111 of file dasd_diag.h.

Definition at line 102 of file dasd_diag.h.

u16 dev_nr

Definition at line 40 of file dasd_diag.h.

blocknum_t end_block

Definition at line 114 of file dasd_diag.h.

u8 flaga

Definition at line 109 of file dasd_diag.h.

u8 flags

Definition at line 126 of file dasd_diag.h.

u32 interrupt_params

Definition at line 131 of file dasd_diag.h.

u8 key

Definition at line 125 of file dasd_diag.h.

Definition at line 112 of file dasd_diag.h.

u16 rdc_len

Definition at line 41 of file dasd_diag.h.

u8 rdev_class

Definition at line 46 of file dasd_diag.h.

u8 rdev_features

Definition at line 49 of file dasd_diag.h.

u8 rdev_model

Definition at line 48 of file dasd_diag.h.

u8 rdev_type

Definition at line 47 of file dasd_diag.h.

u8 spare1

Definition at line 99 of file dasd_diag.h.

u8 spare2

Definition at line 115 of file dasd_diag.h.

u8 spare3[20]

Definition at line 132 of file dasd_diag.h.

sblocknum_t start_block

Definition at line 113 of file dasd_diag.h.

Definition at line 98 of file dasd_diag.h.

Definition at line 97 of file dasd_diag.h.

u8 vdev_class

Definition at line 42 of file dasd_diag.h.

u8 vdev_flags

Definition at line 45 of file dasd_diag.h.

u8 vdev_status

Definition at line 44 of file dasd_diag.h.

u8 vdev_type

Definition at line 43 of file dasd_diag.h.