libparted 3.6
|
Macros | |
#define | _(String) (String) |
#define | BSD_BBSIZE 8192 /* size of boot area, with label */ |
#define | BSD_DISKMAGIC (0x82564557UL) /* The disk magic number */ |
#define | BSD_DTYPE_DEC 3 /* other DEC (rk, rl) */ |
#define | BSD_DTYPE_ESDI 5 /* ESDI interface */ |
#define | BSD_DTYPE_FLOPPY 10 /* floppy */ |
#define | BSD_DTYPE_HPFL 8 /* HP Fiber-link */ |
#define | BSD_DTYPE_HPIB 7 /* CS/80 on HP-IB */ |
#define | BSD_DTYPE_MSCP 2 /* MSCP */ |
#define | BSD_DTYPE_SCSI 4 /* SCSI */ |
#define | BSD_DTYPE_SMD 1 /* SMD, XSMD; VAX hp/up */ |
#define | BSD_DTYPE_ST506 6 /* ST506 etc. */ |
#define | BSD_FS_UNUSED 0 /* disklabel unused partition entry ID */ |
#define | BSD_MAXPARTITIONS 8 |
#define | BSD_SBSIZE 8192 /* max size of fs superblock */ |
#define | D_PARTITIONS_WORDS 59 |
#define | NDDATA 5 |
#define | NSPARE 5 |
Typedefs | |
typedef struct _BSDDiskData | BSDDiskData |
typedef struct _BSDRawLabel | BSDRawLabel |
typedef struct _BSDRawPartition | BSDRawPartition |
Functions | |
struct _BSDRawPartition | __attribute__ ((packed)) |
struct _BSDRawLabel | __attribute__ ((packed, aligned(2))) |
void | ped_disk_bsd_done () |
void | ped_disk_bsd_init () |
PT_define_limit_functions (bsd) | |
Variables | |
typedef | __attribute__ |
char | boot_code [64] |
uint32_t | d_acylinders |
uint32_t | d_bbsize |
uint16_t | d_checksum |
uint16_t | d_cylskew |
uint32_t | d_drivedata [NDDATA] |
uint32_t | d_flags |
uint32_t | d_headswitch |
uint16_t | d_interleave |
uint32_t | d_magic |
uint32_t | d_magic2 |
uint32_t | d_ncylinders |
uint16_t | d_npartitions |
uint32_t | d_nsectors |
uint32_t | d_ntracks |
int8_t | d_packname [16] |
BSDRawPartition | d_partitions [BSD_MAXPARTITIONS] |
uint16_t | d_rpm |
uint32_t | d_sbsize |
uint32_t | d_secpercyl |
uint32_t | d_secperunit |
uint32_t | d_secsize |
uint32_t | d_spare [NSPARE] |
uint16_t | d_sparespercyl |
uint16_t | d_sparespertrack |
int16_t | d_subtype |
uint16_t | d_trackskew |
uint32_t | d_trkseek |
int16_t | d_type |
int8_t | d_typename [16] |
BSDRawLabel | label |
uint16_t | p_cpg |
uint8_t | p_frag |
uint32_t | p_fsize |
uint8_t | p_fstype |
uint32_t | p_offset |
uint32_t | p_size |
char | unused [172] |
#define _ | ( | String | ) | (String) |
#define BSD_BBSIZE 8192 /* size of boot area, with label */ |
#define BSD_DISKMAGIC (0x82564557UL) /* The disk magic number */ |
#define BSD_DTYPE_DEC 3 /* other DEC (rk, rl) */ |
#define BSD_DTYPE_ESDI 5 /* ESDI interface */ |
#define BSD_DTYPE_FLOPPY 10 /* floppy */ |
#define BSD_DTYPE_HPFL 8 /* HP Fiber-link */ |
#define BSD_DTYPE_HPIB 7 /* CS/80 on HP-IB */ |
#define BSD_DTYPE_MSCP 2 /* MSCP */ |
#define BSD_DTYPE_SCSI 4 /* SCSI */ |
#define BSD_DTYPE_SMD 1 /* SMD, XSMD; VAX hp/up */ |
#define BSD_DTYPE_ST506 6 /* ST506 etc. */ |
#define BSD_FS_UNUSED 0 /* disklabel unused partition entry ID */ |
#define BSD_MAXPARTITIONS 8 |
#define BSD_SBSIZE 8192 /* max size of fs superblock */ |
#define D_PARTITIONS_WORDS 59 |
#define NDDATA 5 |
#define NSPARE 5 |
typedef struct _BSDDiskData BSDDiskData |
typedef struct _BSDRawLabel BSDRawLabel |
typedef struct _BSDRawPartition BSDRawPartition |
struct _BSDRawPartition __attribute__ | ( | (packed) | ) |
struct _BSDRawLabel __attribute__ | ( | (packed, aligned(2)) | ) |
void ped_disk_bsd_done | ( | ) |
void ped_disk_bsd_init | ( | ) |
PT_define_limit_functions | ( | bsd | ) |
struct __attribute__ |
char boot_code[64] |
uint32_t d_acylinders |
uint32_t d_bbsize |
uint16_t d_checksum |
uint16_t d_cylskew |
uint32_t d_drivedata[NDDATA] |
uint32_t d_flags |
uint32_t d_headswitch |
uint16_t d_interleave |
uint32_t d_magic |
uint32_t d_magic2 |
uint32_t d_ncylinders |
uint16_t d_npartitions |
uint32_t d_nsectors |
uint32_t d_ntracks |
int8_t d_packname[16] |
BSDRawPartition d_partitions[BSD_MAXPARTITIONS] |
uint16_t d_rpm |
uint32_t d_sbsize |
uint32_t d_secpercyl |
uint32_t d_secperunit |
uint32_t d_secsize |
uint32_t d_spare[NSPARE] |
uint16_t d_sparespercyl |
uint16_t d_sparespertrack |
int16_t d_subtype |
uint16_t d_trackskew |
uint32_t d_trkseek |
int16_t d_type |
int8_t d_typename[16] |
BSDRawLabel label |
uint16_t p_cpg |
uint8_t p_frag |
uint32_t p_fsize |
uint8_t p_fstype |
uint32_t p_offset |
uint32_t p_size |
char unused[172] |