Home
last modified time | relevance | path

Searched refs:disk_type (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dadd_definition.c188 struct disk_type *disk_type; in add_disktype() local
190 disk_type = disk_info->disk_type; in add_disktype()
193 disk_type->dtype_asciilabel); in add_disktype()
197 col = add_entry(col, fd, " : ncyl = %d", disk_type->dtype_ncyl); in add_disktype()
199 col = add_entry(col, fd, " : acyl = %d", disk_type->dtype_acyl); in add_disktype()
201 col = add_entry(col, fd, " : pcyl = %d", disk_type->dtype_pcyl); in add_disktype()
203 col = add_entry(col, fd, " : nhead = %d", disk_type->dtype_nhead); in add_disktype()
205 if (disk_type->dtype_options & SUP_PHEAD) { in add_disktype()
207 disk_type->dtype_phead); in add_disktype()
210 col = add_entry(col, fd, " : nsect = %d", disk_type->dtype_nsect); in add_disktype()
[all …]
H A Dauto_sense.h41 struct disk_type *auto_sense(
46 struct disk_type *auto_efi_sense(
54 struct disk_type *disk_type);
56 struct disk_type *auto_direct_get_geom_label(int fd, struct dk_label *label);
62 struct disk_type *auto_sense();
63 struct disk_type *auto_efi_sense();
65 struct disk_type *auto_direct_get_geom_label();
H A Dformat.dat32 disk_type = "Quantum ProDrive 80S" \
38 #disk_type = "CDC Wren VII 94601-12G" \
47 #disk_type = "CDC Wren IV 94171-327" \
56 disk_type = "Quantum ProDrive 105S" \
62 disk_type = "CDC Wren IV 94171-344" \
68 disk_type = "SUN0104" \
74 disk_type = "SUN0207" \
80 disk_type = "SUN0327" \
86 disk_type = "SUN0340" \
92 disk_type = "SUN0424" \
[all …]
H A Dauto_sense.c175 static struct disk_type *generic_disk_sense(
187 struct disk_type *disk_type,
191 static struct disk_type *find_scsi_disk_type(
194 static struct disk_type *find_scsi_disk_by_name(
199 static struct disk_type *new_scsi_disk_type(
206 static struct disk_type *new_direct_disk_type(int fd, char *disk_name,
240 struct disk_type *
247 struct disk_type *disk, *dp; in auto_efi_sense()
322 disk = (struct disk_type *)zalloc(sizeof (struct disk_type)); in auto_efi_sense()
609 static struct disk_type *
[all …]
H A Dhardware_structs.h54 struct disk_type *disk_type; /* ptr to physical info */ member
79 struct disk_type { struct
108 struct disk_type *dtype_next; /* ptr to next drive type */ argument
158 struct disk_type *ctype_dlist; /* list of disk types */
H A Dmain.c70 struct disk_type *cur_dtype;
112 struct disk_type *type, *oldtype; in main()
244 oldtype = disk->disk_type; in main()
267 disk->disk_type = type; in main()
278 if (disk == NULL || disk->disk_type == NULL) { in main()
287 for (parts = disk->disk_type->dtype_plist; parts != NULL; in main()
389 cur_dtype = cur_disk->disk_type; in init_globals()
H A Dstartup.c92 static int sup_change_spec(struct disk_type *, char *);
100 static void check_dtypes_for_inconsistency(struct disk_type *dp1,
101 struct disk_type *dp2);
106 static struct chg_list *new_chg_list(struct disk_type *);
558 struct disk_type *dtype, *type; in sup_setdtype()
585 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type)); in sup_setdtype()
824 sup_change_spec(struct disk_type *disk, char *id) in sup_change_spec()
958 struct disk_type *dtype = NULL; in sup_setpart()
1475 struct disk_type *type; in do_search()
1486 type = disk->disk_type; in do_search()
[all …]
H A Dmodify_partition.h41 void new_partitiontable(struct disk_type *tptr, struct disk_type *oldtype);
H A Dmenu_command.c364 struct disk_type *type, *tptr, *oldtype; in c_type()
367 struct disk_type disk_type; in c_type() local
368 struct disk_type *d = &disk_type; in c_type()
385 oldtype = cur_disk->disk_type; in c_type()
487 if (delete_disk_type(cur_disk->disk_type) != 0) { in c_type()
491 cur_disk->disk_type = tptr; in c_type()
521 bzero((char *)d, sizeof (struct disk_type)); in c_type()
557 tptr = (struct disk_type *)zalloc(sizeof (struct disk_type)); in c_type()
565 bcopy((char *)d, (char *)tptr, sizeof (disk_type)); in c_type()
661 cur_disk->disk_type = tptr; in c_type()
[all …]
H A Dstartup.h102 int dtype_match(struct dk_label *label, struct disk_type *dtype);
H A Dmodify_partition.c480 build_partition(struct disk_type *tptr)
591 new_partitiontable(struct disk_type *tptr, struct disk_type *oldtptr)
H A Dglobal.h111 extern struct disk_type *cur_dtype; /* current dtype */
H A Dio.c2061 struct disk_type *type = disk->disk_type; in pr_diskline()