libparted 3.6
|
Macros | |
#define | _(String) (String) |
#define | PDEBUG |
Enumerations | |
enum | failure { unable_to_open , unable_to_seek , unable_to_write , unable_to_read } |
Functions | |
u_int64_t | cchh2blk (cchh_t *p, struct fdasd_hd_geometry *geo) |
u_int32_t | cchh2trk (cchh_t *p, struct fdasd_hd_geometry *geo) |
u_int64_t | cchhb2blk (cchhb_t *p, struct fdasd_hd_geometry *geo) |
char * | vtoc_ebcdic_dec (char const *source, char *target, int l) |
char * | vtoc_ebcdic_enc (char const *source, char *target, int l) |
u_int32_t | vtoc_get_cyl_from_cchh (cchh_t *addr) |
u_int32_t | vtoc_get_cyl_from_cchhb (cchhb_t *addr) |
u_int16_t | vtoc_get_head_from_cchh (cchh_t *addr) |
u_int16_t | vtoc_get_head_from_cchhb (cchhb_t *addr) |
void | vtoc_init_format1_label (unsigned int blksize, extent_t *part_extent, format1_label_t *f1) |
void | vtoc_init_format4_label (format4_label_t *f4, unsigned int compat_cylinders, unsigned int real_cylinders, unsigned int tracks, unsigned int blocks, unsigned int blksize, u_int16_t dev_type) |
void | vtoc_init_format5_label (format5_label_t *f5) |
void | vtoc_init_format7_label (format7_label_t *f7) |
void | vtoc_init_format8_label (unsigned int blksize, extent_t *part_extent, format1_label_t *f8) |
void | vtoc_init_format9_label (format9_label_t *f9) |
void | vtoc_init_format_1_8_label (unsigned int blksize, extent_t *part_extent, format1_label_t *f1) |
void | vtoc_read_label (int f, unsigned long position, format1_label_t *f1, format4_label_t *f4, format5_label_t *f5, format7_label_t *f7) |
int | vtoc_read_volume_label (int f, unsigned long vlabel_start, volume_label_t *vlabel) |
void | vtoc_set_cchh (cchh_t *addr, u_int32_t cc, u_int16_t hh) |
void | vtoc_set_cchhb (cchhb_t *addr, u_int32_t cc, u_int16_t hh, u_int8_t b) |
void | vtoc_set_date (labeldate_t *d, u_int8_t year, u_int16_t day) |
void | vtoc_set_extent (extent_t *ext, u_int8_t typeind, u_int8_t seqno, cchh_t *lower, cchh_t *upper) |
void | vtoc_set_freespace (format4_label_t *f4, format5_label_t *f5, format7_label_t *f7, char ch, int verbose, u_int32_t start, u_int32_t stop, u_int32_t cyl, u_int32_t trk) |
void | vtoc_update_format4_label (format4_label_t *f4, cchhb_t *highest_f1, u_int16_t unused_update) |
void | vtoc_update_format5_label_add (format5_label_t *f5, int verbose, int trk, u_int16_t a, u_int16_t b, u_int8_t c) |
void | vtoc_update_format5_label_del (format5_label_t *f5, int verbose, int trk, u_int16_t a, u_int16_t b, u_int8_t c) |
void | vtoc_update_format7_label_add (format7_label_t *f7, int verbose, u_int32_t a, u_int32_t b) |
void | vtoc_update_format7_label_del (format7_label_t *f7, int verbose, u_int32_t a, u_int32_t b) |
void | vtoc_update_format8_label (cchhb_t *associated_f9, format1_label_t *f8) |
char * | vtoc_volume_label_get_label (volume_label_t *vlabel, char *lbl) |
char * | vtoc_volume_label_get_volser (volume_label_t *vlabel, char *volser) |
void | vtoc_volume_label_init (volume_label_t *vlabel) |
void | vtoc_volume_label_set_key (volume_label_t *vlabel, char const *key) |
void | vtoc_volume_label_set_label (volume_label_t *vlabel, char const *lbl) |
void | vtoc_volume_label_set_volser (volume_label_t *vlabel, char const *volser) |
void | vtoc_write_label (int f, unsigned long position, format1_label_t const *f1, format4_label_t const *f4, format5_label_t const *f5, format7_label_t const *f7, format9_label_t const *f9) |
int | vtoc_write_volume_label (int f, unsigned long vlabel_start, volume_label_t const *vlabel) |
#define _ | ( | String | ) | (String) |
#define PDEBUG |
enum failure |
u_int64_t cchh2blk | ( | cchh_t * | p, |
struct fdasd_hd_geometry * | geo | ||
) |
u_int32_t cchh2trk | ( | cchh_t * | p, |
struct fdasd_hd_geometry * | geo | ||
) |
u_int64_t cchhb2blk | ( | cchhb_t * | p, |
struct fdasd_hd_geometry * | geo | ||
) |
char * vtoc_ebcdic_dec | ( | char const * | source, |
char * | target, | ||
int | l | ||
) |
char * vtoc_ebcdic_enc | ( | char const * | source, |
char * | target, | ||
int | l | ||
) |
u_int32_t vtoc_get_cyl_from_cchh | ( | cchh_t * | addr | ) |
u_int32_t vtoc_get_cyl_from_cchhb | ( | cchhb_t * | addr | ) |
u_int16_t vtoc_get_head_from_cchh | ( | cchh_t * | addr | ) |
u_int16_t vtoc_get_head_from_cchhb | ( | cchhb_t * | addr | ) |
void vtoc_init_format1_label | ( | unsigned int | blksize, |
extent_t * | part_extent, | ||
format1_label_t * | f1 | ||
) |
void vtoc_init_format4_label | ( | format4_label_t * | f4, |
unsigned int | compat_cylinders, | ||
unsigned int | real_cylinders, | ||
unsigned int | tracks, | ||
unsigned int | blocks, | ||
unsigned int | blksize, | ||
u_int16_t | dev_type | ||
) |
void vtoc_init_format5_label | ( | format5_label_t * | f5 | ) |
void vtoc_init_format7_label | ( | format7_label_t * | f7 | ) |
void vtoc_init_format8_label | ( | unsigned int | blksize, |
extent_t * | part_extent, | ||
format1_label_t * | f8 | ||
) |
void vtoc_init_format9_label | ( | format9_label_t * | f9 | ) |
void vtoc_init_format_1_8_label | ( | unsigned int | blksize, |
extent_t * | part_extent, | ||
format1_label_t * | f1 | ||
) |
void vtoc_read_label | ( | int | f, |
unsigned long | position, | ||
format1_label_t * | f1, | ||
format4_label_t * | f4, | ||
format5_label_t * | f5, | ||
format7_label_t * | f7 | ||
) |
int vtoc_read_volume_label | ( | int | f, |
unsigned long | vlabel_start, | ||
volume_label_t * | vlabel | ||
) |
void vtoc_set_cchh | ( | cchh_t * | addr, |
u_int32_t | cc, | ||
u_int16_t | hh | ||
) |
void vtoc_set_cchhb | ( | cchhb_t * | addr, |
u_int32_t | cc, | ||
u_int16_t | hh, | ||
u_int8_t | b | ||
) |
void vtoc_set_date | ( | labeldate_t * | d, |
u_int8_t | year, | ||
u_int16_t | day | ||
) |
void vtoc_set_extent | ( | extent_t * | ext, |
u_int8_t | typeind, | ||
u_int8_t | seqno, | ||
cchh_t * | lower, | ||
cchh_t * | upper | ||
) |
void vtoc_set_freespace | ( | format4_label_t * | f4, |
format5_label_t * | f5, | ||
format7_label_t * | f7, | ||
char | ch, | ||
int | verbose, | ||
u_int32_t | start, | ||
u_int32_t | stop, | ||
u_int32_t | cyl, | ||
u_int32_t | trk | ||
) |
void vtoc_update_format4_label | ( | format4_label_t * | f4, |
cchhb_t * | highest_f1, | ||
u_int16_t | unused_update | ||
) |
void vtoc_update_format5_label_add | ( | format5_label_t * | f5, |
int | verbose, | ||
int | trk, | ||
u_int16_t | a, | ||
u_int16_t | b, | ||
u_int8_t | c | ||
) |
void vtoc_update_format5_label_del | ( | format5_label_t * | f5, |
int | verbose, | ||
int | trk, | ||
u_int16_t | a, | ||
u_int16_t | b, | ||
u_int8_t | c | ||
) |
void vtoc_update_format7_label_add | ( | format7_label_t * | f7, |
int | verbose, | ||
u_int32_t | a, | ||
u_int32_t | b | ||
) |
void vtoc_update_format7_label_del | ( | format7_label_t * | f7, |
int | verbose, | ||
u_int32_t | a, | ||
u_int32_t | b | ||
) |
void vtoc_update_format8_label | ( | cchhb_t * | associated_f9, |
format1_label_t * | f8 | ||
) |
char * vtoc_volume_label_get_label | ( | volume_label_t * | vlabel, |
char * | lbl | ||
) |
char * vtoc_volume_label_get_volser | ( | volume_label_t * | vlabel, |
char * | volser | ||
) |
void vtoc_volume_label_init | ( | volume_label_t * | vlabel | ) |
void vtoc_volume_label_set_key | ( | volume_label_t * | vlabel, |
char const * | key | ||
) |
void vtoc_volume_label_set_label | ( | volume_label_t * | vlabel, |
char const * | lbl | ||
) |
void vtoc_volume_label_set_volser | ( | volume_label_t * | vlabel, |
char const * | volser | ||
) |
void vtoc_write_label | ( | int | f, |
unsigned long | position, | ||
format1_label_t const * | f1, | ||
format4_label_t const * | f4, | ||
format5_label_t const * | f5, | ||
format7_label_t const * | f7, | ||
format9_label_t const * | f9 | ||
) |
int vtoc_write_volume_label | ( | int | f, |
unsigned long | vlabel_start, | ||
volume_label_t const * | vlabel | ||
) |