Searched refs:g_zfs (Results 1 - 12 of 12) sorted by relevance
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_util.h | 36 libzfs_handle_t *g_zfs; variable
|
H A D | zfs_main.c | 80 libzfs_handle_t *g_zfs; variable 675 if ((zhp = zfs_open(g_zfs, argv[0], ZFS_TYPE_SNAPSHOT)) == NULL) 685 if (zfs_dataset_exists(g_zfs, argv[1], ZFS_TYPE_FILESYSTEM | 688 if (zfs_create_ancestors(g_zfs, argv[1]) != 0) 699 clone = zfs_open(g_zfs, argv[1], ZFS_TYPE_DATASET); 774 if (zfs_nicestrtonum(g_zfs, optarg, &intval) != 0) { 777 libzfs_error_description(g_zfs)); 791 if (zfs_nicestrtonum(g_zfs, optarg, &intval) != 0) { 794 libzfs_error_description(g_zfs)); 860 zpool_handle = zpool_open(g_zfs, arg [all...] |
H A D | zfs_iter.c | 441 ret = zfs_iter_root(g_zfs, zfs_callback, &cb); 461 zhp = zfs_path_to_zhandle(g_zfs, argv[i], 464 zhp = zfs_open(g_zfs, argv[i], argtype);
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | zinject.h | 64 extern libzfs_handle_t *g_zfs;
|
H A D | zinject.c | 157 libzfs_handle_t *g_zfs; variable 683 if ((g_zfs = libzfs_init()) == NULL) { 689 libzfs_print_on_error(g_zfs, B_TRUE); 1076 if ((zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET)) == NULL) 1090 libzfs_fini(g_zfs);
|
H A D | translate.c | 442 if ((zhp = zpool_open(g_zfs, pool)) == NULL)
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_util.h | 66 libzfs_handle_t *g_zfs; variable
|
H A D | zpool_iter.c | 128 (void) zpool_iter(g_zfs, add_pool, zlp); 136 if ((zhp = zpool_open_canfail(g_zfs, argv[i])) != 158 (void) zpool_iter(g_zfs, add_pool, zlp);
|
H A D | zpool_main.c | 388 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE); 539 if ((zhp = zpool_open(g_zfs, poolname)) == NULL) 617 if ((zhp = zpool_open(g_zfs, poolname)) == NULL) 714 ret = zpool_in_use(g_zfs, fd, &state, &name, &inuse); 1062 if (zpool_create(g_zfs, poolname, 1064 zfs_handle_t *pool = zfs_open(g_zfs, poolname, 1071 } else if (libzfs_errno(g_zfs) == EZFS_INVALIDNAME) { 1133 if ((zhp = zpool_open_canfail(g_zfs, pool)) == NULL) { 1206 if ((zhp = zpool_open_canfail(g_zfs, argv[i])) == NULL) { 1240 char *name = zpool_vdev_name(g_zfs, zh [all...] |
H A D | zpool_vdev.c | 306 if (zpool_in_use(g_zfs, fd, &state, &name, &inuse) == 0 && inuse) { 964 if (zpool_label_disk(g_zfs, zhp, diskname) == -1) 1044 if (zpool_in_use(g_zfs, fd, &state, &name, &inuse) != 0 ||
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zhack/ |
H A D | zhack.c | 58 libzfs_handle_t *g_zfs; variable 137 g_zfs = libzfs_init(); 138 ASSERT(g_zfs != NULL); 160 pools = zpool_search_import(g_zfs, &g_importargs); 165 if (zpool_search_import(g_zfs, &g_importargs) != NULL || 565 libzfs_fini(g_zfs);
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 96 static libzfs_handle_t *g_zfs; variable 3498 pools = zpool_search_import(g_zfs, &args); 3661 g_zfs = libzfs_init(); 3662 if (g_zfs == NULL) 3804 libzfs_fini(g_zfs);
|
Completed in 85 milliseconds