| /netvirt/usr/src/lib/libdiskmgt/common/ |
| path.c | 183 ddi_devid_t devid; local 188 if (devid_str_decode(dp->name, &devid, NULL) != 0) { 195 if (pp->disks[i]->devid != NULL && 196 devid_compare(pp->disks[i]->devid, devid) == 0) { 206 devid_free(devid); 221 ddi_devid_t devid; local 226 if (devid_str_decode(dp->name, &devid, NULL) != 0) { 233 if (pp->disks[i]->devid != NULL && 234 devid_compare(pp->disks[i]->devid, devid) == 0) [all...] |
| slice.c | 40 #include <devid.h> 573 * correct devid. Also see if we need to read the localpath for the 585 ddi_devid_t devid; local 587 if (devid_get(cooked_fd, &devid) == 0) { 593 if ((devidstr = devid_str_encode(devid, minor)) != 0) { 604 devid_free(devid);
|
| disks_private.h | 37 #include <devid.h> 98 ddi_devid_t devid; /* decoded device id */ member in struct:disk
|
| /netvirt/usr/src/lib/libipmi/common/ |
| ipmi_fru.c | 55 uint8_t count, devid; local 59 devid = fru_loc->_devid_or_slaveaddr._logical._is_fl_devid; 66 cmd.ic_data = &devid; 85 cmd_data_in.ifr_devid = devid;
|
| ipmi_sunoem.c | 72 ipmi_deviceid_t *devid; local 74 if ((devid = ipmi_get_deviceid(ihp)) == NULL) 77 if (ipmi_devid_manufacturer(devid) != IPMI_OEM_SUN)
|
| /netvirt/usr/src/grub/grub-0.95/netboot/ |
| dev.h | 49 struct dev_id devid; /* device ID string (sent to DHCP server) */ member in struct:dev
|
| /netvirt/usr/src/lib/lvm/libmeta/common/ |
| meta_print.c | 365 * meta_print_devid: print out the devid information, given a mddevid_t list. 384 char *devid = ""; local 419 devid = "-"; 423 devid = devid_str_encode(did, NULL); 430 reloc, devid) < 0) 436 devid_str_free(devid);
|
| meta_set_tkr.c | 59 ddi_devid_t devid; local 88 if ((p->dd_dnp->devid != NULL) && 90 (void) devid_str_decode(p->dd_dnp->devid, 91 &devid, NULL); 92 if ((devid_compare(devid, r->r_devid) == 0) || 96 devid_free(devid); 330 ddi_devid_t devid = NULL; local 381 /* if devid_str_decode fails, make sure devid is null */ 382 if (devid_str_decode(dnp->devid, &devid, NULL) != 0) [all...] |
| meta_check.c | 47 #include <devid.h> 61 ddi_devid_t devid; member in struct:dev_list 469 ddi_devid_t devid /* device id */ 476 dnlp->devid = devid; 486 * Differentiate between matching on name/dev_t and devid. In the latter 528 * Case 2 - Both devices have a devid 530 * devices have a devid then the compare will is all 533 * Case 3 - One or more devices does not have a devid 577 * use its devid. Otherwise do the expensive operation [all...] |
| /netvirt/usr/src/uts/common/fs/zfs/ |
| vdev_disk.c | 74 * 2. If the devid of the device matches the stored value, return 78 * by the devid instead. 92 ddi_devid_t devid; local 116 * Compare the devid to the stored value. 119 ldi_get_devid(dvd->vd_lh, &devid) == 0) { 120 if (ddi_devid_compare(devid, dvd->vd_devid) != 0) { 125 ddi_devid_free(devid); 137 * If we were unable to open by path, or the devid check fails, open by 138 * devid instead. 146 * or the logical path (if we failed due to the devid check). While no [all...] |
| /netvirt/usr/src/uts/common/io/cardbus/ |
| cardbus_parse.h | 46 uint16_t devid; member in struct:cb_deviceset_props
|
| /netvirt/usr/src/cmd/format/ |
| label.c | 47 #include <devid.h> 495 ddi_devid_t devid; local 503 if (devid_get(fd, &devid)) { 509 n = devid_sizeof(devid); 510 s = (char *)devid; 536 devid_free(devid); 545 devid_free(devid);
|
| /netvirt/usr/src/cmd/oplhpd/ |
| scf_notify.c | 254 unsigned int devid, funcid; /* bus addr */ local 291 if (sscanf(tmp, "%x,%x", &devid, &funcid) != 2) { 293 if (sscanf(tmp, "%x", &devid) != 1) { 294 devid = 0; 311 * Case 1. devid > sdevid 312 * Case 2. devid == sdevid && funcid > sfuncid 314 if ((devid > sdevid) || ((devid == sdevid) && 317 devid = sdevid; 324 * Case 1. devid >= sdevi [all...] |
| /netvirt/usr/src/cmd/stat/common/ |
| dsr.c | 55 #include <devid.h> 62 static di_node_t di_root; /* from di_init: for devid */ 126 char *devid; local 261 if (devidp) { /* lookup the devid */ 275 /* and lookup devid property on the node */ 277 DEVID_PROP_NAME, &devid) != -1) 278 *devidp = devid; 353 char *devid = NULL; local 408 &devpath, &adevpath, want_devid ? &devid : NULL) == 0) { 438 entry->devidstr = devid; [all...] |
| /netvirt/usr/src/cmd/syseventd/modules/zfs_mod/ |
| zfs_mod.c | 36 * 1. Search for any vdevs whose devid matches that of the newly added 66 #include <devid.h> 95 * The device associated with the given vdev (either by devid or physical path) 116 char *devid = NULL; local 123 (void) nvlist_lookup_string(vdev, ZPOOL_CONFIG_DEVID, &devid); 179 * path/devid/wholedisk to keep it simple. 191 (devid && nvlist_add_string(newvd, ZPOOL_CONFIG_DEVID, 192 devid) != 0) || 262 * <path/> This is a devid for a whole disk, and 315 * Given a /devices path, lookup the corresponding devid for each minor node 329 ddi_devid_t devid; local [all...] |
| /netvirt/usr/src/cmd/wbem/provider/c/filesystems/wbem_nfs/nfs_filesystem/ |
| Solaris_NFS.c | 732 char *devid; local 734 char *devidStr = "devid:="; 1010 * "resource:=<resource> devid:=<devid>" in order to create a unique 1013 devid = fs_parse_optlist_for_option(nfs_mount->nml_mntopts, 1015 if (devid == NULL) { 1024 strlen(devidStr) + strlen(devid) + 2; 1032 nfs_mount->nml_resource, " ", devidStr, devid); 1033 free(devid); [all...] |
| /netvirt/usr/src/lib/fm/topo/libtopo/common/ |
| dev.c | 35 #include <devid.h> 124 char *devid = NULL; local 143 /* Get devid, if present */ 144 err = nvlist_lookup_string(nvl, FM_FMRI_DEV_ID, &devid); 202 /* device-id part, topo_fmristr_build does nothing if devid is NULL */ 204 buf, buflen, devid, "/:" FM_FMRI_DEV_ID "=", NULL); 252 char *devid = NULL; local 275 devid = alloca(len + 1); 276 (void) memcpy(devid, devpath + 7, len); 277 devid[len] = 0 309 const char *devid; member in struct:walkinfo 318 ddi_devid_t devid; local 365 char *devid = NULL; local [all...] |
| /netvirt/usr/src/uts/common/os/ |
| ddifm.c | 219 char *devid, *name; local 237 * Use the dev_path/devid for this device instance. 248 DDI_PROP_DONTPASS, DEVID_PROP_NAME, &devid) == DDI_SUCCESS) { 250 device_path, devid); 251 ddi_prop_free(devid); 298 * Use the dev_path/devid for this device instance.
|
| /netvirt/usr/src/uts/intel/io/smcp/ |
| smcp.c | 1188 unsigned short devid; local 1204 devid = pregs->x.cx; 1205 compval = (((ulong_t)devid) << 16) | ((ulong_t)vendid); [all...] |
| /netvirt/usr/src/lib/fm/topo/modules/common/disk/ |
| disk.c | 29 #include <devid.h> 577 disk_di_node_add(int *instancep, char *devid, di_node_t node, topo_mod_t *mod) 587 if (strcmp(dnode->ddn_devid, devid) == 0) { 589 "disk_node_add - already there %s\n", devid); 603 dnode->ddn_devid = strdup(devid); 634 ddi_devid_t devid = NULL; local 640 devid = (ddi_devid_t)di_devid(node); 641 if (devid == NULL) 644 /* ... with a string representation of the devid */ 645 devidstr = devid_str_encode(devid, NULL) [all...] |
| /netvirt/usr/src/uts/common/io/chxge/com/ |
| ch_compat.h | 132 unsigned short devid; member in struct:pci_device_id 137 #define CH_DEVICE_COMMON(devid, ssid, idx) { devid, ssid, idx } 138 #define CH_DEVICE(devid, ssid, idx) CH_DEVICE_COMMON(devid, ssid, idx)
|
| /netvirt/usr/src/uts/i86pc/io/psm/ |
| uppc.c | 490 uppc_acpi_translate_pci_irq(dev_info_t *dip, int busid, int devid, 496 if ((status = acpi_get_irq_cache_ent(busid, devid, ipin, pci_irqp, 525 acpi_new_irq_cache_ent(busid, devid, ipin, *pci_irqp, 724 int dev_len, pci_irq, devid, busid; local 753 if (acpica_get_bdf(dip, &busid, &devid, NULL) != 0) 761 if (uppc_acpi_translate_pci_irq(dip, busid, devid,
|
| /netvirt/usr/src/uts/sun4u/io/ |
| sbbc.c | 981 uint16_t comm, vendid, devid, stat; local 994 devid = pci_config_get16(conf_handle, PCI_CONF_DEVID); 1002 "SBBC vendid %x, devid %x, comm %x, stat %x, revid %x\n", 1003 vendid, devid, comm, stat, revid); [all...] |
| /netvirt/usr/src/cmd/lvm/util/ |
| metaset.c | 797 ddi_devid_t devid; local 807 if (devid_get(fd, &devid) == 0) { 810 len = devid_sizeof(devid); 815 devid_free(devid); [all...] |
| /netvirt/usr/src/cmd/wbem/provider/c/filesystems/wbem_nfs/assoc/ |
| Solaris_NFSMount.c | 283 * will do a second check to make sure it did and to get the devid. 1586 char *devid; local 1699 char *devid; local 1781 devidStr, devid); local 1837 char *devid; local 1876 char *devid; local [all...] |