/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 558 struct disk_type *dtype, *type; in sup_setdtype() local 585 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type)); in sup_setdtype() 586 dtype->dtype_asciilabel = dtype_name; in sup_setdtype() 590 dtype->dtype_filename = file_name; in sup_setdtype() 591 dtype->dtype_lineno = data_lineno; in sup_setdtype() 631 if (sup_change_spec(dtype, ident)) { in sup_setdtype() 709 dtype->dtype_ncyl = val; in sup_setdtype() 712 dtype->dtype_acyl = val; in sup_setdtype() 715 dtype->dtype_pcyl = val; in sup_setdtype() 718 dtype->dtype_nhead = val; in sup_setdtype() [all …]
|
H A D | menu_command.c | 1869 struct disk_type *dtype; in c_backup() local 1958 for (dtype = cur_ctype->ctype_dlist; dtype != NULL; in c_backup() 1959 dtype = dtype->dtype_next) in c_backup() 1960 if (dtype_match(&label, dtype)) in c_backup() 1966 if (dtype != cur_dtype) { in c_backup() 1967 if (dtype == NULL) { in c_backup() 1984 cur_dtype = dtype; in c_backup() 1989 for (parts = dtype->dtype_plist; parts != NULL; in c_backup() 2001 plist = dtype->dtype_plist; in c_backup() 2003 dtype->dtype_plist = parts; in c_backup()
|
H A D | startup.h | 102 int dtype_match(struct dk_label *label, struct disk_type *dtype);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | adm.c | 75 char *dtype[16]; /* setting a global for later use. */ variable 479 dtype[0] = MSGSTR(2192, "Disk device"); in main() 480 dtype[1] = MSGSTR(2193, "Tape device"); in main() 481 dtype[2] = MSGSTR(2194, "Printer device"); in main() 482 dtype[3] = MSGSTR(2195, "Processor device"); in main() 483 dtype[4] = MSGSTR(2196, "WORM device"); in main() 484 dtype[5] = MSGSTR(2197, "CD-ROM device"); in main() 485 dtype[6] = MSGSTR(2198, "Scanner device"); in main() 486 dtype[7] = MSGSTR(2199, "Optical memory device"); in main() 487 dtype[8] = MSGSTR(2200, "Medium changer device"); in main() [all …]
|
H A D | hotplug.c | 85 extern char *dtype[]; /* From adm.c */ 491 int tid, slot = 0, path_index, dtype, f_r, err = 0; in hotplug() local 599 dtype = DTYPE_DIRECT; in hotplug() 601 dtype = DTYPE_SEQUENTIAL; in hotplug() 603 dtype = DTYPE_ESI; in hotplug() 680 (dtype == DTYPE_DIRECT || in hotplug() 681 dtype == DTYPE_SEQUENTIAL || in hotplug() 682 dtype == DTYPE_UNKNOWN)) { in hotplug() 704 (dtype == DTYPE_DIRECT || in hotplug() 705 dtype == DTYPE_SEQUENTIAL)) { in hotplug() [all …]
|
H A D | fchba.c | 80 extern char *dtype[]; 355 uchar_t dtype; member 590 if (tmpPath->dtype != 0x1f) { in fchba_non_encl_probe() 622 tmpPath->dtype = inq.inq_dtype; in fchba_non_encl_probe() 637 if ((tmp->dtype & DTYPE_MASK) < 0x10) { in fchba_non_encl_probe() 639 dtype[tmp->dtype & DTYPE_MASK]); in fchba_non_encl_probe() 640 } else if ((tmp->dtype & DTYPE_MASK) < 0x1f) { in fchba_non_encl_probe() 1975 dtype[inq.inq_dtype & DTYPE_MASK]); in fchba_display_config()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | sparse-llvm.c | 326 static LLVMValueRef constant_value(unsigned long long val, LLVMTypeRef dtype) in constant_value() argument 330 switch (LLVMGetTypeKind(dtype)) { in constant_value() 335 result = LLVMConstIntToPtr(result, dtype); in constant_value() 337 result = LLVMConstPointerNull(dtype); in constant_value() 341 result = LLVMConstInt(dtype, val, 1); in constant_value() 347 result = LLVMConstNull(dtype); in constant_value() 358 LLVMTypeRef dtype; in val_to_value() local 361 dtype = symbol_type(ctype); in val_to_value() 362 result = constant_value(val, dtype); in val_to_value() 406 LLVMTypeRef dtype = symbol_type(ctype); in pseudo_to_rvalue() local [all …]
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/i40e/ |
H A D | i40e.c | 223 const char *dtype; in i40e_tx_ring_dcmd() local 233 dtype = "FREE"; in i40e_tx_ring_dcmd() 237 dtype = "CONTEXT"; in i40e_tx_ring_dcmd() 240 dtype = "DATA"; in i40e_tx_ring_dcmd() 243 dtype = "FILTER"; in i40e_tx_ring_dcmd() 246 dtype = "UNKNOWN"; in i40e_tx_ring_dcmd() 261 mdb_printf("%-10d %-10s %-16p %-16p %-10s\n", i, dtype, dptr, in i40e_tx_ring_dcmd()
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rename.c | 92 int stype, dtype, btype, side; in find_renames() local 102 dtype = np->f_info[OPT_DST].f_type; in find_renames() 105 if (btype == 0 && stype != dtype && (!stype || !dtype)) { in find_renames()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_deleg.c | 1116 open_delegation_type4 dtype = sp->rs_finfo->rf_dinfo.rd_dtype; in rfs4_check_recall() local 1118 switch (dtype) { in rfs4_check_recall() 1150 open_delegation_type4 dtype = fp->rf_dinfo.rd_dtype; in rfs4_check_delegation() local 1156 switch (dtype) { in rfs4_check_delegation() 1215 rfs4_delegation_policy(nfs4_srv_t *nsrv4, open_delegation_type4 dtype, in rfs4_delegation_policy() argument 1242 if (dtype == OPEN_DELEGATE_READ && in rfs4_delegation_policy() 1251 return (dtype); in rfs4_delegation_policy() 1265 open_delegation_type4 dtype; in rfs4_grant_delegation() local 1320 dtype = (open_delegation_type4)dreq; in rfs4_grant_delegation() 1354 dtype = rfs4_check_delegation(sp, fp); in rfs4_grant_delegation() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_def.h | 89 pmcs_dtype_t dtype; /* current dtype of the phy */ member 243 pmcs_dtype_t dtype; /* stash, incase phy gets cleared */ member 392 ((pp)->level == 0 && (pp)->dtype == SATA && \ 420 (((pptr)->dtype == NOTHING)? "NOTHING" : \ 421 (((pptr)->dtype == SATA)? "SATA" : \ 422 (((pptr)->dtype == SAS)? "SAS" : "EXPANDER")))
|
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/ |
H A D | piclevent.c | 149 char *dtype; in event_handler() local 162 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) { in event_handler() 167 if (strcmp(dtype, PICLEVENTARG_PICLEVENT_DATA) == 0) in event_handler()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 758 } else if ((level == 0) && (pptr->dtype == EXPANDER)) { in pmcs_reset_phy() 1185 ASSERT(pptr->dtype == SATA); in pmcs_abort_handler() 1273 pwrk->dtype = pptr->dtype; in pmcs_register_device() 1285 if (pptr->dtype == SATA) { in pmcs_register_device() 1369 pwrk->dtype = pptr->dtype; in pmcs_deregister_device() 1911 if (pptr->dtype == SAS) { in pmcs_reset_dev() 1928 } else if (pptr->dtype == SATA) { in pmcs_reset_dev() 2253 pptr->dtype = prev_primary->dtype; in pmcs_promote_next_phy() 2774 if ((pptr->dtype == NOTHING) || pptr->dead) { in pmcs_report_observations() 2900 switch (lphyp->dtype) { in pmcs_report_iport_observations() [all …]
|
H A D | pmcs_smhba.c | 144 if ((pptr->dtype == SATA) || pptr->virtual) { in pmcs_smhba_set_scsi_device_props() 149 if (pphy->dtype == EXPANDER) { in pmcs_smhba_set_scsi_device_props() 158 if (pptr->dtype != EXPANDER) { in pmcs_smhba_set_scsi_device_props()
|
H A D | pmcs_intr.c | 383 if (pptr->dtype == NOTHING) { in pmcs_process_sas_hw_event() 439 if (pptr->dtype != NOTHING && pptr->configured) { in pmcs_process_sas_hw_event() 466 pptr->dtype = SAS; in pmcs_process_sas_hw_event() 471 pptr->dtype = EXPANDER; in pmcs_process_sas_hw_event() 477 pptr->dtype = NOTHING; in pmcs_process_sas_hw_event() 485 if (pptr->dtype == SAS) { in pmcs_process_sas_hw_event() 563 if (pptr->dtype != NOTHING && pptr->configured) { in pmcs_process_sas_hw_event() 593 pptr->dtype = SATA; in pmcs_process_sas_hw_event() 707 pptr->dtype = NOTHING; in pmcs_process_sas_hw_event() 775 subphy->dtype = NOTHING; in pmcs_process_sas_hw_event() [all …]
|
H A D | pmcs_scsa.c | 257 tgt->dtype = phyp->dtype; in pmcs_scsa_tran_tgt_init() 258 if (tgt->dtype != SAS && tgt->dtype != SATA) { in pmcs_scsa_tran_tgt_init() 265 if ((tgt->dtype == SATA) && (lun_num > 0)) { in pmcs_scsa_tran_tgt_init() 345 if (tgt->dtype == SATA) { in pmcs_scsa_tran_tgt_init() 691 if (pptr->dtype == SAS) { in pmcs_scsa_abort() 911 if (xp->dtype == SATA) { in pmcs_cap() 1053 if (pptr == NULL || pptr->dtype != EXPANDER) { in pmcs_smp_start() 1084 pwrk->dtype = EXPANDER; in pmcs_smp_start() 1330 tgt->dtype = phy->dtype; in pmcs_smp_init() 1637 pwrk->dtype = xp->dtype; in pmcs_scsa_wq_run_one() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 490 switch (phy.dtype) { in pmcs_utarget_walk_cb() 716 char *dtype; in display_targets() local 758 switch (xs.dtype) { in display_targets() 760 dtype = "None"; in display_targets() 763 dtype = "SATA"; in display_targets() 767 dtype = "SAS"; in display_targets() 771 dtype = "SMP"; in display_targets() 775 dtype = "Unknown"; in display_targets() 794 mdb_printf(" %5s", dtype); in display_targets() 1949 char *dtype, *speed; in display_phy() local [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | mdescplugin.c | 106 char *dtype; in dr_handler() local 119 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) { in dr_handler() 124 if (strcmp(dtype, PICLEVENTARG_PICLEVENT_DATA) != 0) { in dr_handler()
|
/illumos-gate/usr/src/lib/libadt_jni/ |
H A D | auditxml_jni | 1055 foreach my $dtype (@type) { 1059 $arraySize = $1 if ($dtype =~ s/\[(\d+)\]/[]/); 1061 my $entryType = ${$entryDef{$dtype}}[0]; 1063 my $type = $dtype; 1088 print STDERR "$dtype is not an implemented data type\n"; 1090 if (${$entryDef{$dtype}}[1]) { 1091 push (@default, $id, ${$entryDef{$dtype}}[1]);
|
/illumos-gate/usr/src/lib/libbsm/ |
H A D | auditxml | 887 foreach my $dtype (@type) { 891 $arraySize = $1 if ($dtype =~ s/\[(\d+)\]/[]/); 893 my $entryType = ${$entryDef{$dtype}}[0]; 895 my $type = $dtype; 920 print STDERR "$dtype is not an implemented data type\n"; 922 if (uc $omitEntry ne 'ALWAYS' && ${$entryDef{$dtype}}[1]) { 923 push (@default, $id, ${$entryDef{$dtype}}[1]);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | optim.c | 830 register int dtype, stype; in best() local 834 dtype = nettype(dest); in best() 836 if (stype == 0 || dtype == 0) { in best() 840 if ((stype & dtype) == 0) in best() 843 while ((np->no_stat & stype & dtype) == 0) in best()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | events.c | 213 events_new_event(char *name, int dtype, char *etype) in events_new_event() argument 232 if (dtype != -1 && in events_new_event() 233 nvlist_add_uint32(event, DM_EV_DTYPE, dtype) != 0) { in events_new_event()
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 681 papi_attribute_value_type_t dtype, char **parts) in _add_attribute_value() argument 702 if (dtype == PAPI_INTEGER) { in _add_attribute_value() 715 } else if (dtype == PAPI_RANGE) { in _add_attribute_value() 775 papi_attribute_value_type_t dtype; in _papiAttributeFromStrings() local 778 dtype = _process_value(values[i], &parts); in _papiAttributeFromStrings() 780 attr->type = dtype; in _papiAttributeFromStrings() 781 _add_attribute_value(&vals, attr->type, dtype, parts); in _papiAttributeFromStrings()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | relocate.c | 79 Dbg_reloc_run(Rt_map *lmp, uint_t rtype, int info, int dtype) in Dbg_reloc_run() argument 87 if (dtype == DBG_REL_FINISH) { in Dbg_reloc_run() 99 if (dtype == DBG_REL_START) { in Dbg_reloc_run() 109 if (dtype == DBG_REL_NONE) { in Dbg_reloc_run()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_watch.c | 233 uchar_t dtype; in scsi_watch_request_submit_impl() local 299 dtype = devp->sd_inq->inq_dtype & DTYPE_MASK; in scsi_watch_request_submit_impl() 312 } else if (((dtype == 0) || (dtype == 0xE)) && in scsi_watch_request_submit_impl()
|