Lines Matching refs:devfspath

861 	char	*devfspath = di_devfs_path(root);  in di_walk_minor()  local
862 DPRINTF((DI_INFO, "walking minor nodes under %s\n", devfspath)); in di_walk_minor()
863 di_devfs_path_free(devfspath); in di_walk_minor()
1137 char *full_path, *name, *devfspath; in di_devfs_minor_path() local
1147 devfspath = di_devfs_path(node); in di_devfs_minor_path()
1148 if (devfspath == NULL) in di_devfs_minor_path()
1152 full_path_len = strlen(devfspath) + strlen(name) + 2; in di_devfs_minor_path()
1156 devfspath, name); in di_devfs_minor_path()
1158 di_devfs_path_free(devfspath); in di_devfs_minor_path()
2579 char *devfspath = di_devfs_path(node); in di_walk_hp() local
2580 DPRINTF((DI_INFO, "walking hotplug nodes under %s\n", devfspath)); in di_walk_hp()
2581 di_devfs_path_free(devfspath); in di_walk_hp()
3605 char *devfspath = di_devfs_path(root); in di_walk_link() local
3607 (endpoint == DI_LINK_SRC) ? "src" : "tgt", devfspath)); in di_walk_link()
3608 di_devfs_path_free(devfspath); in di_walk_link()
3670 char *devfspath = di_devfs_path(root); in di_walk_lnode() local
3671 DPRINTF((DI_INFO, "walking lnode data under %s\n", devfspath)); in di_walk_lnode()
3672 di_devfs_path_free(devfspath); in di_walk_lnode()
3701 alias_to_curr(di_node_t anynode, char *devfspath, di_node_t *nodep) in alias_to_curr() argument
3715 if (anynode == DI_NODE_NIL || devfspath == NULL) in alias_to_curr()
3725 if (strncmp(devfspath, alias, strlen(alias)) == 0) { in alias_to_curr()
3726 cp = devfspath + strlen(alias); in alias_to_curr()
3747 di_lookup_node_impl(di_node_t root, char *devfspath) in di_lookup_node_impl() argument
3756 if (*devfspath != '/' || strstr(devfspath, "//")) { in di_lookup_node_impl()
3757 DPRINTF((DI_ERR, "Invalid path: %s\n", devfspath)); in di_lookup_node_impl()
3772 if ((copy = strdup(devfspath)) == NULL) { in di_lookup_node_impl()
3773 DPRINTF((DI_ERR, "strdup failed on: %s\n", devfspath)); in di_lookup_node_impl()
3836 di_lookup_node(di_node_t root, char *devfspath) in di_lookup_node() argument
3841 node = di_lookup_node_impl(root, devfspath); in di_lookup_node()
3847 curr = alias_to_curr(root, devfspath, &node); in di_lookup_node()
3880 di_lookup_path(di_node_t root, char *devfspath) in di_lookup_path() argument
3888 if ((copy = strdup(devfspath)) == NULL) { in di_lookup_path()
3889 DPRINTF((DI_ERR, "strdup failed on: %s\n", devfspath)); in di_lookup_path()
3894 DPRINTF((DI_ERR, "failed to find component: %s\n", devfspath)); in di_lookup_path()
3902 DPRINTF((DI_ERR, "failed to find component: %s\n", devfspath)); in di_lookup_path()
3909 DPRINTF((DI_ERR, "failed to find unit-addr: %s\n", devfspath)); in di_lookup_path()