Home
last modified time | relevance | path

Searched refs:hp_name (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c102 if (root->hp_name != NULL) in getinfo()
103 free(root->hp_name); in getinfo()
477 node->hp_name = strdup(name); in new_device_node()
479 node->hp_name = strdup(node_name); in new_device_node()
503 node->hp_name = strdup(s); in new_hotplug_node()
H A Dhotplugd_rcm.c487 if ((usage->hp_name = strdup(entry->rsrc)) == NULL) { in merge_callback()
495 free(usage->hp_name); in merge_callback()
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c151 if (node->hp_name) in hp_fini()
152 free(node->hp_name); in hp_fini()
230 hp_name(hp_node_t node) in hp_name() function
240 if (node->hp_name == NULL) { in hp_name()
245 return (node->hp_name); in hp_name()
463 (void) strlcpy(connection, node->hp_name, MAXPATHLEN); in hp_path()
469 (void) strlcat(components, parent->hp_name, MAXPATHLEN); in hp_path()
950 if ((node->hp_name) && in i_hp_pack_node()
951 ((rv = nvlist_add_string(nvl, HP_INFO_NAME, node->hp_name)) != 0)) in i_hp_pack_node()
1106 if ((node->hp_name = strdup(val_string)) == NULL) { in i_hp_unpack_node()
H A Dlibhotplug_impl.h42 char *hp_name; member
H A Dlibhotplug.h82 char *hp_name(hp_node_t node);
H A Dmapfile-vers46 hp_name;
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c365 len = strlen(hp_name(node)); in error_sizeup_cb()
399 format, hp_name(node), hp_usage(node)); in error_sumup_cb()
824 if (fix_ap_name(buff, ap_id, hp_name(node), in prt_led_mode()
1520 hp_name(node), errstring); in cfga_list_ext()
1535 (void) strcpy((*cs)->ap_log_id, hp_name(node)); in cfga_list_ext()
/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c1041 (void) printf("%s\n", hp_name(node)); in list_cb()
1045 (void) printf("[%s]", hp_name(node)); in list_cb()
1051 (void) printf("<%s>", hp_name(node)); in list_cb()
/illumos-gate/usr/src/uts/common/sys/
H A Ddevinfo_impl.h338 di_off_t hp_name; /* name of hotplug connection */ member
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1164 char *drv, *hp_name; in mklog_hp() local
1168 hp_name = di_hp_name(hp); in mklog_hp()
1171 if (drv != NULL && inst != -1 && hp_name != NULL && in mklog_hp()
1173 hp_name) < len) { /* snprintf returns strlen */ in mklog_hp()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c2665 if (DI_HP(hp)->hp_name == 0) { in di_hp_name()
2670 return ((char *)(pa + DI_HP(hp)->hp_name)); in di_hp_name()
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c3570 me->hp_name = 0; in di_gethpdata()
3595 me->hp_name = off = di_checkmem(st, off, size); in di_gethpdata()