Home
last modified time | relevance | path

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

/titanic_53/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_53/usr/src/lib/libzfs/common/
H A Dlibzfs_impl.h107 struct zpool_handle { struct
H A Dlibzfs_dataset.c309 zpool_handle(zfs_handle_t *zhp) in zpool_handle() function
484 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common()
638 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle()
918 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() local
920 if (zpool_handle == NULL) in zfs_spa_version()
923 *spa_version = zpool_get_prop_int(zpool_handle, in zfs_spa_version()
3308 zpool_handle_t *zpool_handle = zpool_open(hdl, pool_path); in zfs_create() local
3311 zoned, NULL, zpool_handle, errbuf)) == 0) { in zfs_create()
3312 zpool_close(zpool_handle); in zfs_create()
3315 zpool_close(zpool_handle); in zfs_create()
H A Dlibzfs.h173 typedef struct zpool_handle zpool_handle_t;
/titanic_53/usr/src/cmd/zfs/
H A Dzfs_main.c854 zpool_handle_t *zpool_handle; in zfs_do_create() local
864 zpool_handle = zpool_open(g_zfs, argv[0]); in zfs_do_create()
867 if (zpool_handle == NULL) in zfs_do_create()
869 spa_version = zpool_get_prop_int(zpool_handle, in zfs_do_create()
879 props, 0, NULL, zpool_handle, msg)) == NULL) { in zfs_do_create()
880 zpool_close(zpool_handle); in zfs_do_create()
883 zpool_close(zpool_handle); in zfs_do_create()