Searched refs:zpool_hdl (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 79 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() 910 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 914 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 918 if ((realprops = zpool_valid_proplist(zhp->zpool_hdl, in zpool_set_prop() 932 zcmd_write_src_nvlist(zhp->zpool_hdl, &zc, nvl); in zpool_set_prop() 934 ret = zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_SET_PROPS, &zc); in zpool_set_prop() 940 (void) zpool_standard_error(zhp->zpool_hdl, errno, errbuf); in zpool_set_prop() 951 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist() 1124 entry = zfs_alloc(zhp->zpool_hdl, in vdev_expand_proplist() 1127 entry->pl_user_prop = zfs_strdup(zhp->zpool_hdl, in vdev_expand_proplist() [all …]
|
H A D | libzfs_impl.h | 80 zpool_handle_t *zpool_hdl; member 101 libzfs_handle_t *zpool_hdl; member
|
H A D | libzfs_dataset.c | 472 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common() 534 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc() 572 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup() 664 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle() 996 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() 1032 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() argument 1244 if (zpool_hdl != NULL) { in zfs_valid_proplist() 1245 maxbs = zpool_get_prop_int(zpool_hdl, in zfs_valid_proplist() 1262 if (zpool_hdl == NULL && prop == ZFS_PROP_RECORDSIZE) { in zfs_valid_proplist() 1274 if (zpool_hdl != NULL) { in zfs_valid_proplist() [all …]
|
H A D | libzfs_config.c | 255 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats() 266 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
|
H A D | libzfs_mount.c | 387 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL)) in zfs_mount_at() 1288 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name, in zpool_enable_datasets() 1306 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1317 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1361 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
|
H A D | libzfs_crypto.c | 1047 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) { in zfs_crypto_create() 1296 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_load_key() 1464 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_unload_key() 1571 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist() 1609 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_rewrap()
|
H A D | libzfs_sendrecv.c | 4200 zpool_handle_t *zpool_hdl = NULL; in zfs_setup_cmdline_props() local 4228 zpool_hdl = zpool_open(hdl, namebuf); in zfs_setup_cmdline_props() 4229 if (zpool_hdl == NULL) { in zfs_setup_cmdline_props() 4371 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_setup_cmdline_props() 4407 if (zpool_hdl != NULL) in zfs_setup_cmdline_props() 4408 zpool_close(zpool_hdl); in zfs_setup_cmdline_props()
|
H A D | libzfs_util.c | 1138 return (zhp->zpool_hdl); in zpool_get_handle() 1150 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
|