Searched refs:zpool_handle (Results 1 – 5 of 5) sorted by relevance
1005 zpool_handle_t *zpool_handle; in ztop() local1027 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()
107 struct zpool_handle { struct
172 typedef struct zpool_handle zpool_handle_t;
308 zpool_handle(zfs_handle_t *zhp) in zpool_handle() function483 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() local919 if (zpool_handle == NULL) in zfs_spa_version()922 *spa_version = zpool_get_prop_int(zpool_handle, in zfs_spa_version()
829 zpool_handle_t *zpool_handle; in zfs_do_create() local839 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()