Home
last modified time | relevance | path

Searched refs:searchdirs (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c2819 char **searchdirs = NULL; in zpool_do_import() local
2864 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 …]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c6252 char **searchdirs = NULL; in main() local
6333 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()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c6952 char *searchdirs[nsearch]; in ztest_import() local
6962 searchdirs[0] = ztest_opts.zo_dir; in ztest_import()
6964 args.path = searchdirs; in ztest_import()