Searched refs:cur_dtype (Results 1 – 12 of 12) sorted by relevance
/titanic_44/usr/src/cmd/format/ |
H A D | main.c | 301 if (cur_dtype == NULL) { in main() 364 cur_dtype = cur_disk->disk_type; 396 if (cur_dtype != NULL) { 403 if (cur_dtype->dtype_flags & DT_NEED_SPEFS) { 405 cur_dtype->dtype_flags &= ~DT_NEED_SPEFS; 408 ncyl = cur_dtype->dtype_ncyl; 409 acyl = cur_dtype->dtype_acyl; 410 pcyl = cur_dtype->dtype_pcyl; 411 nhead = cur_dtype->dtype_nhead; 412 nsect = cur_dtype->dtype_nsect; [all …]
|
H A D | menu_command.c | 396 if (cur_dtype == tptr) { in c_type() 691 if (cur_dtype == NULL) { in c_partition() 750 if (cur_dtype == NULL) { in c_current() 754 cur_dtype->dtype_asciilabel, ncyl, in c_current() 757 print_efi_string(cur_dtype->vendor, in c_current() 758 cur_dtype->product, cur_dtype->revision, in c_current() 759 cur_dtype->capacity); in c_current() 766 if (cur_dtype == NULL) { in c_current() 770 cur_dtype->dtype_asciilabel, ncyl, in c_current() 773 print_efi_string(cur_dtype->vendor, in c_current() [all …]
|
H A D | ctlr_scsi.c | 781 if (cur_dtype->dtype_options & SUP_READ_RETRIES && 784 cur_dtype->dtype_read_retries); 785 page1->read_retry_count = cur_dtype->dtype_read_retries; 788 if (cur_dtype->dtype_options & SUP_WRITE_RETRIES && 791 cur_dtype->dtype_write_retries); 793 cur_dtype->dtype_write_retries; 810 cur_dtype->dtype_chglist); 946 cur_dtype->dtype_chglist); 1091 if (cur_dtype->dtype_options & SUP_CYLSKEW && 1093 flag |= (page3->cylinder_skew != cur_dtype->dtype_cyl_skew); [all …]
|
H A D | partition.c | 368 parts = cur_dtype->dtype_plist; in get_partition() 380 if (cur_dtype->dtype_asciilabel) { in get_partition() 382 cur_dtype->dtype_asciilabel) == 0) { in get_partition() 397 cur_disk->disk_parts = cur_parts = cur_dtype->dtype_plist; in get_partition() 424 parts = cur_dtype->dtype_plist; in make_partition() 426 cur_dtype->dtype_plist = pptr; in make_partition() 483 if (cur_dtype->dtype_plist == NULL) { in delete_partition() 490 if (cur_dtype->dtype_plist == parts) in delete_partition() 491 cur_dtype->dtype_plist = parts->pinfo_next; in delete_partition() 493 for (pptr = cur_dtype->dtype_plist; pptr->pinfo_next != parts; in delete_partition()
|
H A D | menu_fdisk.c | 372 if (cur_dtype == NULL) { in c_fdisk() 467 parts = cur_dtype->dtype_plist; in update_cur_parts() 468 cur_dtype->dtype_ncyl = ncyl; in update_cur_parts() 469 cur_dtype->dtype_plist = cur_parts; in update_cur_parts() 472 cur_ctype->ctype_dlist = cur_dtype; in update_cur_parts() 659 cur_dtype->dtype_ncyl = update_label.dkl_ncyl; 660 cur_dtype->dtype_pcyl = update_label.dkl_pcyl; 661 cur_dtype->dtype_acyl = update_label.dkl_acyl; 662 cur_dtype->dtype_nhead = update_label.dkl_nhead; 663 cur_dtype->dtype_nsect = update_label.dkl_nsect; [all …]
|
H A D | add_definition.c | 97 if (cur_dtype == NULL) { in add_definition() 109 if (cur_dtype->dtype_filename != NULL && in add_definition() 127 if (cur_dtype->dtype_filename == NULL && in add_definition() 130 } else if (cur_dtype->dtype_filename == NULL) { in add_definition() 156 if ((cur_dtype->dtype_filename == NULL) && in add_definition() 159 } else if (cur_dtype->dtype_filename == NULL) { in add_definition() 169 if (cur_dtype->dtype_filename == NULL) { in add_definition()
|
H A D | ix_altsctr.c | 392 blkaddr_t maxsec = cur_dtype->dtype_nhead * in get_badsec() 393 cur_dtype->dtype_ncyl * in get_badsec() 394 cur_dtype->dtype_nsect; in get_badsec() 415 if (curbad < (blkaddr_t)cur_dtype->dtype_nsect) { in get_badsec()
|
H A D | global.h | 111 struct disk_type *cur_dtype; /* current dtype */ variable
|
H A D | menu_defect.c | 315 ioparam.io_bounds.upper = cur_dtype->dtype_bpt - 1; in d_add() 319 ioparam.io_bounds.upper = (cur_dtype->dtype_bpt - def.bfi) * 8; in d_add()
|
H A D | label.c | 332 label.dkl_rpm = cur_dtype->dtype_rpm; in write_label() 360 cur_dtype->dtype_asciilabel, ncyl, acyl, nhead, nsect); in write_label() 396 geom.dkg_rpm = cur_dtype->dtype_rpm; in write_label()
|
H A D | menu_partition.c | 206 parts = cur_dtype->dtype_plist; in p_select()
|
H A D | modify_partition.c | 87 if (cur_dtype == NULL) { in p_modify()
|