Lines Matching defs:path
197 char *path = NULL;
228 * Calculate the device path for this root complex node.
230 path = pi_get_path(mod, mdp, mde_node);
231 if (path == NULL) {
233 /* "path" not required for hostbridge */
236 topo_mod_dprintf(mod, "%s node_0x%llx has no path\n",
244 devfmri = topo_mod_devfmri(mod, FM_DEV_SCHEME_VERSION, path, NULL);
285 TOPO_PROP_IMMUTABLE, path, &err);
306 * Derived the driver name from the device path.
308 dnode = di_init(path, DIIOC);
406 if (path != NULL) {
407 topo_mod_strfree(mod, path);
422 char *path;
432 * Find the PRI node path property. This will be used to associate
435 path = pi_get_path(mod, mdp, mde_node);
436 if (path == NULL) {
437 topo_mod_dprintf(mod, "node_0x%llx has no path\n",
444 * the given PRI node. Equality is defined when the PRI path
445 * is the same as the device node path.
453 if (strncmp(devfs_path, path, strlen(path)) == 0) {
463 topo_mod_dprintf(mod, "%s node_0x%llx found dev path %s\n",
464 _ENUM_NAME, (uint64_t)mde_node, path);
473 topo_mod_strfree(mod, path);