/illumos-gate/usr/src/test/zfs-tests/tests/functional/devices/ |
H A D | devices_common.kshlib | 52 devtype=$(df -n / | awk '{print $3}') 53 case $devtype in 82 "for / ($devtype)," \
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | getdadefs.c | 191 if (da_def->devtype == NULL) in dadef_matchtype() 194 return ((strcmp(da_def->devtype, type) == 0)); in dadef_matchtype() 215 interpdadefs.devtype = getdadmfield(interpdadefline, KV_TOKEN_DELIMIT); in dadef_interpret() 218 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 | 453 else if (dargs->devinfo->devtype) in da_match() 454 return (da_matchtype(dap, dargs->devinfo->devtype)); in da_match()
|
H A D | getdment.c | 544 else if (dargs->devinfo->devtype) in dm_match() 545 return (dmap_matchtype(dmap, dargs->devinfo->devtype)); in dm_match()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devalloc.c | 282 _update_dev(deventry_t *dentry, int action, const char *devtype, char *devname, in _update_dev() argument 317 newentry.devinfo.devtype = (char *)devtype; in _update_dev() 327 newentry.devinfo.devtype = (char *)devtype; in _update_dev()
|
H A D | cfg_link.c | 549 char *str, *devtype; in pci_cfg_ap_node() local 552 DI_PROP_DEV_TYPE, &devtype); in pci_cfg_ap_node() 556 if (strcmp(devtype, PROPVAL_PCIEX) == 0) in pci_cfg_ap_node() 557 devtype = DEVTYPE_PCIE; in pci_cfg_ap_node() 572 (void) snprintf(buf, bufsz, "%s%d", devtype, *nump); in pci_cfg_ap_node() 578 di_driver_name(node), di_instance(node), devtype, pci_dev); in pci_cfg_ap_node() 902 char *devtype; in pci_cfg_is_ap_path() local 907 DI_PROP_DEV_TYPE, &devtype) > 0) in pci_cfg_is_ap_path() 908 if (strcmp(devtype, PROPVAL_PCIEX) == 0) in pci_cfg_is_ap_path()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | flowctrl.h | 62 #define FLC_START_KSTAT(X, devtype, instance) \ argument 64 (((struct flc_obj *)(X))->flc_data, (devtype), (instance))
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.h | 71 ib_devtype_t devtype; /* partitioning type */ member 81 ib_devtype_t devtype; member
|
H A D | installboot.c | 225 device->devtype == IB_DEV_MBR? "partition" : "slice", in install_stage1_cb() 1096 device->stage.devtype = IB_DEV_EFI; in get_slice() 1163 data->device.devtype = IB_DEV_EFI; in probe_gpt() 1241 device->stage.devtype = data->device.devtype; in probe_gpt() 1271 device->stage.devtype = data->device.devtype; in probe_gpt() 1419 data->device.devtype = IB_DEV_VTOC; in probe_vtoc() 1481 device->stage.devtype = data->device.devtype; in probe_vtoc() 1521 pl->pl_device->stage.devtype = data->device.devtype; in probe_vtoc() 1551 data->device.devtype = IB_DEV_MBR; in probe_mbr() 1589 device->stage.devtype = IB_DEV_MBR; in probe_mbr() [all …]
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vfsops.c | 159 devtype = fstype; in devinit() 335 vfsp->vfs_fstype = devtype; in sdev_mount() 338 vfs_make_fsid(&vfsp->vfs_fsid, vfsp->vfs_dev, devtype); in sdev_mount() 485 (void) strcpy(sbp->f_basetype, vfssw[devtype].vsw_name); in sdev_statvfs()
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 177 devinfo->devname = devinfo->devtype = devinfo->devauths = in process_args() 253 devinfo->devtype = optarg; in process_args() 254 if (strlen(devinfo->devtype) == 0) { in process_args() 419 if (da_defs = getdadeftype(devinfo->devtype)) { in check_args()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 214 char *devtype; in i_match_pcibdf() local 223 "device_type", (char **)&devtype); in i_match_pcibdf() 226 ((strcmp(devtype, "pci") != 0) && (strcmp(devtype, "pciex") != 0))) in i_match_pcibdf()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 84 di_devtype_get(topo_mod_t *mp, di_node_t src, char **devtype) in di_devtype_get() argument 96 *devtype = topo_mod_strdup(mp, (char *)buf); in di_devtype_get() 98 *devtype = NULL; in di_devtype_get() 101 if (*devtype != NULL) in di_devtype_get()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/lib/libpkg/ |
H A D | Makefile.com | 37 devtype.o dstream.o gpkglist.o \
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | devtype.c | 42 devtype(char *alias, struct pkgdev *devp) in devtype() function
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm_subr.c | 405 char *devtype = NULL; in ppm_lookup_dev() local 428 &devtype) == DDI_SUCCESS) { in ppm_lookup_dev() 429 if (strcmp(devtype, "cpu") == 0) { in ppm_lookup_dev() 430 ddi_prop_free(devtype); in ppm_lookup_dev() 433 ddi_prop_free(devtype); in ppm_lookup_dev()
|