Searched refs:searchdirs (Results 1 – 3 of 3) sorted by relevance
2819 char **searchdirs = NULL; in zpool_do_import() local2864 if (searchdirs == NULL) { in zpool_do_import()2865 searchdirs = safe_malloc(sizeof (char *)); in zpool_do_import()2869 bcopy(searchdirs, tmp, nsearch * in zpool_do_import()2871 free(searchdirs); in zpool_do_import()2872 searchdirs = tmp; in zpool_do_import()2874 searchdirs[nsearch++] = optarg; in zpool_do_import()2991 if (searchdirs == NULL) { in zpool_do_import()2992 searchdirs = safe_malloc(sizeof (char *)); in zpool_do_import()2993 searchdirs[0] = ZFS_DISK_ROOT; in zpool_do_import()[all …]
6252 char **searchdirs = NULL; in main() local6333 if (searchdirs == NULL) { in main()6334 searchdirs = umem_alloc(sizeof (char *), in main()6339 bcopy(searchdirs, tmp, nsearch * in main()6341 umem_free(searchdirs, in main()6343 searchdirs = tmp; in main()6345 searchdirs[nsearch++] = optarg; in main()6379 if (!dump_opt['e'] && searchdirs != NULL) { in main()6484 args.path = searchdirs; in main()
6952 char *searchdirs[nsearch]; in ztest_import() local6962 searchdirs[0] = ztest_opts.zo_dir; in ztest_import()6964 args.path = searchdirs; in ztest_import()