/titanic_50/usr/src/test/zfs-tests/tests/functional/devices/ |
H A D | devices_common.kshlib | 47 devtype=$($DF -n / | $AWK '{print $3}') 48 case $devtype in 77 "for / ($devtype)," \
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | getdadefs.c | 193 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 D | devalloc.c | 482 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 D | devalloc.h | 129 char *devtype; member 158 char *devtype; member
|
H A D | getdaent.c | 455 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 D | devalloc.c | 281 _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 D | cfg_link.c | 540 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 D | hal-storage-eject.c | 45 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 D | flowctrl.h | 64 #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 D | sbdp_dr.c | 192 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 D | ttymux_dacf.c | 246 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 D | sdev_vfsops.c | 158 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 D | add_allocatable.c | 179 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 D | prom_io.c | 95 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 D | prom_node.c | 150 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 D | starcat.c | 918 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 D | did.c | 83 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 D | biosdev.c | 216 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 D | vsw_switching.c | 1638 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 D | dr_io.c | 250 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 D | devtype.c | 42 devtype(char *alias, struct pkgdev *devp) in devtype() function
|
/titanic_50/usr/src/lib/libpkg/ |
H A D | Makefile.com | 33 devtype.o dstream.o gpkglist.o \
|
/titanic_50/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 307 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 D | ppm_subr.c | 401 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 D | promif.h | 171 uint_t startblk, char devtype);
|