Home
last modified time | relevance | path

Searched refs:cur_ctype (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu.c231 if (cur_ctype == NULL && option_f) in embedded_scsi()
242 if (cur_ctype == NULL && option_f) in not_embedded_scsi()
253 if (cur_ctype == NULL && option_f) in not_scsi()
311 if (cur_ctype == NULL && option_f) in scsi()
323 if (cur_ctype == NULL && option_f) in scsi_expert()
364 if (cur_ctype && cur_ctype->ctype_ctype == DKC_PCMCIA_ATA) { in support_fdisk_on_sparc()
H A Dmain.c69 struct ctlr_type *cur_ctype; variable
121 cur_ctype = NULL; in main()
394 cur_ctype = cur_ctlr->ctlr_ctype; in init_globals()
395 cur_ops = cur_ctype->ctype_ops; in init_globals()
445 if (cur_ctype->ctype_flags & CF_APC) in init_globals()
456 if ((cur_ctype->ctype_flags & CF_SCSI) && in init_globals()
530 if (!(cur_ctype->ctype_flags & CF_CONFIRM)) { in init_globals()
647 if (cur_ctype->ctype_flags & CF_SMD_DEFS) { in get_disk_characteristics()
H A Dglobal.h113 extern struct ctlr_type *cur_ctype; /* current ctype */
207 #define SMD (cur_ctype->ctype_flags & CF_SMD_DEFS)
208 #define SCSI (cur_ctype->ctype_flags & CF_SCSI)
209 #define EMBEDDED_SCSI ((cur_ctype->ctype_flags & (CF_SCSI|CF_EMBEDDED)) == \
H A Ddefect.c85 if (cur_ctype->ctype_flags & CF_NOWLIST) { in read_list()
92 if (cur_ctype->ctype_flags & CF_WLIST) { in read_list()
336 if (cur_ctype->ctype_flags & CF_NOWLIST) { in write_deflist()
343 if (cur_ctype->ctype_flags & CF_WLIST) { in write_deflist()
H A Dmenu_command.c386 type = cur_ctype->ctype_dlist; in c_type()
392 if (cur_ctype->ctype_ctype == DKC_SCSI_CCS) { in c_type()
559 cur_ctype->ctype_dlist = tptr; in c_type()
846 if ((cur_ctype->ctype_flags & CF_SCSI) && !EMBEDDED_SCSI && in c_format()
847 (cur_ctype->ctype_flags & CF_DEFECTS) && in c_format()
863 if (cur_ctype->ctype_flags & CF_SCSI) { in c_format()
1413 } else if (cur_ctype->ctype_flags & CF_WLIST) { in c_repair()
1633 if (cur_ctype->ctype_ctype == DKC_DIRECT || in c_label()
1634 cur_ctype->ctype_ctype == DKC_BLKDEV) in c_label()
1923 if (cur_ctype->ctype_flags & CF_BLABEL) in c_backup()
[all …]
H A Dmenu_defect.c128 if (!(cur_ctype->ctype_flags & CF_CONFIRM) && in d_original()
198 if (! (cur_ctype->ctype_flags & CF_CONFIRM) && in d_extract()
859 if (! (cur_ctype->ctype_flags & CF_SCSI) && in d_create()
H A Dmodify_partition.c180 if (cur_ctype->ctype_ctype != DKC_SCSI_CCS) { in p_modify()
235 if (cur_ctype->ctype_ctype != DKC_SCSI_CCS) { in p_modify()
504 if (!build_default_partition(label, cur_ctype->ctype_ctype))
H A Dctlr_ata.c156 if (cur_ctype->ctype_ctype == DKC_PCMCIA_ATA) { in ata_rdwr()
171 if (cur_ctype->ctype_ctype == DKC_PCMCIA_ATA) { in ata_rdwr()
H A Danalyze.c137 if (cur_ctype->ctype_flags & CF_SCSI) in do_scan()
542 } else if (cur_ctype->ctype_flags & CF_WLIST) { in scan_repair()
H A Dauto_sense.c261 if (cur_ctype != NULL) in auto_efi_sense()
262 type = cur_ctype->ctype_ctype; in auto_efi_sense()
1961 if (cur_ctype->ctype_ctype == DKC_DIRECT ||
1962 cur_ctype->ctype_ctype == DKC_VBD ||
1963 cur_ctype->ctype_ctype == DKC_BLKDEV)
1964 ctlr = find_ctlr_type(cur_ctype->ctype_ctype);
H A Dmenu_analyze.c270 if ((cur_ctype->ctype_flags & CF_SCSI) && in a_setup()
H A Dprompts.c411 if (cur_ctype->ctype_flags & CF_SMD_DEFS) { in get_bps()
H A Dmenu_fdisk.c475 cur_ctype->ctype_dlist = cur_dtype; in update_cur_parts()
H A Dlabel.c422 if (cur_ctype->ctype_flags & CF_BLABEL) in write_label()