Home
last modified time | relevance | path

Searched refs:zpool_handle (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/power/
H A Dhandlers.c1005 zpool_handle_t *zpool_handle; in ztop() local
1027 if ((zpool_handle = zpool_open(lzfs, pool_name)) == NULL) { in ztop()
1032 config = zpool_get_config(zpool_handle, NULL); in ztop()
1035 zpool_close(zpool_handle); in ztop()
1043 zpool_close(zpool_handle); in ztop()
1047 vname = zpool_vdev_name(lzfs, zpool_handle, child[0], B_FALSE); in ztop()
1050 zpool_close(zpool_handle); in ztop()
1057 zpool_close(zpool_handle); in ztop()
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_impl.h107 struct zpool_handle { struct
H A Dlibzfs.h172 typedef struct zpool_handle zpool_handle_t;
H A Dlibzfs_dataset.c308 zpool_handle(zfs_handle_t *zhp) in zpool_handle() function
483 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common()
637 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle()
917 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() local
919 if (zpool_handle == NULL) in zfs_spa_version()
922 *spa_version = zpool_get_prop_int(zpool_handle, in zfs_spa_version()
/titanic_44/usr/src/cmd/zfs/
H A Dzfs_main.c829 zpool_handle_t *zpool_handle; in zfs_do_create() local
839 zpool_handle = zpool_open(g_zfs, argv[0]); in zfs_do_create()
842 if (zpool_handle == NULL) in zfs_do_create()
844 spa_version = zpool_get_prop_int(zpool_handle, in zfs_do_create()
846 zpool_close(zpool_handle); in zfs_do_create()