Searched refs:zpool_hdl (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 78 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() 909 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 913 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 917 if ((realprops = zpool_valid_proplist(zhp->zpool_hdl, in zpool_set_prop() 931 zcmd_write_src_nvlist(zhp->zpool_hdl, &zc, nvl); in zpool_set_prop() 933 ret = zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_SET_PROPS, &zc); in zpool_set_prop() 939 (void) zpool_standard_error(zhp->zpool_hdl, errno, errbuf); in zpool_set_prop() 950 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist() 1123 entry = zfs_alloc(zhp->zpool_hdl, in vdev_expand_proplist() 1126 entry->pl_user_prop = zfs_strdup(zhp->zpool_hdl, in vdev_expand_proplist() [all …]
|
H A D | libzfs_impl.h | 79 zpool_handle_t *zpool_hdl; member 100 libzfs_handle_t *zpool_hdl; member
|
H A D | libzfs_dataset.c | 471 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common() 533 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc() 571 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup() 663 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle() 995 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() 1031 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() argument 1243 if (zpool_hdl != NULL) { in zfs_valid_proplist() 1244 maxbs = zpool_get_prop_int(zpool_hdl, in zfs_valid_proplist() 1261 if (zpool_hdl in zfs_valid_proplist() 4211 zpool_handle_t *zpool_hdl; zfs_snapshot_nvl() local [all...] |
H A D | libzfs_config.c | 254 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats() 265 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
|
H A D | libzfs_mount.c | 386 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL)) in zfs_mount_at() 1287 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name, in zpool_enable_datasets() 1305 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1316 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1360 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
|
H A D | libzfs_crypto.c | 1046 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) { in zfs_crypto_create() 1295 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_load_key() 1463 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_unload_key() 1570 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist() 1608 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_rewrap()
|
H A D | libzfs_sendrecv.c | 4187 zpool_handle_t *zpool_hdl = NULL; in zfs_setup_cmdline_props() local 4215 zpool_hdl = zpool_open(hdl, namebuf); in zfs_setup_cmdline_props() 4216 if (zpool_hdl == NULL) { in zfs_setup_cmdline_props() 4358 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_setup_cmdline_props() 4394 if (zpool_hdl != NULL) in zfs_setup_cmdline_props() 4395 zpool_close(zpool_hdl); in zfs_setup_cmdline_props()
|
H A D | libzfs_util.c | 1136 return (zhp->zpool_hdl); in zpool_get_handle() 1148 return (zhp->zpool_hdl); in zfs_get_pool_handle()
|
H A D | libzfs.abi | 2268 <var-decl name='zpool_hdl' type-id='4c81de99' visibility='default'/> 2303 <var-decl name='zpool_hdl' type-id='b0382bb3' visibility='default'/>
|
/freebsd/cddl/usr.sbin/zfsd/tests/ |
H A D | zfsd_unittest.cc | 81 libzfs_handle_t *zpool_hdl; member
|