| /osnet-11/usr/src/lib/libipmi/common/ |
| H A D | ipmi_fru.c | 55 uint8_t count, devid; local 60 devid = fru_loc->_devid_or_slaveaddr._logical._is_fl_devid; 67 cmd.ic_data = &devid; 86 cmd_data_in.ifr_devid = devid;
|
| H A D | ipmi_sunoem.c | 83 ipmi_deviceid_t *devid; local 85 if ((devid = ipmi_get_deviceid(ihp)) == NULL) 88 if (!ipmi_is_sun_ilom(devid))
|
| H A D | ipmi_user.c | 188 ipmi_deviceid_t *devid; local 208 if ((devid = ipmi_get_deviceid(ihp)) == NULL) 211 if (!ipmi_is_sun_ilom(devid))
|
| /osnet-11/usr/src/lib/fm/libdisklog/common/ |
| H A D | libdisklog.h | 57 char devid[MAXNAMELEN]; member in struct:dl_logging_args
|
| /osnet-11/usr/src/lib/libdiskmgt/common/ |
| H A D | 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, devi [all...] |
| H A D | disks_private.h | 34 #include <devid.h> 104 ddi_devid_t devid; /* decoded device id */ member in struct:disk
|
| H A D | slice.c | 37 #include <devid.h> 584 * correct devid. Also see if we need to read the localpath for the 596 ddi_devid_t devid; local 598 if (devid_get(cooked_fd, &devid) == 0) { 604 if ((devidstr = devid_str_encode(devid, minor)) 616 devid_free(devid);
|
| /osnet-11/usr/src/grub/grub-0.97/netboot/ |
| H A D | dev.h | 49 struct dev_id devid; /* device ID string (sent to DHCP server) */ member in struct:dev
|
| /osnet-11/usr/src/lib/libdevid/ |
| H A D | deviceid.c | 208 * Convert the specified devid/minor_name into a devid_nmlist_t array 221 ddi_devid_t devid, 255 /* translate devid/minor_name to /devices paths */ 256 again: if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, NULL) != 0) 260 if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, paths) != 0) { 286 * iterate over all the devtspectype resolutions of the devid and 219 devid_deviceid_to_nmlist( char *search_path, ddi_devid_t devid, char *minor_name, devid_nmlist_t **retlist) argument
|
| /osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/ |
| H A D | ses_dev.c | 28 #include <devid.h> 375 ses_di_node_add(di_node_t node, char *devid, ses_cbdata_t *cbp) argument 384 * NOTE: if there is no devid, then we can end up with duplicate 387 if (devid) { 388 /* Check for duplicate using devid search. */ 392 devid_str_compare(dnode->sdn_devid, devid) == 0) { 394 "already there %s\n", devid); 407 if (devid) { 408 dnode->sdn_devid = topo_mod_strdup(mod, devid); 438 devid [all...] |
| /osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/ |
| H A D | zfsinfo.c | 96 char *devid = 0; local 118 devid = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_DEVID); 120 if (!devid) 123 grub_printf_ (N_("Devid: %s\n"), devid); 125 grub_free (devid); 175 char **devid) 194 *devid = 0; 200 *devid = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_DEVID); 225 get_bootpath (child, devguid, bootpath, devid); 229 if (*bootpath || *devid) 174 get_bootpath(char *nvlist, grub_uint64_t devguid, char **bootpath, char **devid) argument 332 char *bootpath = 0, *devid = 0; local 429 char *bootpath = 0, *devid = 0; local [all...] |
| /osnet-11/usr/src/lib/lvm/libmeta/common/ |
| H A D | meta_getdevs.c | 584 meta_deviceid_to_nmlist(char *search_path, ddi_devid_t devid, char *minor_name, argument 593 res = devid_deviceid_to_nmlist(search_path, devid, minor_name, retlist);
|
| H A D | meta_namespace.c | 244 if ((nm.devid = (uintptr_t)malloc(nm.devid_size)) == NULL) { 249 (void) free((void *)(uintptr_t)nm.devid); 253 return ((void *)(uintptr_t)nm.devid); 257 * set the devid. 285 * the initial add so that the correct devid is picked up. 288 * get the devid. If the wrong side is used then it would 289 * be possible to get the wrong devid in the namespace, hence 297 * on the devid. 396 * The arguments, minorname and devid, are only used with the partial 408 ddi_devid_t devid, /* onl 400 add_name( mdsetname_t *sp, side_t sideno, mdkey_t key, char *dname, minor_t mnum, char *bname, char *minorname, ddi_devid_t devid, md_error_t *ep ) argument [all...] |
| H A D | 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);
|
| H A D | meta_se_notify.c | 200 do_mdnotify(char *se_subclass, uint32_t tag, set_t setno, md_dev64_t devid) argument 222 NOTIFY_MD(md_tag, setno, devid, ev_type); 324 md_dev64_t devid 333 do_mdnotify(se_subclass, tag, setno, devid); 365 (uint64_t)devid); 371 devname = obj2devname(tag, setno, devid);
|
| H A D | meta_set_tkr.c | 57 ddi_devid_t devid; local 86 if (p->dd_dnp->devid != NULL && r->r_devid != NULL) { 87 (void) devid_str_decode(p->dd_dnp->devid, 88 &devid, NULL); 89 if ((devid_compare(devid, r->r_devid) == 0) || 93 devid_free(devid); 327 ddi_devid_t devid = NULL; local 366 /* if devid_str_decode fails, make sure devid is null */ 367 if (devid_str_decode(dnp->devid, &devid, NUL [all...] |
| H A D | meta_check.c | 43 #include <devid.h> 57 ddi_devid_t devid; member in struct:dev_list 483 ddi_devid_t devid /* device id */ 490 dnlp->devid = devid; 500 * Differentiate between matching on name/dev_t and devid. In the latter 542 * Case 2 - Both devices have a devid 544 * devices have a devid then the compare will is all 547 * Case 3 - One or more devices does not have a devid 591 * use its devid [all...] |
| /osnet-11/usr/src/lib/storage/libg_fc/common/ |
| H A D | io.c | 61 #include <devid.h> 728 * Retrieves a devid from a device path. 735 * devid: ptr to ddi_devid_t struct 738 * On success, devid points to device tree handle to devid 739 * di_fini on root will invalidate devid pointer 746 g_devid_get(char *devpath, ddi_devid_t *devid, di_node_t root, argument 756 if (devpath == NULL || devid == NULL || drvr_name == NULL) { 764 *devid = NULL; 795 *devid [all...] |
| /osnet-11/usr/src/lib/sun_sas/common/ |
| H A D | devtree_device_disco.c | 223 ddi_devid_t devid; local 584 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "devid", 586 if (devid_str_decode(propStringData, &devid, NULL) != -1) { 587 guidStr = devid_to_guid(devid); 600 "failed to get devid guid on (%s) : %s", 609 "failed to decode devid prop on (%s) : %s", 615 "failed to get devid prop on (%s) : %s", 642 ddi_devid_t devid; local 994 if (di_prop_lookup_strings(DDI_DEV_T_ANY, clientnode, "devid", 996 if (devid_str_decode(propStringData, &devid, NUL [all...] |
| /osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | dev.c | 135 char *devid = NULL, *tpl0id = NULL; local 145 /* Get devid, if present */ 146 err = nvlist_lookup_string(nvl, FM_FMRI_DEV_ID, &devid); 171 /* device-id part, topo_fmristr_build does nothing if devid is NULL */ 173 buf, buflen, devid, ":" FM_FMRI_DEV_ID "=", NULL); 183 * there is a devid component so we continue to do that 187 * dev:///<devid-and-tpl0>//pci@0,0/... 189 * where <devid-and-tpl0> = 190 * [:devid=<devid>][ 236 char *cur, *devid = NULL, *tpl0id = NULL; local 382 char *devid; local [all...] |
| /osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
| H A D | bay_subr.c | 26 #include <devid.h> 316 * Get the devid property from the disk node matching the path passed in. 326 char *devid = NULL; local 337 dnode, DEVID_PROP_NAME, &devid); 339 topo_mod_dprintf(mod, "%s: no devid " 352 /* find the child matching the phy and grab the devid prop */ 372 if (devid != NULL) { 373 topo_mod_dprintf(mod, "%s: devid for %s:%d: %s\n", f, 374 bp->hba_nm, bp->phy, devid); 375 return (topo_mod_strdup(mod, devid)); [all...] |
| H A D | bay.c | 27 #include <devid.h> 93 char *devid = NULL; local 142 /* since there's an occupant, add devid to the io pgroup */ 143 devid = get_devid(mod, oc_path, bp); 144 if (devid != NULL) { 146 TOPO_IO_DEVID, TOPO_PROP_IMMUTABLE, devid, &err); 149 "%s: failed to set devid: %s\n", 153 topo_mod_strfree(mod, devid);
|
| /osnet-11/usr/src/lib/libsuri/common/ |
| H A D | suri_devinfo.c | 797 char *c, *guid, *devid = NULL; local 803 /* If we do not get a devid we are not interested in this node. */ 804 if ((devid = get_string_prop(node, "devid", di_prop_hw_next)) == NULL) 811 assert(strncmp(devid, "id1", 3) == 0); 812 c = strchr(devid, '@'); 814 /* We accept only devid's with NAA ID type for now. */ 820 * Note we skip '@' and the GUID type character in the devid property.
|
| /osnet-11/usr/src/lib/fm/libfmd_zfs/common/ |
| H A D | fmd_zfs.c | 319 char *devid, *chassissn, *location, *path; local 352 if (nvlist_lookup_string(vdev, ZPOOL_CONFIG_DEVID, &devid) == 353 0 && devid_str_compare(cbp->cb_devid, devid) == 0) 463 fmd_zfs_iter_by_devid(libzfs_handle_t *zhdl, char *devid, fmd_zfs_func_t func, argument 469 cb.cb_devid = devid; 553 ddi_devid_t devid; local 593 * Modify physpath/path/devid to be for the new disk, but make 623 devid_str_decode(fzp->fz_devid, &devid, NULL) == 0 && 625 savedevidstr = devidstr = devid_str_encode(devid, minor); 626 devid_free(devid); [all...] |
| /osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/ |
| H A D | disk_common.c | 37 #include <devid.h> 103 * group: io properties: devfs-path, devid 180 /* create/set the devfs-path and devid in the io group */ 197 "set devid error %s\n", topo_strerror(err)); 555 * declares the disk node with given the device devid. 556 * The devid should be the resulted value from from devid_str_encode(). 565 const char *devid) 576 (devid_str_compare(dnode->ddn_devid, (char *)devid) == 0)) { 578 "found disk matching devid %s", devid); 564 disk_declare_devid(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, const char *devid) argument 994 dev_di_node_add(di_node_t node, char *devid, disk_cbdata_t *cbp) argument [all...] |