Lines Matching defs:devfspath

859 	char	*devfspath = di_devfs_path(root);
860 DPRINTF((DI_INFO, "walking minor nodes under %s\n", devfspath));
861 di_devfs_path_free(devfspath);
1135 char *full_path, *name, *devfspath;
1145 devfspath = di_devfs_path(node);
1146 if (devfspath == NULL)
1150 full_path_len = strlen(devfspath) + strlen(name) + 2;
1154 devfspath, name);
1156 di_devfs_path_free(devfspath);
2577 char *devfspath = di_devfs_path(node);
2578 DPRINTF((DI_INFO, "walking hotplug nodes under %s\n", devfspath));
2579 di_devfs_path_free(devfspath);
3603 char *devfspath = di_devfs_path(root);
3605 (endpoint == DI_LINK_SRC) ? "src" : "tgt", devfspath));
3606 di_devfs_path_free(devfspath);
3668 char *devfspath = di_devfs_path(root);
3669 DPRINTF((DI_INFO, "walking lnode data under %s\n", devfspath));
3670 di_devfs_path_free(devfspath);
3699 alias_to_curr(di_node_t anynode, char *devfspath, di_node_t *nodep)
3713 if (anynode == DI_NODE_NIL || devfspath == NULL)
3723 if (strncmp(devfspath, alias, strlen(alias)) == 0) {
3724 cp = devfspath + strlen(alias);
3745 di_lookup_node_impl(di_node_t root, char *devfspath)
3754 if (*devfspath != '/' || strstr(devfspath, "//")) {
3755 DPRINTF((DI_ERR, "Invalid path: %s\n", devfspath));
3770 if ((copy = strdup(devfspath)) == NULL) {
3771 DPRINTF((DI_ERR, "strdup failed on: %s\n", devfspath));
3778 * Handle devfspath = "/" case as well as trailing '/'
3834 di_lookup_node(di_node_t root, char *devfspath)
3839 node = di_lookup_node_impl(root, devfspath);
3845 curr = alias_to_curr(root, devfspath, &node);
3878 di_lookup_path(di_node_t root, char *devfspath)
3886 if ((copy = strdup(devfspath)) == NULL) {
3887 DPRINTF((DI_ERR, "strdup failed on: %s\n", devfspath));
3892 DPRINTF((DI_ERR, "failed to find component: %s\n", devfspath));
3900 DPRINTF((DI_ERR, "failed to find component: %s\n", devfspath));
3907 DPRINTF((DI_ERR, "failed to find unit-addr: %s\n", devfspath));