Lines Matching refs:devfspath

927 	char	*devfspath = di_devfs_path(root);
928 DPRINTF((DI_INFO, "walking minor nodes under %s\n", devfspath));
929 di_devfs_path_free(devfspath);
1211 char *full_path, *name, *devfspath;
1221 devfspath = di_devfs_path(node);
1222 if (devfspath == NULL)
1226 full_path_len = strlen(devfspath) + strlen(name) + 2;
1230 devfspath, name);
1232 di_devfs_path_free(devfspath);
2761 char *devfspath = di_devfs_path(node);
2762 DPRINTF((DI_INFO, "walking hotplug nodes under %s\n", devfspath));
2763 di_devfs_path_free(devfspath);
3838 char *devfspath = di_devfs_path(root);
3840 (endpoint == DI_LINK_SRC) ? "src" : "tgt", devfspath));
3841 di_devfs_path_free(devfspath);
3903 char *devfspath = di_devfs_path(root);
3904 DPRINTF((DI_INFO, "walking lnode data under %s\n", devfspath));
3905 di_devfs_path_free(devfspath);
3934 alias_to_curr(di_node_t anynode, char *devfspath, di_node_t *nodep)
3948 if (anynode == DI_NODE_NIL || devfspath == NULL)
3958 if (strncmp(devfspath, alias, strlen(alias)) == 0) {
3959 cp = devfspath + strlen(alias);
3980 di_lookup_node_impl(di_node_t root, char *devfspath)
3989 if (*devfspath != '/' || strstr(devfspath, "//")) {
3990 DPRINTF((DI_ERR, "Invalid path: %s\n", devfspath));
4005 if ((copy = strdup(devfspath)) == NULL) {
4006 DPRINTF((DI_ERR, "strdup failed on: %s\n", devfspath));
4013 * Handle devfspath = "/" case as well as trailing '/'
4069 di_lookup_node(di_node_t root, char *devfspath)
4074 node = di_lookup_node_impl(root, devfspath);
4080 curr = alias_to_curr(root, devfspath, &node);
4113 di_lookup_path(di_node_t root, char *devfspath)
4121 if ((copy = strdup(devfspath)) == NULL) {
4122 DPRINTF((DI_ERR, "strdup failed on: %s\n", devfspath));
4127 DPRINTF((DI_ERR, "failed to find component: %s\n", devfspath));
4135 DPRINTF((DI_ERR, "failed to find component: %s\n", devfspath));
4142 DPRINTF((DI_ERR, "failed to find unit-addr: %s\n", devfspath));