| /onnv-gate/usr/src/cmd/format/ |
| H A D | add_definition.c | 192 struct disk_type *disk_type; local 194 disk_type = disk_info->disk_type; 197 disk_type->dtype_asciilabel); 201 col = add_entry(col, fd, " : ncyl = %d", disk_type->dtype_ncyl); 203 col = add_entry(col, fd, " : acyl = %d", disk_type->dtype_acyl); 205 col = add_entry(col, fd, " : pcyl = %d", disk_type->dtype_pcyl); 207 col = add_entry(col, fd, " : nhead = %d", disk_type->dtype_nhead); 209 if (disk_type->dtype_options & SUP_PHEAD) { 211 disk_type->dtype_phead); 214 col = add_entry(col, fd, " : nsect = %d", disk_type->dtype_nsect); [all …]
|
| H A D | auto_sense.h | 40 struct disk_type *auto_sense( 45 struct disk_type *auto_efi_sense( 53 struct disk_type *disk_type); 55 struct disk_type *auto_direct_get_geom_label(int fd, struct dk_label *label); 58 struct disk_type *auto_sense(); 59 struct disk_type *auto_efi_sense(); 61 struct disk_type *auto_direct_get_geom_label();
|
| H A D | format.dat | 34 disk_type = "Quantum ProDrive 80S" \ 40 #disk_type = "CDC Wren VII 94601-12G" \ 49 #disk_type = "CDC Wren IV 94171-327" \ 58 disk_type = "Quantum ProDrive 105S" \ 64 disk_type = "CDC Wren IV 94171-344" \ 70 disk_type = "SUN0104" \ 76 disk_type = "SUN0207" \ 82 disk_type = "SUN0327" \ 88 disk_type = "SUN0340" \ 94 disk_type = "SUN0424" \ [all …]
|
| H A D | auto_sense.c | 176 static struct disk_type *generic_disk_sense( 188 struct disk_type *disk_type, 192 static struct disk_type *find_scsi_disk_type( 195 static struct disk_type *find_scsi_disk_by_name( 200 static struct disk_type *new_scsi_disk_type( 207 static struct disk_type *new_direct_disk_type(int fd, char *disk_name, 248 struct disk_type * 255 struct disk_type *disk, *dp; in auto_efi_sense() 265 return ((struct disk_type *)NULL); in auto_efi_sense() 272 return ((struct disk_type *)NULL); in auto_efi_sense() [all …]
|
| H A D | hardware_structs.h | 52 struct disk_type *disk_type; /* ptr to physical info */ member 77 struct disk_type { struct 106 struct disk_type *dtype_next; /* ptr to next drive type */ argument 156 struct disk_type *ctype_dlist; /* list of disk types */
|
| H A D | modify_partition.h | 43 void new_partitiontable(struct disk_type *tptr, struct disk_type *oldtype);
|
| H A D | startup.c | 68 static int sup_change_spec(struct disk_type *, char *); 76 static void check_dtypes_for_inconsistency(struct disk_type *dp1, 77 struct disk_type *dp2); 82 static struct chg_list *new_chg_list(struct disk_type *); 534 struct disk_type *dtype, *type; in sup_setdtype() 561 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type)); in sup_setdtype() 800 sup_change_spec(struct disk_type *disk, char *id) in sup_change_spec() 934 struct disk_type *dtype = NULL; in sup_setpart() 1451 struct disk_type *type; in do_search() 1462 type = disk->disk_type; in do_search() [all …]
|
| H A D | main.c | 86 struct disk_type *type, *oldtype; in main() 218 oldtype = disk->disk_type; in main() 241 disk->disk_type = type; in main() 252 if (disk == NULL || disk->disk_type == NULL) { in main() 261 for (parts = disk->disk_type->dtype_plist; parts != NULL; in main() 364 cur_dtype = cur_disk->disk_type;
|
| H A D | menu_command.c | 351 struct disk_type *type, *tptr, *oldtype; in c_type() 354 struct disk_type disk_type; in c_type() local 355 struct disk_type *d = &disk_type; in c_type() 372 oldtype = cur_disk->disk_type; in c_type() 477 if (delete_disk_type(cur_disk->disk_type) != 0) { in c_type() 481 cur_disk->disk_type = tptr; in c_type() 512 bzero((char *)d, sizeof (struct disk_type)); in c_type() 548 tptr = (struct disk_type *)zalloc(sizeof (struct disk_type)); in c_type() 556 bcopy((char *)d, (char *)tptr, sizeof (disk_type)); in c_type() 648 cur_disk->disk_type = tptr; in c_type() [all …]
|
| H A D | startup.h | 104 int dtype_match(struct dk_label *label, struct disk_type *dtype);
|
| H A D | global.h | 111 struct disk_type *cur_dtype; /* current dtype */
|
| H A D | modify_partition.c | 500 struct disk_type *tptr; in build_partition() 615 struct disk_type *tptr, *oldtptr; in new_partitiontable()
|
| H A D | io.c | 2096 struct disk_type *type = disk->disk_type;
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/ |
| H A D | disk.c | 65 ped_disk_type_register (PedDiskType* disk_type) in ped_disk_type_register() argument 67 PED_ASSERT (disk_type != NULL, return); in ped_disk_type_register() 68 PED_ASSERT (disk_type->ops != NULL, return); in ped_disk_type_register() 69 PED_ASSERT (disk_type->name != NULL, return); in ped_disk_type_register() 72 ((struct _PedDiskType*) disk_type)->next = disk_types; in ped_disk_type_register() 73 disk_types = (struct _PedDiskType*) disk_type; in ped_disk_type_register() 77 ped_disk_type_unregister (PedDiskType* disk_type) in ped_disk_type_unregister() argument 83 PED_ASSERT (disk_type != NULL, return); in ped_disk_type_unregister() 85 for (walk = disk_types; walk && walk != disk_type; in ped_disk_type_unregister() 90 ((struct _PedDiskType*) last)->next = disk_type->next; in ped_disk_type_unregister() [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/include/parted/ |
| H A D | disk.h | 238 extern int ped_disk_type_check_feature (const PedDiskType* disk_type, 247 const PedDiskType* disk_type);
|
| /onnv-gate/usr/src/cmd/parted/ |
| H A D | parted.c | 1973 PedDiskType* disk_type; in _init_messages() local 2013 for (disk_type = ped_disk_type_get_next (NULL); in _init_messages() 2014 disk_type; disk_type = ped_disk_type_get_next (disk_type)) { in _init_messages() 2015 if (disk_type->ops->write == NULL) in _init_messages() 2022 str_list_append (list, disk_type->name); in _init_messages()
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/labels/ |
| H A D | dos.c | 185 PedDiskType* disk_type; in msdos_probe() local 231 disk_type = ped_disk_type_get ("pc98"); in msdos_probe() 232 if (disk_type && disk_type->ops->probe (dev)) in msdos_probe()
|