Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/format/
H A Dstartup.c709 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()
724 dtype->dtype_rpm = val; in sup_setdtype()
727 dtype->dtype_bpt = val; in sup_setdtype()
730 dtype->dtype_bps = val; in sup_setdtype()
810 type->dtype_next = dtype; in sup_setdtype()
1111 for (dtype = ctype->ctype_dlist; dtype != NULL; in sup_setpart()
1112 dtype = dtype->dtype_next) { in sup_setpart()
[all …]
H A Dmenu_command.c1869 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 Dstartup.h102 int dtype_match(struct dk_label *label, struct disk_type *dtype);
/illumos-gate/usr/src/cmd/luxadm/
H A Dadm.c479 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()
489 dtype[10] = MSGSTR(107, "Graphic arts device"); in main()
492 dtype[13] = MSGSTR(2203, "SES device"); in main()
493 dtype[14] = MSGSTR(71, "Reserved"); in main()
[all …]
H A Dhotplug.c85 extern char *dtype[]; /* From adm.c */
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()
752 if (dtype == DTYPE_ESI) { in hotplug()
[all …]
H A Dfchba.c80 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/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()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsparse-llvm.c330 switch (LLVMGetTypeKind(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()
865 LLVMTypeRef dtype; in output_op_ptrcast() local
873 dtype = symbol_type(insn->type); in output_op_ptrcast()
903 LLVMTypeRef dtype; in output_op_cast() local
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c1118 switch (dtype) { in rfs4_check_recall()
1156 switch (dtype) { in rfs4_check_delegation()
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
1356 if (dtype == OPEN_DELEGATE_NONE) in rfs4_grant_delegation()
1363 dtype = rfs4_delegation_policy(nsrv4, dtype, &fp->rf_dinfo, in rfs4_grant_delegation()
1366 if (dtype == OPEN_DELEGATE_NONE) in rfs4_grant_delegation()
1614 dsp->rds_dtype == dtype) { in rfs4_deleg_state()
1653 if (dtype == OPEN_DELEGATE_READ) { in rfs4_deleg_state()
[all …]
/illumos-gate/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")))
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpiclevent.c149 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 Dpmcs_subr.c1273 pwrk->dtype = pptr->dtype; in pmcs_register_device()
1369 pwrk->dtype = pptr->dtype; in pmcs_deregister_device()
2253 pptr->dtype = prev_primary->dtype; in pmcs_promote_next_phy()
4182 pwrk->dtype = pptr->dtype; in pmcs_expander_get_nphy()
4415 pwrk->dtype = expander->dtype; in pmcs_expander_content_discover()
4912 pwrk->dtype = pptr->dtype; in pmcs_abort()
5101 pwrk->dtype = pptr->dtype; in pmcs_ssp_tmf()
5312 pwrk->dtype = pptr->dtype; in pmcs_sata_abort_ncq()
6003 pwrk->dtype = phyp->dtype; in pmcs_spinup_release()
6043 pwrk->dtype = tphyp->dtype; in pmcs_spinup_release()
[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()
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()
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()
1639 if (xp->dtype == SAS) { in pmcs_scsa_wq_run_one()
1655 ASSERT(xp->dtype == SATA); in pmcs_scsa_wq_run_one()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c106 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/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c716 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()
1961 dtype = "None"; in display_phy()
1964 dtype = "SATA"; in display_phy()
1970 dtype = "SAS"; in display_phy()
[all …]
/illumos-gate/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]);
/illumos-gate/usr/src/lib/libbsm/
H A Dauditxml887 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 Doptim.c830 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 Devents.c213 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 Dattribute.c681 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 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()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_watch.c233 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()

123