Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/format/
H A Dadd_definition.c192 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 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.dat34 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 Dauto_sense.c179 static struct disk_type *generic_disk_sense(
191 struct disk_type *disk_type,
195 static struct disk_type *find_scsi_disk_type(
198 static struct disk_type *find_scsi_disk_by_name(
203 static struct disk_type *new_scsi_disk_type(
210 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()
282 return ((struct disk_type *)NULL); in auto_efi_sense()
289 return ((struct disk_type *)NULL); in auto_efi_sense()
[all …]
H A Dhardware_structs.h53 struct disk_type *disk_type; /* ptr to physical info */ member
78 struct disk_type { struct
107 struct disk_type *dtype_next; /* ptr to next drive type */ argument
157 struct disk_type *ctype_dlist; /* list of disk types */
H A Dmodify_partition.h43 void new_partitiontable(struct disk_type *tptr, struct disk_type *oldtype);
H A Dstartup.c72 static int sup_change_spec(struct disk_type *, char *);
80 static void check_dtypes_for_inconsistency(struct disk_type *dp1,
81 struct disk_type *dp2);
86 static struct chg_list *new_chg_list(struct disk_type *);
538 struct disk_type *dtype, *type; in sup_setdtype()
565 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type)); in sup_setdtype()
804 sup_change_spec(struct disk_type *disk, char *id) in sup_change_spec()
938 struct disk_type *dtype = NULL; in sup_setpart()
1455 struct disk_type *type; in do_search()
1466 type = disk->disk_type; in do_search()
[all …]
H A Dmain.c86 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 Dmenu_command.c356 struct disk_type *type, *tptr, *oldtype; in c_type()
359 struct disk_type disk_type; in c_type() local
360 struct disk_type *d = &disk_type; in c_type()
377 oldtype = cur_disk->disk_type; in c_type()
482 if (delete_disk_type(cur_disk->disk_type) != 0) { in c_type()
486 cur_disk->disk_type = tptr; in c_type()
516 bzero((char *)d, sizeof (struct disk_type)); in c_type()
552 tptr = (struct disk_type *)zalloc(sizeof (struct disk_type)); in c_type()
560 bcopy((char *)d, (char *)tptr, sizeof (disk_type)); in c_type()
652 cur_disk->disk_type = tptr; in c_type()
[all …]
H A Dstartup.h104 int dtype_match(struct dk_label *label, struct disk_type *dtype);
H A Dglobal.h111 struct disk_type *cur_dtype; /* current dtype */
H A Dmodify_partition.c500 struct disk_type *tptr; in build_partition()
615 struct disk_type *tptr, *oldtptr; in new_partitiontable()
H A Dio.c2097 struct disk_type *type = disk->disk_type;