/titanic_50/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_misc.c | 202 const char *parent_path; in devinfo_default_add() local 207 parent_path = hal_device_property_get_string(parent, "solaris.devfs_path"); in devinfo_default_add() 208 if ((parent_path != NULL) && in devinfo_default_add() 209 (strcmp (parent_path, "/pseudo") == 0)) { in devinfo_default_add()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 138 char parent_path[MAXSTRLEN]; in huron_pci_callback() local 147 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in huron_pci_callback() 148 sizeof (parent_path)); in huron_pci_callback() 183 huron_get_bus_type(parent_path, &pci_card); in huron_pci_callback() 192 if (strcmp(parent_path, HURON_NIU) == 0) in huron_pci_callback() 195 huron_get_slot_number(parent_path, &pci_card); in huron_pci_callback()
|
H A D | pelton.c | 142 char parent_path[MAXSTRLEN]; in pelton_pci_callback() local 151 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in pelton_pci_callback() 152 sizeof (parent_path)); in pelton_pci_callback() 183 get_bus_type(parent_path, &pci_card); in pelton_pci_callback() 185 get_slot_number(parent_path, &pci_card); in pelton_pci_callback()
|
H A D | erie.c | 72 char parent_path[MAXSTRLEN]; in erie_pci_callback() local 81 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in erie_pci_callback() 82 sizeof (parent_path)); in erie_pci_callback() 119 erie_get_bus_type(parent_path, bus_type); in erie_pci_callback()
|
H A D | ontario.c | 156 char parent_path[MAXSTRLEN]; in ontario_pci_callback() local 165 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in ontario_pci_callback() 166 sizeof (parent_path)); in ontario_pci_callback() 201 get_bus_type(parent_path, &pci_card); in ontario_pci_callback() 203 get_slot_number(nodeh, parent_path, &pci_card); in ontario_pci_callback()
|
H A D | stpaul.c | 75 char parent_path[MAXSTRLEN]; in stpaul_pci_callback() local 85 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in stpaul_pci_callback() 86 sizeof (parent_path)); in stpaul_pci_callback()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvsetup.c | 73 char *parent_path; /* parent path */ member 110 char *parent_path; /* parent node path */ member 139 char *parent_path; /* parent node path */ member 404 err = ptree_get_node_by_path(snodep->parent_path, &nodeh); in add_sensor_nodes_and_props() 408 snodep->parent_path); in add_sensor_nodes_and_props() 527 err = ptree_get_node_by_path(dnodep->parent_path, &nodeh); in add_disk_nodes_and_props() 532 dnodep->parent_path); in add_disk_nodes_and_props() 677 err = ptree_get_node_by_path(fnodep->parent_path, &nodeh); in add_fan_nodes_and_props() 681 "node for %s NOT FOUND.\n", fnodep->parent_path); in add_fan_nodes_and_props()
|
/titanic_50/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 147 const char *parent_path, int indent); 497 const char *parent_path; in print_field() local 585 parent_path = path; in print_field() 588 parent_path, 2*INDENT); in print_field() 700 const char *parent_path, int indent) in print_element() argument 730 path = (char *)parent_path; in print_element() 735 len = strlen(parent_path) + sizeof ("/") + in print_element() 740 "%s/%s", parent_path, def->name); in print_element() 1001 const char *parent_path; in print_element() local 1015 parent_path = path; in print_element() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 151 char parent_path[MAXSTRLEN]; in monza_pci_callback() local 160 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in monza_pci_callback() 161 sizeof (parent_path)); in monza_pci_callback() 197 monza_get_bus_type(parent_path, &pci_card); in monza_pci_callback() 206 if (strcmp(parent_path, MONZA_NIU) == 0) in monza_pci_callback() 209 monza_get_slot_number(parent_path, &pci_card); in monza_pci_callback()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 77 char *parent_path; /* parent path */ member 116 char *parent_path; /* parent node path */ member 151 char *parent_path; /* parent node path */ member 414 err = ptree_get_node_by_path(snodep->parent_path, &nodeh); in add_sensor_nodes_and_props() 530 err = ptree_get_node_by_path(dnodep->parent_path, &nodeh); in add_disk_nodes_and_props() 534 dnodep->parent_path); in add_disk_nodes_and_props() 672 err = ptree_get_node_by_path(fnodep->parent_path, &nodeh); in add_fan_nodes_and_props() 676 "node for %s NOT FOUND.\n", fnodep->parent_path); in add_fan_nodes_and_props()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 124 char parent_path[MAXSTRLEN]; in montoya_pci_callback() local 133 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in montoya_pci_callback() 134 sizeof (parent_path)); in montoya_pci_callback() 170 get_bus_type(parent_path, &pci_card); in montoya_pci_callback() 172 get_slot_number(parent_path, &pci_card); in montoya_pci_callback()
|
/titanic_50/usr/src/cmd/hal/hald/ |
H A D | util.c | 126 gchar *parent_path; in hal_util_get_parent_path() local 129 parent_path = g_strndup (path, HAL_PATH_MAX); in hal_util_get_parent_path() 130 len = strlen (parent_path); in hal_util_get_parent_path() 131 for (i = len - 1; parent_path[i] != '/'; --i) { in hal_util_get_parent_path() 132 parent_path[i] = '\0'; in hal_util_get_parent_path() 134 parent_path[i] = '\0'; in hal_util_get_parent_path() 136 return parent_path; in hal_util_get_parent_path()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 75 char *parent_path; /* parent path */ member 107 char *parent_path; /* parent node path */ member 345 err = ptree_get_node_by_path(snodep->parent_path, &nodeh); in add_sensor_nodes_and_props() 467 err = ptree_get_node_by_path(fnodep->parent_path, &nodeh); in add_fan_nodes_and_props()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 94 char parent_path[MAXSTRLEN]; in opl_pci_callback() local 127 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path, in opl_pci_callback() 128 sizeof (parent_path)); in opl_pci_callback() 141 prop_size = sizeof (parent_path) + 1; in opl_pci_callback() 144 (void) strlcpy(root_path, parent_path, prop_size); in opl_pci_callback()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 117 char parent_path[256]; member 342 psvcplugin_add_children(char *parent_path) in psvcplugin_add_children() argument 349 if (strcmp(parent_path, psvc_paths[i].parent_path) == 0) { in psvcplugin_add_children() 350 ptree_get_node_by_path(parent_path, &parent_node); in psvcplugin_add_children() 353 parent_path, psvc_paths[i].child_name); in psvcplugin_add_children() 366 (void) strcpy(parent, psvc_paths[i].parent_path); in psvcplugin_lookup() 1766 (void) strcpy(psvc_paths[i].parent_path, buf); in psvc_plugin_init()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 763 char parent_path[PICL_PROPNAMELEN_MAX]; in handle_ps_hotplug() local 770 psvcplugin_lookup(id, parent_path, &child_node); in handle_ps_hotplug() 785 ptree_get_node_by_path(parent_path, &parent_node); in handle_ps_hotplug() 787 snprintf(ps_path, sizeof (ps_path), "%s/%s", parent_path, id); in handle_ps_hotplug() 1645 char parent_path[PICL_PROPNAMELEN_MAX]; in check_disk_hotplug() local 1653 psvcplugin_lookup(id, parent_path, &child_node); in check_disk_hotplug() 1674 status = ptree_get_node_by_path(parent_path, in check_disk_hotplug()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/ |
H A D | psvcpolicy.c | 850 char parent_path[256]; in psvc_hotplug_notifier_policy_0() local 858 psvcplugin_lookup(id, parent_path, &child_node); in psvc_hotplug_notifier_policy_0() 877 status = ptree_get_node_by_path(parent_path, in psvc_hotplug_notifier_policy_0() 926 char parent_path[256]; in psvc_fan_hotplug_policy_0() local 934 psvcplugin_lookup(id, parent_path, &child_node); in psvc_fan_hotplug_policy_0() 995 ptree_get_node_by_path(parent_path, &parent_node); in psvc_fan_hotplug_policy_0()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/ |
H A D | psvcpolicy.c | 499 char parent_path[256]; in psvc_remove_missing_nodes_0() local 530 psvcplugin_lookup(physical_dev, parent_path, in psvc_remove_missing_nodes_0() 1532 char parent_path[256], ps_path[256]; in psvc_ps_hotplug_policy_0() local 1566 psvcplugin_lookup(id, parent_path, &child_node); in psvc_ps_hotplug_policy_0() 1616 ptree_get_node_by_path(parent_path, &parent_node); in psvc_ps_hotplug_policy_0() 1618 snprintf(ps_path, sizeof (ps_path), "%s/%s", parent_path, id); in psvc_ps_hotplug_policy_0() 2281 char parent_path[256]; in remove_module_node() local 2285 psvcplugin_lookup(id, parent_path, &child_node); in remove_module_node()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvc_objects.h | 315 void psvcplugin_add_children(char *parent_path);
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/ |
H A D | psvcpolicy.c | 544 char parent_path[256]; in psvc_ps_hotplug_policy_0() local 576 psvcplugin_lookup(id, parent_path, &child_node); in psvc_ps_hotplug_policy_0() 634 ptree_get_node_by_path(parent_path, &parent_node); in psvc_ps_hotplug_policy_0()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 586 get_fru_path(char *parent_path, frutree_frunode_t *frup) in get_fru_path() argument 618 rnode = di_init(parent_path, DINFOSUBTREE|DINFOMINOR); in get_fru_path()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 1170 char parent_path[MAXPATHLEN]; in add_pci_location() local 1178 sprintf_buf2(parent_path, IO_DEV, parent_addr); in add_pci_location() 1179 if (ptree_get_node_by_path(parent_path, &devhdl) == PICL_SUCCESS && in add_pci_location()
|