Searched defs:disk_type (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/format/
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 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 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...]

Completed in 49 milliseconds