Home
last modified time | relevance | path

Searched refs:dtype (Results 1 – 25 of 70) sorted by relevance

123

/titanic_44/usr/src/cmd/format/
H A Dstartup.c538 struct disk_type *dtype, *type; in sup_setdtype() local
565 dtype = (struct disk_type *)zalloc(sizeof (struct disk_type)); in sup_setdtype()
566 dtype->dtype_asciilabel = dtype_name; in sup_setdtype()
570 dtype->dtype_filename = file_name; in sup_setdtype()
571 dtype->dtype_lineno = data_lineno; in sup_setdtype()
611 if (sup_change_spec(dtype, ident)) { in sup_setdtype()
689 dtype->dtype_ncyl = val; in sup_setdtype()
692 dtype->dtype_acyl = val; in sup_setdtype()
695 dtype->dtype_pcyl = val; in sup_setdtype()
698 dtype->dtype_nhead = val; in sup_setdtype()
[all …]
H A Dmenu_command.c1859 struct disk_type *dtype; in c_backup() local
1948 for (dtype = cur_ctype->ctype_dlist; dtype != NULL; in c_backup()
1949 dtype = dtype->dtype_next) in c_backup()
1950 if (dtype_match(&label, dtype)) in c_backup()
1956 if (dtype != cur_dtype) { in c_backup()
1957 if (dtype == NULL) { in c_backup()
1974 cur_dtype = dtype; in c_backup()
1979 for (parts = dtype->dtype_plist; parts != NULL; in c_backup()
1991 plist = dtype->dtype_plist; in c_backup()
1993 dtype->dtype_plist = parts; in c_backup()
H A Dstartup.h104 int dtype_match(struct dk_label *label, struct disk_type *dtype);
/titanic_44/usr/src/cmd/mdb/intel/modules/i40e/
H A Di40e.c223 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()
/titanic_44/usr/src/cmd/luxadm/
H A Dadm.c81 char *dtype[16]; /* setting a global for later use. */ variable
485 dtype[0] = MSGSTR(2192, "Disk device"); in main()
486 dtype[1] = MSGSTR(2193, "Tape device"); in main()
487 dtype[2] = MSGSTR(2194, "Printer device"); in main()
488 dtype[3] = MSGSTR(2195, "Processor device"); in main()
489 dtype[4] = MSGSTR(2196, "WORM device"); in main()
490 dtype[5] = MSGSTR(2197, "CD-ROM device"); in main()
491 dtype[6] = MSGSTR(2198, "Scanner device"); in main()
492 dtype[7] = MSGSTR(2199, "Optical memory device"); in main()
493 dtype[8] = MSGSTR(2200, "Medium changer device"); in main()
[all …]
H A Dhotplug.c85 extern char *dtype[]; /* From adm.c */
491 int tid, slot, 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 …]
/titanic_44/usr/src/cmd/filesync/
H A Drename.c92 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()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c1110 open_delegation_type4 dtype = sp->rs_finfo->rf_dinfo.rd_dtype; in rfs4_check_recall() local
1112 switch (dtype) { in rfs4_check_recall()
1144 open_delegation_type4 dtype = fp->rf_dinfo.rd_dtype; in rfs4_check_delegation() local
1150 switch (dtype) { in rfs4_check_delegation()
1209 rfs4_delegation_policy(open_delegation_type4 dtype, in rfs4_delegation_policy() argument
1236 if (dtype == OPEN_DELEGATE_READ && in rfs4_delegation_policy()
1245 return (dtype); in rfs4_delegation_policy()
1258 open_delegation_type4 dtype; in rfs4_grant_delegation() local
1309 dtype = (open_delegation_type4)dreq; in rfs4_grant_delegation()
1343 dtype = rfs4_check_delegation(sp, fp); in rfs4_grant_delegation()
[all …]
/titanic_44/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_sd.c172 int dtype = DTYPE_DIRECT; in xdfs_c_attach() local
175 dtype = DTYPE_RODIRECT; in xdfs_c_attach()
186 INQUIRY_DEVICE_TYPE, dtype); in xdfs_c_attach()
/titanic_44/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpiclevent.c151 char *dtype; in event_handler() local
164 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) { in event_handler()
169 if (strcmp(dtype, PICLEVENTARG_PICLEVENT_DATA) == 0) in event_handler()
/titanic_44/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_def.h89 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")))
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_subr.c756 } else if ((level == 0) && (pptr->dtype == EXPANDER)) { in pmcs_reset_phy()
1183 ASSERT(pptr->dtype == SATA); in pmcs_abort_handler()
1271 pwrk->dtype = pptr->dtype; in pmcs_register_device()
1283 if (pptr->dtype == SATA) { in pmcs_register_device()
1367 pwrk->dtype = pptr->dtype; in pmcs_deregister_device()
1909 if (pptr->dtype == SAS) { in pmcs_reset_dev()
1926 } else if (pptr->dtype == SATA) { in pmcs_reset_dev()
2251 pptr->dtype = prev_primary->dtype; in pmcs_promote_next_phy()
2770 if ((pptr->dtype == NOTHING) || pptr->dead) { in pmcs_report_observations()
2896 switch (lphyp->dtype) { in pmcs_report_iport_observations()
[all …]
H A Dpmcs_smhba.c144 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 Dpmcs_intr.c383 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 Dpmcs_scsa.c257 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 …]
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c104 char *dtype; in dr_handler() local
117 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) { in dr_handler()
122 if (strcmp(dtype, PICLEVENTARG_PICLEVENT_DATA) != 0) { in dr_handler()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A D_Qfunpack.c194 _fp_unpack(pu, n, dtype) in _fp_unpack() argument
197 enum fp_op_type dtype; /* type of datum */
200 switch ((int) dtype) {
/titanic_44/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c489 switch (phy.dtype) { in pmcs_utarget_walk_cb()
715 char *dtype; in display_targets() local
757 switch (xs.dtype) { in display_targets()
759 dtype = "None"; in display_targets()
762 dtype = "SATA"; in display_targets()
766 dtype = "SAS"; in display_targets()
770 dtype = "SMP"; in display_targets()
790 mdb_printf(" %5s", dtype); in display_targets()
1945 char *dtype, *speed; in display_phy() local
1955 switch (phy.dtype) { in display_phy()
[all …]
/titanic_44/usr/src/lib/libdiskmgt/common/
H A Devents.c182 events_new_event(char *name, int dtype, char *etype) in events_new_event() argument
201 if (dtype != -1 && in events_new_event()
202 nvlist_add_uint32(event, DM_EV_DTYPE, dtype) != 0) { in events_new_event()
/titanic_44/usr/src/cmd/mailx/
H A Doptim.c833 register int dtype, stype; in best() local
837 dtype = nettype(dest); in best()
839 if (stype == 0 || dtype == 0) { in best()
843 if ((stype & dtype) == 0) in best()
846 while ((np->no_stat & stype & dtype) == 0) in best()
/titanic_44/usr/src/lib/libadt_jni/
H A Dauditxml_jni1055 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]);
/titanic_44/usr/src/lib/libbsm/
H A Dauditxml886 foreach my $dtype (@type) {
890 $arraySize = $1 if ($dtype =~ s/\[(\d+)\]/[]/);
892 my $entryType = ${$entryDef{$dtype}}[0];
894 my $type = $dtype;
919 print STDERR "$dtype is not an implemented data type\n";
921 if (uc $omitEntry ne 'ALWAYS' && ${$entryDef{$dtype}}[1]) {
922 push (@default, $id, ${$entryDef{$dtype}}[1]);
/titanic_44/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c687 papi_attribute_value_type_t dtype, char **parts) in _add_attribute_value() argument
708 if (dtype == PAPI_INTEGER) { in _add_attribute_value()
721 } else if (dtype == PAPI_RANGE) { in _add_attribute_value()
781 papi_attribute_value_type_t dtype; in _papiAttributeFromStrings() local
784 dtype = _process_value(values[i], &parts); in _papiAttributeFromStrings()
786 attr->type = dtype; in _papiAttributeFromStrings()
787 _add_attribute_value(&vals, attr->type, dtype, parts); in _papiAttributeFromStrings()
/titanic_44/usr/src/uts/sun4u/starcat/io/
H A Ddman_domain.c720 char dtype[MAN_DDI_BUFLEN]; in man_dip_is_schizoxmits0_pcib() local
741 (caddr_t)dtype, &length) == DDI_PROP_SUCCESS) { in man_dip_is_schizoxmits0_pcib()
743 MAN_DBG(MAN_PATH, ("dtype: %s\n", dtype)); in man_dip_is_schizoxmits0_pcib()
744 if (strncmp(dtype, MAN_DEVTYPE_PCI, 3) != 0) in man_dip_is_schizoxmits0_pcib()
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Drelocate.c79 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()

123