Searched defs:zpool_handle (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_impl.h105 struct zpool_handle { struct
H A Dlibzfs_dataset.c279 zpool_handle(zfs_handle_t *zhp) function
454 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL)
518 zhp->zpool_hdl = zpool_handle(zhp);
624 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) {
906 zpool_handle_t *zpool_handle = zhp->zpool_hdl; local
908 if (zpool_handle == NULL)
911 *spa_version = zpool_get_prop_int(zpool_handle,
3313 zpool_handle_t *zpool_handle = zpool_open(hdl, pool_path); local
3316 zoned, NULL, zpool_handle, errbuf)) == 0) {
3317 zpool_close(zpool_handle);
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c1005 zpool_handle_t *zpool_handle; local
1027 if ((zpool_handle = zpool_open(lzfs, pool_name)) == NULL) {
1032 config = zpool_get_config(zpool_handle, NULL);
1035 zpool_close(zpool_handle);
1043 zpool_close(zpool_handle);
1047 vname = zpool_vdev_name(lzfs, zpool_handle, child[0], B_FALSE);
1050 zpool_close(zpool_handle);
1057 zpool_close(zpool_handle);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c822 zpool_handle_t *zpool_handle; local
832 zpool_handle = zpool_open(g_zfs, argv[0]);
835 if (zpool_handle == NULL)
837 spa_version = zpool_get_prop_int(zpool_handle,
847 props, 0, NULL, zpool_handle, msg)) == NULL) {
848 zpool_close(zpool_handle);
851 zpool_close(zpool_handle);

Completed in 86 milliseconds