Go to the source code of this file.
|
#define | ALTERNATE_CYLINDERS_USED 0x10 |
|
#define | BIODASDDISABLE _IO(DASD_IOCTL_LETTER,0) |
|
#define | BIODASDENABLE _IO(DASD_IOCTL_LETTER,1) |
|
#define | BIODASDINFO _IOR(DASD_IOCTL_LETTER,1,dasd_information_t) |
|
#define | BLKGETSIZE64 _IOR(0x12,114,size_t) |
|
#define | BLKROGET _IO(0x12,94) /* get read-only status (0 = read_write) */ |
|
#define | BLKRRPART _IO(0x12,95) |
|
#define | BLKSSZGET _IO(0x12,104) |
|
#define | DASD_FMT_INT_COMPAT 8 /* use OS/390 compatible disk layout */ |
|
#define | DASD_FMT_INT_FMT_HA 2 /* write home address, also set FMT_R0 ! */ |
|
#define | DASD_FMT_INT_FMT_R0 1 /* write record zero */ |
|
#define | DASD_FMT_INT_INVAL 4 /* invalidate tracks */ |
|
#define | DASD_IOCTL_LETTER 'D' |
|
#define | DASD_MIN_API_VERSION 0 |
|
#define | DASD_PARTN_BITS 2 |
|
#define | DASDAPIVER _IOR(DASD_IOCTL_LETTER,0,int) |
|
#define | DEFAULT_FDASD_CONF "/etc/fdasd.conf" /* default config file */ |
|
#define | DEVICE "device" |
|
#define | DISC "disc" |
|
#define | FDASD_VERSION "1.32.0" |
|
#define | HDIO_GETGEO 0x0301 |
|
#define | PART "part" |
|
#define | PART_TYPE_LVM "LVM " |
|
#define | PART_TYPE_NATIVE "NATIVE" |
|
#define | PART_TYPE_RAID "RAID " |
|
#define | PART_TYPE_SWAP "SWAP " |
|
#define | PARTITION_LINUX 0x83 |
|
#define | PARTITION_LINUX_LVM 0x8e |
|
#define | PARTITION_LINUX_RAID 0xfd |
|
#define | PARTITION_LINUX_SWAP 0x82 |
|
#define | PARTN_MASK ((1 << DASD_PARTN_BITS) - 1) |
|
#define | PDEBUG |
|
#define | USABLE_PARTITIONS ((1 << DASD_PARTN_BITS) - 1) |
|
|
enum | fdasd_failure {
unable_to_open_disk
, unable_to_seek_disk
, unable_to_read_disk
, read_only_disk
,
unable_to_ioctl
, api_version_mismatch
, wrong_disk_type
, wrong_disk_format
,
disk_in_use
, config_syntax_error
, vlabel_corrupted
, dsname_corrupted
,
malloc_failed
, device_verification_failed
, volser_not_found
, unable_to_open_disk
,
unable_to_seek_disk
, unable_to_read_disk
, read_only_disk
, unable_to_ioctl
,
api_version_mismatch
, wrong_disk_type
, wrong_disk_format
, disk_in_use
,
config_syntax_error
, vlabel_corrupted
, dsname_corrupted
, malloc_failed
,
device_verification_failed
, volser_not_found
} |
|
enum | offset { lower
, upper
, lower
, upper
} |
|
|
struct { |
unsigned char f1 |
|
unsigned short f2 |
|
unsigned short f3 |
|
} | __attribute__ ((packed)) f_0x01 |
|
partition_info_t * | fdasd_add_partition (fdasd_anchor_t *anc, unsigned int start, unsigned int stop) |
|
void | fdasd_change_volser (fdasd_anchor_t *anc, char *str) |
|
void | fdasd_check_api_version (fdasd_anchor_t *anc, int fd) |
|
void | fdasd_check_volser (char *volser, int devno) |
|
int | fdasd_check_volume (fdasd_anchor_t *anc, int fd) |
|
void | fdasd_cleanup (fdasd_anchor_t *anchor) |
|
int | fdasd_get_geometry (const PedDevice *dev, fdasd_anchor_t *anc, int fd) |
|
int | fdasd_get_volser (fdasd_anchor_t *anc, char *volser, int fd) |
|
void | fdasd_initialize_anchor (fdasd_anchor_t *anc) |
|
int | fdasd_prepare_labels (fdasd_anchor_t *anc, int fd) |
|
void | fdasd_recreate_vtoc (fdasd_anchor_t *anc) |
|
void | fdasd_reuse_vtoc (fdasd_anchor_t *anc) |
|
int | fdasd_write_labels (fdasd_anchor_t *anc, int fd) |
|
◆ ALTERNATE_CYLINDERS_USED
#define ALTERNATE_CYLINDERS_USED 0x10 |
◆ BIODASDDISABLE
◆ BIODASDENABLE
◆ BIODASDINFO
◆ BLKGETSIZE64
#define BLKGETSIZE64 _IOR(0x12,114,size_t) |
◆ BLKROGET
#define BLKROGET _IO(0x12,94) /* get read-only status (0 = read_write) */ |
◆ BLKRRPART
#define BLKRRPART _IO(0x12,95) |
◆ BLKSSZGET
#define BLKSSZGET _IO(0x12,104) |
◆ DASD_FMT_INT_COMPAT
#define DASD_FMT_INT_COMPAT 8 /* use OS/390 compatible disk layout */ |
◆ DASD_FMT_INT_FMT_HA
#define DASD_FMT_INT_FMT_HA 2 /* write home address, also set FMT_R0 ! */ |
◆ DASD_FMT_INT_FMT_R0
#define DASD_FMT_INT_FMT_R0 1 /* write record zero */ |
◆ DASD_FMT_INT_INVAL
#define DASD_FMT_INT_INVAL 4 /* invalidate tracks */ |
◆ DASD_IOCTL_LETTER
#define DASD_IOCTL_LETTER 'D' |
◆ DASD_MIN_API_VERSION
#define DASD_MIN_API_VERSION 0 |
◆ DASD_PARTN_BITS
#define DASD_PARTN_BITS 2 |
◆ DASDAPIVER
◆ DEFAULT_FDASD_CONF
#define DEFAULT_FDASD_CONF "/etc/fdasd.conf" /* default config file */ |
◆ DEVICE
◆ DISC
◆ FDASD_VERSION
#define FDASD_VERSION "1.32.0" |
◆ HDIO_GETGEO
#define HDIO_GETGEO 0x0301 |
◆ PART
◆ PART_TYPE_LVM
#define PART_TYPE_LVM "LVM " |
◆ PART_TYPE_NATIVE
#define PART_TYPE_NATIVE "NATIVE" |
◆ PART_TYPE_RAID
#define PART_TYPE_RAID "RAID " |
◆ PART_TYPE_SWAP
#define PART_TYPE_SWAP "SWAP " |
◆ PARTITION_LINUX
#define PARTITION_LINUX 0x83 |
◆ PARTITION_LINUX_LVM
#define PARTITION_LINUX_LVM 0x8e |
◆ PARTITION_LINUX_RAID
#define PARTITION_LINUX_RAID 0xfd |
◆ PARTITION_LINUX_SWAP
#define PARTITION_LINUX_SWAP 0x82 |
◆ PARTN_MASK
◆ PDEBUG
◆ USABLE_PARTITIONS
◆ config_data_t
◆ dasd_information_t
◆ fdasd_anchor_t
◆ format_data_t
◆ partition_info_t
◆ fdasd_failure
Enumerator |
---|
unable_to_open_disk | |
unable_to_seek_disk | |
unable_to_read_disk | |
read_only_disk | |
unable_to_ioctl | |
api_version_mismatch | |
wrong_disk_type | |
wrong_disk_format | |
disk_in_use | |
config_syntax_error | |
vlabel_corrupted | |
dsname_corrupted | |
malloc_failed | |
device_verification_failed | |
volser_not_found | |
unable_to_open_disk | |
unable_to_seek_disk | |
unable_to_read_disk | |
read_only_disk | |
unable_to_ioctl | |
api_version_mismatch | |
wrong_disk_type | |
wrong_disk_format | |
disk_in_use | |
config_syntax_error | |
vlabel_corrupted | |
dsname_corrupted | |
malloc_failed | |
device_verification_failed | |
volser_not_found | |
◆ offset
Enumerator |
---|
lower | |
upper | |
lower | |
upper | |
◆ __attribute__()
struct @5 __attribute__::__attribute__ |
( |
(packed) |
| ) |
|
◆ fdasd_add_partition()
◆ fdasd_change_volser()
◆ fdasd_check_api_version()
◆ fdasd_check_volser()
void fdasd_check_volser |
( |
char * |
volser, |
|
|
int |
devno |
|
) |
| |
◆ fdasd_check_volume()
◆ fdasd_cleanup()
◆ fdasd_get_geometry()
◆ fdasd_get_volser()
◆ fdasd_initialize_anchor()
◆ fdasd_prepare_labels()
◆ fdasd_recreate_vtoc()
◆ fdasd_reuse_vtoc()
◆ fdasd_write_labels()
◆ async
◆ byte_per_track
unsigned char byte_per_track[3] |
◆ cache
◆ cache_info
◆ cfw
◆ cu_type
◆ defect_wr
◆ dev_class
◆ dev_model
◆ dev_type
◆ dfw
◆ director
◆ dual_copy
◆ f1
◆ f2
◆ f3
◆ f4
◆ f5
◆ factor6
◆ factor7
◆ factor8
◆ first_alt_trk
unsigned short first_alt_trk |
◆ first_dia_trk
unsigned short first_dia_trk |
◆ first_sup_trk
unsigned short first_sup_trk |
◆ formula
◆ home_bytes
unsigned short home_bytes |
◆ long_no_cyl
◆ max_rec_zero
unsigned short max_rec_zero |
◆ MDR_ID
◆ model
◆ mult_burst
◆ no_alt_trk
unsigned short no_alt_trk |
◆ no_cyl
◆ no_dia_trk
unsigned short no_dia_trk |
◆ no_sup_trk
unsigned short no_sup_trk |
◆ OBR_ID
◆ RD_IN_LR
◆ rd_trk_set
◆ reserved
◆ reserved1
◆ reserved2
◆ reserved3
◆ reserved4
◆ reserved5
◆ reserved6
◆ reset_alleg
unsigned char reset_alleg |
◆ RT_in_LR
◆ RWANY_in_LR
unsigned char RWANY_in_LR |
◆ sec_per_trk
unsigned char sec_per_trk |
◆ sense_down
◆ striping
◆ support
◆ trk_per_cyl
unsigned short trk_per_cyl |
◆ unit_type
◆ XRC_supported
unsigned char XRC_supported |