Home
last modified time | relevance | path

Searched refs:zpool_hdl (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c71 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props()
962 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop()
966 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop()
970 if ((realprops = zpool_valid_proplist(zhp->zpool_hdl, in zpool_set_prop()
984 zcmd_write_src_nvlist(zhp->zpool_hdl, &zc, nvl); in zpool_set_prop()
986 ret = zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_SET_PROPS, &zc); in zpool_set_prop()
992 (void) zpool_standard_error(zhp->zpool_hdl, errno, errbuf); in zpool_set_prop()
1003 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist()
1176 entry = zfs_alloc(zhp->zpool_hdl, in vdev_expand_proplist()
1179 entry->pl_user_prop = zfs_strdup(zhp->zpool_hdl, in vdev_expand_proplist()
[all …]
H A Dlibzfs_impl.h64 zpool_handle_t *zpool_hdl; member
98 libzfs_handle_t *zpool_hdl; member
H A Dlibzfs_config.c214 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats()
225 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
H A Dlibzfs_mount.c420 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL)) in zfs_mount_at()
1323 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name, in zpool_enable_datasets()
1341 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets()
1352 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets()
1396 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
H A Dlibzfs_dataset.c462 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common()
524 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc()
562 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup()
654 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle()
802 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version()
838 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() argument
1049 if (zpool_hdl != NULL) { in zfs_valid_proplist()
1050 maxbs = zpool_get_prop_int(zpool_hdl, in zfs_valid_proplist()
1575 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), zhp, zhp->zpool_hdl, in zfs_prop_set_list_flags()
2379 char *poolname = zhp->zpool_hdl->zpool_name; in zcp_check()
[all …]
H A Dlibzfs_crypto.c1031 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) { in zfs_crypto_create()
1280 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_load_key()
1448 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_unload_key()
1572 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist()
1610 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_rewrap()
H A Dlibzfs_sendrecv.c4230 zpool_handle_t *zpool_hdl = NULL; in zfs_setup_cmdline_props() local
4258 zpool_hdl = zpool_open(hdl, namebuf); in zfs_setup_cmdline_props()
4259 if (zpool_hdl == NULL) { in zfs_setup_cmdline_props()
4401 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_setup_cmdline_props()
4437 if (zpool_hdl != NULL) in zfs_setup_cmdline_props()
4438 zpool_close(zpool_hdl); in zfs_setup_cmdline_props()
H A Dlibzfs_util.c1145 return (zhp->zpool_hdl); in zpool_get_handle()
1157 return (zhp->zpool_hdl); in zfs_get_pool_handle()
H A Dlibzfs.abi2618 <var-decl name='zpool_hdl' type-id='4c81de99' visibility='default'/>
2653 <var-decl name='zpool_hdl' type-id='b0382bb3' visibility='default'/>
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc81 libzfs_handle_t *zpool_hdl; member