Home
last modified time | relevance | path

Searched refs:devtype (Results 1 – 25 of 47) sorted by relevance

12

/titanic_50/usr/src/test/zfs-tests/tests/functional/devices/
H A Ddevices_common.kshlib47 devtype=$($DF -n / | $AWK '{print $3}')
48 case $devtype in
77 "for / ($devtype)," \
/titanic_50/usr/src/lib/libbsm/common/
H A Dgetdadefs.c193 if (da_def->devtype == NULL) in dadef_matchtype()
196 return ((strcmp(da_def->devtype, type) == 0)); in dadef_matchtype()
217 interpdadefs.devtype = getdadmfield(interpdadefline, KV_TOKEN_DELIMIT); in dadef_interpret()
220 if (interpdadefs.devtype == NULL) in dadef_interpret()
H A Ddevalloc.c482 length = snprintf(buf, size, "%s%s", da_defs->devtype, sep); in _def2str()
534 rc = !(strcmp(da_defs->devtype, dargs->devinfo->devtype)); in _build_defattrs()
576 char *type = dargs->devinfo->devtype; in da_std_type()
692 if ((rc = dmap_matchtype(devmapp, dargs->devinfo->devtype)) in _rebuild_lists()
745 dargs->devinfo->devtype, in _rebuild_lists()
768 dargs->devinfo->devtype, in _rebuild_lists()
1066 (void) fprintf(fp, "%s%s", (devinfo->devtype ? devinfo->devtype : ""), in _write_new_defattrs()
1110 (devinfo->devtype ? devinfo->devtype : ""), KV_DELIMITER); in _write_new_entry()
1156 (devinfo->devtype ? devinfo->devtype : ""), KV_TOKEN_DELIMIT); in _write_new_entry()
1537 (devinfo->devtype == NULL) || in da_update_device()
[all …]
H A Ddevalloc.h129 char *devtype; member
158 char *devtype; member
H A Dgetdaent.c455 else if (dargs->devinfo->devtype) in da_match()
456 return (da_matchtype(dap, dargs->devinfo->devtype)); in da_match()
/titanic_50/usr/src/cmd/devfsadm/
H A Ddevalloc.c281 _update_dev(deventry_t *dentry, int action, const char *devtype, char *devname, in _update_dev() argument
316 newentry.devinfo.devtype = (char *)devtype; in _update_dev()
326 newentry.devinfo.devtype = (char *)devtype; in _update_dev()
H A Dcfg_link.c540 char *str, *devtype; in pci_cfg_ap_node() local
543 DI_PROP_DEV_TYPE, &devtype); in pci_cfg_ap_node()
547 if (strcmp(devtype, PROPVAL_PCIEX) == 0) in pci_cfg_ap_node()
548 devtype = DEVTYPE_PCIE; in pci_cfg_ap_node()
563 (void) snprintf(buf, bufsz, "%s%d", devtype, *nump); in pci_cfg_ap_node()
569 di_driver_name(node), di_instance(node), devtype, pci_dev); in pci_cfg_ap_node()
893 char *devtype; in pci_cfg_is_ap_path() local
898 DI_PROP_DEV_TYPE, &devtype) > 0) in pci_cfg_is_ap_path()
899 if (strcmp(devtype, PROPVAL_PCIEX) == 0) in pci_cfg_is_ap_path()
/titanic_50/usr/src/cmd/hal/tools/
H A Dhal-storage-eject.c45 static char *devtype = "Volume"; variable
59 fprintf (stderr, "org.freedesktop.Hal.Device.%s.UnknownFailure\n", devtype); in unknown_eject_error()
164 devtype = "Storage"; in main()
/titanic_50/usr/src/uts/common/sys/dktp/
H A Dflowctrl.h64 #define FLC_START_KSTAT(X, devtype, instance) \ argument
66 (((struct flc_obj *)(X))->flc_data, (devtype), (instance))
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_dr.c192 char devtype[OBP_MAXDRVNAME]; in sbdp_select_top_nodes() local
217 (void) prom_getprop(node, OBP_DEVICETYPE, (caddr_t)devtype); in sbdp_select_top_nodes()
229 if (strcmp(devtype, sbdp_top_nodes[i].s_obp_type) == 0) { in sbdp_select_top_nodes()
230 if (strcmp(devtype, "cpu") == 0) { in sbdp_select_top_nodes()
/titanic_50/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c246 char devtype[32]; in compatible_console() local
261 len = sizeof (devtype); in compatible_console()
277 (caddr_t)devtype, &len) == DDI_PROP_SUCCESS && in compatible_console()
278 strcmp(devtype, "serial") == 0) { in compatible_console()
746 char devtype[32]; in find_consoles() local
777 len = sizeof (devtype); in find_consoles()
779 "device_type", (caddr_t)devtype, &len) == DDI_PROP_SUCCESS && in find_consoles()
780 strcmp(devtype, "serial") == 0 && in find_consoles()
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_vfsops.c158 devtype = fstype; in devinit()
328 vfsp->vfs_fstype = devtype; in sdev_mount()
331 vfs_make_fsid(&vfsp->vfs_fsid, vfsp->vfs_dev, devtype); in sdev_mount()
477 (void) strcpy(sbp->f_basetype, vfssw[devtype].vsw_name); in sdev_statvfs()
/titanic_50/usr/src/cmd/allocate/
H A Dadd_allocatable.c179 devinfo->devname = devinfo->devtype = devinfo->devauths = in process_args()
255 devinfo->devtype = optarg; in process_args()
256 if (strlen(devinfo->devtype) == 0) { in process_args()
421 if (da_defs = getdadeftype(devinfo->devtype)) { in check_args()
/titanic_50/usr/src/psm/promif/ieee1275/common/
H A Dprom_io.c95 prom_read(ihandle_t fd, caddr_t buf, size_t len, uint_t startblk, char devtype) in prom_read() argument
143 prom_write(ihandle_t fd, caddr_t buf, size_t len, uint_t startblk, char devtype) in prom_write() argument
H A Dprom_node.c150 prom_findnode_bydevtype(pnode_t node, char *devtype) in prom_findnode_bydevtype() argument
153 prom_walk_devs(node, bytype_cb, devtype, &result); in prom_findnode_bydevtype()
/titanic_50/usr/src/uts/sun4u/starcat/os/
H A Dstarcat.c918 char *devtype; in plat_get_ecache_cpu() local
929 "device_type", &devtype) != DDI_PROP_SUCCESS) in plat_get_ecache_cpu()
932 if (strcmp(devtype, "cpu")) { in plat_get_ecache_cpu()
933 ddi_prop_free((void *)devtype); in plat_get_ecache_cpu()
937 ddi_prop_free((void *)devtype); in plat_get_ecache_cpu()
/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c83 di_devtype_get(topo_mod_t *mp, di_node_t src, char **devtype) in di_devtype_get() argument
95 *devtype = topo_mod_strdup(mp, (char *)buf); in di_devtype_get()
97 *devtype = NULL; in di_devtype_get()
100 if (*devtype != NULL) in di_devtype_get()
/titanic_50/usr/src/cmd/biosdev/
H A Dbiosdev.c216 char *devtype; in i_match_pcibdf() local
225 "device_type", (char **)&devtype); in i_match_pcibdf()
228 ((strcmp(devtype, "pci") != 0) && (strcmp(devtype, "pciex") != 0))) in i_match_pcibdf()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvsw_switching.c1638 vsw_add_mcst(vsw_t *vswp, uint8_t devtype, uint64_t addr, void *arg) in vsw_add_mcst() argument
1647 if (devtype == VSW_VNETPORT) { in vsw_add_mcst()
1671 ment->d_type = devtype; in vsw_add_mcst()
1692 if (devtype == VSW_VNETPORT) { in vsw_add_mcst()
1717 new_ent->d_type = devtype; in vsw_add_mcst()
1740 vsw_del_mcst(vsw_t *vswp, uint8_t devtype, uint64_t addr, void *arg) in vsw_del_mcst() argument
1748 if (devtype == VSW_VNETPORT) { in vsw_del_mcst()
1769 if (devtype == VSW_VNETPORT) { in vsw_del_mcst()
H A Ddr_io.c250 char *devnm, *devtype; in new_dev_node() local
311 if (md_get_prop_str(cba->mdp, cba->node, "device-type", &devtype)) { in new_dev_node()
317 "device_type", devtype) != DDI_SUCCESS) { in new_dev_node()
323 DR_DBG_IO("%s: device type is %s\n", __func__, devtype); in new_dev_node()
/titanic_50/usr/src/lib/libpkg/common/
H A Ddevtype.c42 devtype(char *alias, struct pkgdev *devp) in devtype() function
/titanic_50/usr/src/lib/libpkg/
H A DMakefile.com33 devtype.o dstream.o gpkglist.o \
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c307 uchar_t devtype; in sgen_setup_binddb() local
309 if (sgen_typenum(cp, &devtype) != 0) { in sgen_setup_binddb()
318 nodep->node_type = devtype; in sgen_setup_binddb()
573 uchar_t devtype; in sgen_do_attach() local
602 devtype = inq->inq_dtype; in sgen_do_attach()
634 if (ddi_create_minor_node(dip, sgen_typename(devtype), S_IFCHR, in sgen_do_attach()
/titanic_50/usr/src/uts/common/io/ppm/
H A Dppm_subr.c401 char *devtype = NULL; in ppm_lookup_dev() local
424 &devtype) == DDI_SUCCESS) { in ppm_lookup_dev()
425 if (strcmp(devtype, "cpu") == 0) { in ppm_lookup_dev()
426 ddi_prop_free(devtype); in ppm_lookup_dev()
429 ddi_prop_free(devtype); in ppm_lookup_dev()
/titanic_50/usr/src/uts/intel/sys/
H A Dpromif.h171 uint_t startblk, char devtype);

12