Searched refs:zpool_hdl (Results 1 – 10 of 10) sorted by relevance
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 80 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() 971 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 975 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 979 if ((realprops = zpool_valid_proplist(zhp->zpool_hdl, in zpool_set_prop() 993 zcmd_write_src_nvlist(zhp->zpool_hdl, &zc, nvl); in zpool_set_prop() 995 ret = zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_SET_PROPS, &zc); in zpool_set_prop() 1001 (void) zpool_standard_error(zhp->zpool_hdl, errno, errbuf); in zpool_set_prop() 1012 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist() 1185 entry = zfs_alloc(zhp->zpool_hdl, in vdev_expand_proplist() 1188 entry->pl_user_prop = zfs_strdup(zhp->zpool_hdl, in vdev_expand_proplist() [all …]
|
| H A D | libzfs_impl.h | 74 zpool_handle_t *zpool_hdl; member 108 libzfs_handle_t *zpool_hdl; member
|
| H A D | libzfs_config.c | 224 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats() 235 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
|
| H A D | libzfs_mount.c | 430 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL)) in zfs_mount_at() 1333 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name, in zpool_enable_datasets() 1351 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1362 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1406 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
|
| 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() 812 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() 848 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() argument 1059 if (zpool_hdl != NULL) { in zfs_valid_proplist() 1060 maxbs = zpool_get_prop_int(zpool_hdl, in zfs_valid_proplist() 1585 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), zhp, zhp->zpool_hdl, in zfs_prop_set_list_flags() 2389 char *poolname = zhp->zpool_hdl->zpool_name; in zcp_check() [all …]
|
| H A D | libzfs_crypto.c | 1049 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) { in zfs_crypto_create() 1298 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_load_key() 1466 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_unload_key() 1590 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist() 1628 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_rewrap()
|
| H A D | libzfs_sendrecv.c | 4217 zpool_handle_t *zpool_hdl = NULL; in zfs_setup_cmdline_props() local 4245 zpool_hdl = zpool_open(hdl, namebuf); in zfs_setup_cmdline_props() 4246 if (zpool_hdl == NULL) { in zfs_setup_cmdline_props() 4388 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_setup_cmdline_props() 4424 if (zpool_hdl != NULL) in zfs_setup_cmdline_props() 4425 zpool_close(zpool_hdl); in zfs_setup_cmdline_props()
|
| H A D | libzfs_util.c | 1155 return (zhp->zpool_hdl); in zpool_get_handle() 1167 return (zhp->zpool_hdl); in zfs_get_pool_handle()
|
| H A D | libzfs.abi | 2614 <var-decl name='zpool_hdl' type-id='4c81de99' visibility='default'/> 2649 <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
|