Searched refs:disk_type (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/format/
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 Dmodify_partition.h43 void new_partitiontable(struct disk_type *tptr, struct disk_type *oldtype);
H A Dadd_definition.c30 * This file contains the code to add new disk_type and partition
184 * Add a disk_type definition to the file fd
192 struct disk_type *disk_type; local
194 disk_type = disk_info->disk_type;
196 (void) fprintf(fd, "disk_type = \"%s\" \\\n",
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
311 struct disk_type *disk_type; local
[all...]
H A Dhardware_structs.h53 struct disk_type *disk_type; /* ptr to physical info */ member in struct:disk_info
78 struct disk_type { struct
107 struct disk_type *dtype_next; /* ptr to next drive type */
157 struct disk_type *ctype_dlist; /* list of disk types */
H A Dauto_sense.c180 static struct disk_type *generic_disk_sense(
192 struct disk_type *disk_type,
196 static struct disk_type *find_scsi_disk_type(
199 static struct disk_type *find_scsi_disk_by_name(
204 static struct disk_type *new_scsi_disk_type(
211 static struct disk_type *new_direct_disk_type(int fd, char *disk_name,
245 struct disk_type *
252 struct disk_type *disk, *dp;
278 return ((struct disk_type *)NUL
748 struct disk_type *disk_type; local
777 struct disk_type *disk_type; local
1378 use_existing_disk_type( int fd, int can_prompt, struct dk_label *label, struct scsi_inquiry *inquiry, struct disk_type *disk_type, struct scsi_capacity_16 *capacity) argument
1955 delete_disk_type(struct disk_type *disk_type) argument
[all...]
H A Dmain.c86 struct disk_type *type, *oldtype;
218 oldtype = disk->disk_type;
241 disk->disk_type = type;
252 if (disk == NULL || disk->disk_type == NULL) {
261 for (parts = disk->disk_type->dtype_plist; parts != NULL;
364 cur_dtype = cur_disk->disk_type;
H A Dstartup.h104 int dtype_match(struct dk_label *label, struct disk_type *dtype);
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 *);
273 err_print("[-t disk_type][-p partition_name]\n");
443 else if (strcmp(cleaned, "disk_type") == 0)
528 * This routine processes a 'disk_type' line in the data file. It defines
538 struct disk_type *dtype, *type;
565 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type));
[all...]
H A Dmenu_command.c357 struct disk_type *type, *tptr, *oldtype;
360 struct disk_type disk_type; local
361 struct disk_type *d = &disk_type;
378 oldtype = cur_disk->disk_type;
483 if (delete_disk_type(cur_disk->disk_type) != 0) {
487 cur_disk->disk_type = tptr;
517 bzero((char *)d, sizeof (struct disk_type));
553 tptr = (struct disk_type *)zallo
[all...]
H A Dglobal.h111 struct disk_type *cur_dtype; /* current dtype */
H A Dmodify_partition.c500 struct disk_type *tptr;
615 struct disk_type *tptr, *oldtptr;
H A Dio.c2097 struct disk_type *type = disk->disk_type;

Completed in 106 milliseconds