Lines Matching refs:root_path
287 strcmp(DI_ALL_PTR(st)->root_path, "/") == 0)
748 sizeof (((struct dinfo_io *)(NULL))->root_path); in di_ioctl()
772 sizeof (((struct dinfo_io *)(NULL))->root_path), &size) != 0) { in di_ioctl()
777 (void) strcpy(all->root_path, all->req_path); in di_ioctl()
806 arg += sizeof (((struct dinfo_io *)(NULL))->root_path); in di_ioctl()
1359 if (ddi_aliases_present == B_TRUE && strcmp(all->root_path, "/") != 0) { in di_snapshot()
1361 rootnode = ddi_alias_redirect(all->root_path); in di_snapshot()
1363 (void) ddi_pathname(rootnode, all->root_path); in di_snapshot()
1375 plen = strlen("devices/") + strlen(all->root_path) + 1; in di_snapshot()
1377 (void) snprintf(path, plen, "devices/%s", all->root_path); in di_snapshot()
1380 all->root_path)); in di_snapshot()
1390 rootnode = e_ddi_hold_devi_by_path(all->root_path, 0); in di_snapshot()
1393 all->root_path)); in di_snapshot()
3706 if (all->root_path[0] != '/' || all->root_path[1] != '\0') { in header_plus_one_ok()
3708 all->root_path[0], all->root_path[1])); in header_plus_one_ok()
3791 ASSERT(strcmp(all->root_path, "/") == 0); in di_cache_write()
4051 if (strcmp(DI_ALL_PTR(st)->root_path, "/") != 0) { in cache_args_valid()
4054 DI_ALL_PTR(st)->root_path)); in cache_args_valid()
4080 if (strcmp(DI_ALL_PTR(st)->root_path, "/") != 0) { in snapshot_is_cacheable()
4083 DI_ALL_PTR(st)->root_path)); in snapshot_is_cacheable()
4161 ASSERT(rval == 0 || strcmp(DI_ALL_PTR(st)->root_path, "/") == 0); in di_cache_lookup()