Searched defs:parent_path (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_misc.c202 const char *parent_path; local
207 parent_path = hal_device_property_get_string(parent, "solaris.devfs_path");
208 if ((parent_path != NULL) &&
209 (strcmp (parent_path, "/pseudo") == 0)) {
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c138 char parent_path[MAXSTRLEN]; local
147 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
148 sizeof (parent_path));
183 huron_get_bus_type(parent_path, &pci_card);
192 if (strcmp(parent_path, HURON_NIU) == 0)
195 huron_get_slot_number(parent_path, &pci_card);
H A Dpelton.c142 char parent_path[MAXSTRLEN]; local
151 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
152 sizeof (parent_path));
183 get_bus_type(parent_path, &pci_card);
185 get_slot_number(parent_path, &pci_card);
H A Derie.c72 char parent_path[MAXSTRLEN]; local
81 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
82 sizeof (parent_path));
119 erie_get_bus_type(parent_path, bus_type);
H A Dontario.c156 char parent_path[MAXSTRLEN]; local
165 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
166 sizeof (parent_path));
201 get_bus_type(parent_path, &pci_card);
203 get_slot_number(nodeh, parent_path, &pci_card);
H A Dstpaul.c75 char parent_path[MAXSTRLEN]; local
85 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
86 sizeof (parent_path));
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c124 char parent_path[MAXSTRLEN]; local
133 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
134 sizeof (parent_path));
170 get_bus_type(parent_path, &pci_card);
172 get_slot_number(parent_path, &pci_card);
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c151 char parent_path[MAXSTRLEN]; local
160 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
161 sizeof (parent_path));
197 monza_get_bus_type(parent_path, &pci_card);
206 if (strcmp(parent_path, MONZA_NIU) == 0)
209 monza_get_slot_number(parent_path, &pci_card);
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c94 char parent_path[MAXSTRLEN]; local
127 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, parent_path,
128 sizeof (parent_path));
141 prop_size = sizeof (parent_path) + 1;
144 (void) strlcpy(root_path, parent_path, prop_size);
/osnet-11/usr/src/cmd/hal/hald/
H A Dutil.c126 gchar *parent_path; local
129 parent_path = g_strndup (path, HAL_PATH_MAX);
130 len = strlen (parent_path);
131 for (i = len - 1; parent_path[i] != '/'; --i) {
132 parent_path[i] = '\0';
134 parent_path[i] = '\0';
136 return parent_path;

Completed in 42 milliseconds