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.h File Reference
#include <linux/types.h>
#include <linux/ioctl.h>

Go to the source code of this file.

Data Structures

struct  dasd_information2_t
 
struct  dasd_information_t
 
struct  dasd_rssd_perf_stats_t
 
struct  dasd_profile_info_t
 
struct  format_data_t
 
struct  attrib_data_t
 
struct  dasd_symmio_parms
 
struct  dasd_snid_data
 
struct  dasd_snid_ioctl_data
 

Macros

#define DASD_IOCTL_LETTER   'D'
 
#define DASD_API_VERSION   6
 
#define DASD_FORMAT_NONE   0
 
#define DASD_FORMAT_LDL   1
 
#define DASD_FORMAT_CDL   2
 
#define DASD_FEATURE_DEFAULT   0x00
 
#define DASD_FEATURE_READONLY   0x01
 
#define DASD_FEATURE_USEDIAG   0x02
 
#define DASD_FEATURE_INITIAL_ONLINE   0x04
 
#define DASD_FEATURE_ERPLOG   0x08
 
#define DASD_FEATURE_FAILFAST   0x10
 
#define DASD_FEATURE_FAILONSLCK   0x20
 
#define DASD_FEATURE_USERAW   0x40
 
#define DASD_PARTN_BITS   2
 
#define DASD_FMT_INT_FMT_R0   1 /* write record zero */
 
#define DASD_FMT_INT_FMT_HA   2 /* write home address, also set FMT_R0 ! */
 
#define DASD_FMT_INT_INVAL   4 /* invalidate tracks */
 
#define DASD_FMT_INT_COMPAT   8 /* use OS/390 compatible disk layout */
 
#define DASD_NORMAL_CACHE   0x0
 
#define DASD_BYPASS_CACHE   0x1
 
#define DASD_INHIBIT_LOAD   0x2
 
#define DASD_SEQ_ACCESS   0x3
 
#define DASD_SEQ_PRESTAGE   0x4
 
#define DASD_REC_ACCESS   0x5
 
#define BIODASDDISABLE   _IO(DASD_IOCTL_LETTER,0)
 
#define BIODASDENABLE   _IO(DASD_IOCTL_LETTER,1)
 
#define BIODASDRSRV   _IO(DASD_IOCTL_LETTER,2) /* reserve */
 
#define BIODASDRLSE   _IO(DASD_IOCTL_LETTER,3) /* release */
 
#define BIODASDSLCK   _IO(DASD_IOCTL_LETTER,4) /* steal lock */
 
#define BIODASDPRRST   _IO(DASD_IOCTL_LETTER,5)
 
#define BIODASDQUIESCE   _IO(DASD_IOCTL_LETTER,6)
 
#define BIODASDRESUME   _IO(DASD_IOCTL_LETTER,7)
 
#define DASDAPIVER   _IOR(DASD_IOCTL_LETTER,0,int)
 
#define BIODASDINFO   _IOR(DASD_IOCTL_LETTER,1,dasd_information_t)
 
#define BIODASDPRRD   _IOR(DASD_IOCTL_LETTER,2,dasd_profile_info_t)
 
#define BIODASDINFO2   _IOR(DASD_IOCTL_LETTER,3,dasd_information2_t)
 
#define BIODASDPSRD   _IOR(DASD_IOCTL_LETTER,4,dasd_rssd_perf_stats_t)
 
#define BIODASDGATTR   _IOR(DASD_IOCTL_LETTER,5,attrib_data_t)
 
#define BIODASDFMT   _IOW(DASD_IOCTL_LETTER,1,format_data_t)
 
#define BIODASDSATTR   _IOW(DASD_IOCTL_LETTER,2,attrib_data_t)
 
#define BIODASDSNID   _IOWR(DASD_IOCTL_LETTER, 1, struct dasd_snid_ioctl_data)
 
#define BIODASDSYMMIO   _IOWR(DASD_IOCTL_LETTER, 240, dasd_symmio_parms_t)
 

Typedefs

typedef struct dasd_information2_t dasd_information2_t
 
typedef struct dasd_information_t dasd_information_t
 
typedef struct dasd_profile_info_t dasd_profile_info_t
 
typedef struct format_data_t format_data_t
 

Functions

struct dasd_rssd_perf_stats_t __attribute__ ((packed)) dasd_rssd_perf_stats_t
 

Variables

unsigned char invalid
 
unsigned char format
 
unsigned char data_format
 
unsigned char unit_address
 
unsigned short device_status
 
unsigned int nr_read_normal
 
unsigned int nr_read_normal_hits
 
unsigned int nr_write_normal
 
unsigned int nr_write_fast_normal_hits
 
unsigned int nr_read_seq
 
unsigned int nr_read_seq_hits
 
unsigned int nr_write_seq
 
unsigned int nr_write_fast_seq_hits
 
unsigned int nr_read_cache
 
unsigned int nr_read_cache_hits
 
unsigned int nr_write_cache
 
unsigned int nr_write_fast_cache_hits
 
unsigned int nr_inhibit_cache
 
unsigned int nr_bybass_cache
 
unsigned int nr_seq_dasd_to_cache
 
unsigned int nr_dasd_to_cache
 
unsigned int nr_cache_to_dasd
 
unsigned int nr_delayed_fast_write
 
unsigned int nr_normal_fast_write
 
unsigned int nr_seq_fast_write
 
unsigned int nr_cache_miss
 
unsigned char status2
 
unsigned int nr_quick_write_promotes
 
unsigned char reserved
 
unsigned short ssid
 
unsigned char reseved2 [96]
 
unsigned char operation
 
__u16 nr_cyl
 
__u8 reserved2 [29]
 
unsigned long long psf_data
 
unsigned long long rssd_result
 
int psf_data_len
 
int rssd_result_len
 
__u8 group
 
__u8 reserve
 
__u8 mode
 
__u8 res
 
__u8 pgid [11]
 
struct dasd_snid_data data
 
__u8 path_mask
 

Macro Definition Documentation

#define BIODASDDISABLE   _IO(DASD_IOCTL_LETTER,0)

Definition at line 251 of file dasd.h.

#define BIODASDENABLE   _IO(DASD_IOCTL_LETTER,1)

Definition at line 253 of file dasd.h.

#define BIODASDFMT   _IOW(DASD_IOCTL_LETTER,1,format_data_t)

Definition at line 281 of file dasd.h.

#define BIODASDGATTR   _IOR(DASD_IOCTL_LETTER,5,attrib_data_t)

Definition at line 277 of file dasd.h.

#define BIODASDINFO   _IOR(DASD_IOCTL_LETTER,1,dasd_information_t)

Definition at line 269 of file dasd.h.

#define BIODASDINFO2   _IOR(DASD_IOCTL_LETTER,3,dasd_information2_t)

Definition at line 273 of file dasd.h.

#define BIODASDPRRD   _IOR(DASD_IOCTL_LETTER,2,dasd_profile_info_t)

Definition at line 271 of file dasd.h.

#define BIODASDPRRST   _IO(DASD_IOCTL_LETTER,5)

Definition at line 259 of file dasd.h.

#define BIODASDPSRD   _IOR(DASD_IOCTL_LETTER,4,dasd_rssd_perf_stats_t)

Definition at line 275 of file dasd.h.

#define BIODASDQUIESCE   _IO(DASD_IOCTL_LETTER,6)

Definition at line 261 of file dasd.h.

#define BIODASDRESUME   _IO(DASD_IOCTL_LETTER,7)

Definition at line 263 of file dasd.h.

#define BIODASDRLSE   _IO(DASD_IOCTL_LETTER,3) /* release */

Definition at line 256 of file dasd.h.

#define BIODASDRSRV   _IO(DASD_IOCTL_LETTER,2) /* reserve */

Definition at line 255 of file dasd.h.

#define BIODASDSATTR   _IOW(DASD_IOCTL_LETTER,2,attrib_data_t)

Definition at line 283 of file dasd.h.

#define BIODASDSLCK   _IO(DASD_IOCTL_LETTER,4) /* steal lock */

Definition at line 257 of file dasd.h.

#define BIODASDSNID   _IOWR(DASD_IOCTL_LETTER, 1, struct dasd_snid_ioctl_data)

Definition at line 286 of file dasd.h.

#define BIODASDSYMMIO   _IOWR(DASD_IOCTL_LETTER, 240, dasd_symmio_parms_t)

Definition at line 288 of file dasd.h.

#define DASD_API_VERSION   6

Definition at line 21 of file dasd.h.

#define DASD_BYPASS_CACHE   0x1

Definition at line 205 of file dasd.h.

#define DASD_FEATURE_DEFAULT   0x00

Definition at line 77 of file dasd.h.

#define DASD_FEATURE_ERPLOG   0x08

Definition at line 81 of file dasd.h.

#define DASD_FEATURE_FAILFAST   0x10

Definition at line 82 of file dasd.h.

#define DASD_FEATURE_FAILONSLCK   0x20

Definition at line 83 of file dasd.h.

#define DASD_FEATURE_INITIAL_ONLINE   0x04

Definition at line 80 of file dasd.h.

#define DASD_FEATURE_READONLY   0x01

Definition at line 78 of file dasd.h.

#define DASD_FEATURE_USEDIAG   0x02

Definition at line 79 of file dasd.h.

#define DASD_FEATURE_USERAW   0x40

Definition at line 84 of file dasd.h.

#define DASD_FMT_INT_COMPAT   8 /* use OS/390 compatible disk layout */

Definition at line 188 of file dasd.h.

#define DASD_FMT_INT_FMT_HA   2 /* write home address, also set FMT_R0 ! */

Definition at line 186 of file dasd.h.

#define DASD_FMT_INT_FMT_R0   1 /* write record zero */

Definition at line 185 of file dasd.h.

#define DASD_FMT_INT_INVAL   4 /* invalidate tracks */

Definition at line 187 of file dasd.h.

#define DASD_FORMAT_CDL   2

Definition at line 67 of file dasd.h.

#define DASD_FORMAT_LDL   1

Definition at line 66 of file dasd.h.

#define DASD_FORMAT_NONE   0

Definition at line 65 of file dasd.h.

#define DASD_INHIBIT_LOAD   0x2

Definition at line 206 of file dasd.h.

#define DASD_IOCTL_LETTER   'D'

Definition at line 19 of file dasd.h.

#define DASD_NORMAL_CACHE   0x0

Definition at line 204 of file dasd.h.

#define DASD_PARTN_BITS   2

Definition at line 86 of file dasd.h.

#define DASD_REC_ACCESS   0x5

Definition at line 209 of file dasd.h.

#define DASD_SEQ_ACCESS   0x3

Definition at line 207 of file dasd.h.

#define DASD_SEQ_PRESTAGE   0x4

Definition at line 208 of file dasd.h.

#define DASDAPIVER   _IOR(DASD_IOCTL_LETTER,0,int)

Definition at line 267 of file dasd.h.

Typedef Documentation

Function Documentation

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 239 of file dasd.h.

unsigned char data_format

Definition at line 151 of file dasd.h.

unsigned short device_status

Definition at line 153 of file dasd.h.

unsigned char format

Definition at line 150 of file dasd.h.

__u8 group

Definition at line 232 of file dasd.h.

unsigned char invalid

Definition at line 149 of file dasd.h.

__u8 mode

Definition at line 234 of file dasd.h.

unsigned int nr_bybass_cache

Definition at line 167 of file dasd.h.

unsigned int nr_cache_miss

Definition at line 174 of file dasd.h.

unsigned int nr_cache_to_dasd

Definition at line 170 of file dasd.h.

__u16 nr_cyl

Definition at line 204 of file dasd.h.

unsigned int nr_dasd_to_cache

Definition at line 169 of file dasd.h.

unsigned int nr_delayed_fast_write

Definition at line 171 of file dasd.h.

unsigned int nr_inhibit_cache

Definition at line 166 of file dasd.h.

unsigned int nr_normal_fast_write

Definition at line 172 of file dasd.h.

unsigned int nr_quick_write_promotes

Definition at line 176 of file dasd.h.

unsigned int nr_read_cache

Definition at line 162 of file dasd.h.

unsigned int nr_read_cache_hits

Definition at line 163 of file dasd.h.

unsigned int nr_read_normal

Definition at line 154 of file dasd.h.

unsigned int nr_read_normal_hits

Definition at line 155 of file dasd.h.

unsigned int nr_read_seq

Definition at line 158 of file dasd.h.

unsigned int nr_read_seq_hits

Definition at line 159 of file dasd.h.

unsigned int nr_seq_dasd_to_cache

Definition at line 168 of file dasd.h.

unsigned int nr_seq_fast_write

Definition at line 173 of file dasd.h.

unsigned int nr_write_cache

Definition at line 164 of file dasd.h.

unsigned int nr_write_fast_cache_hits

Definition at line 165 of file dasd.h.

unsigned int nr_write_fast_normal_hits

Definition at line 157 of file dasd.h.

unsigned int nr_write_fast_seq_hits

Definition at line 161 of file dasd.h.

unsigned int nr_write_normal

Definition at line 156 of file dasd.h.

unsigned int nr_write_seq

Definition at line 160 of file dasd.h.

unsigned char operation

Definition at line 202 of file dasd.h.

__u8 path_mask

Definition at line 240 of file dasd.h.

__u8 pgid[11]

Definition at line 240 of file dasd.h.

unsigned long long psf_data

Definition at line 222 of file dasd.h.

int psf_data_len

Definition at line 224 of file dasd.h.

__u8 res

Definition at line 235 of file dasd.h.

__u8 reserve

Definition at line 233 of file dasd.h.

unsigned char reserved[8]

Definition at line 177 of file dasd.h.

__u8 reserved2[29]

Definition at line 205 of file dasd.h.

unsigned char reseved2[96]

Definition at line 179 of file dasd.h.

unsigned long long rssd_result

Definition at line 223 of file dasd.h.

int rssd_result_len

Definition at line 225 of file dasd.h.

unsigned short ssid

Definition at line 178 of file dasd.h.

u32 status2

Definition at line 175 of file dasd.h.

unsigned char unit_address

Definition at line 152 of file dasd.h.