Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/include/
H A Dlibzfs_impl.h98 struct zpool_handle { struct
H A Dlibzfs.h195 typedef struct zpool_handle zpool_handle_t;
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c294 zpool_handle(zfs_handle_t *zhp) in zpool_handle() function
471 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common()
535 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc()
641 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle()
970 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() local
972 if (zpool_handle == NULL) in zfs_spa_version()
975 *spa_version = zpool_get_prop_int(zpool_handle, in zfs_spa_version()
1597 zpool_handle_t *zph = zpool_handle(zhp); in zfs_add_synthetic_resv()
3617 zpool_handle_t *zpool_handle; in zfs_create() local
3672 zpool_close(zpool_handle); in zfs_create()
[all …]
H A Dlibzfs.abi817 …<class-decl name='zpool_handle' size-in-bits='2560' is-struct='yes' visibility='default' filepath=…
/f-stack/freebsd/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c1025 zpool_handle_t *zpool_handle = NULL; in zfs_do_create() local
1140 zpool_handle = zpool_open(g_zfs, argv[0]); in zfs_do_create()
1143 if (zpool_handle == NULL) in zfs_do_create()
1150 props, 0, NULL, zpool_handle, B_TRUE, msg)) == NULL) { in zfs_do_create()
1151 zpool_close(zpool_handle); in zfs_do_create()
1158 uint64_t volblocksize = default_volblocksize(zpool_handle, in zfs_do_create()
1190 spa_version = zpool_get_prop_int(zpool_handle, in zfs_do_create()
1197 volsize = zvol_volsize_to_reservation(zpool_handle, volsize, in zfs_do_create()
1209 if (zpool_handle != NULL) { in zfs_do_create()
1210 zpool_close(zpool_handle); in zfs_do_create()