Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c79 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props()
740 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop()
744 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop()
748 if ((realprops = zpool_valid_proplist(zhp->zpool_hdl, in zpool_set_prop()
762 if (zcmd_write_src_nvlist(zhp->zpool_hdl, &zc, nvl) != 0) { in zpool_set_prop()
767 ret = zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_SET_PROPS, &zc); in zpool_set_prop()
773 (void) zpool_standard_error(zhp->zpool_hdl, errno, errbuf); in zpool_set_prop()
783 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist()
1056 zhp->zpool_hdl = hdl; in zpool_open_canfail()
1088 zhp->zpool_hdl = hdl; in zpool_open_silent()
[all …]
H A Dlibzfs_impl.h101 zpool_handle_t *zpool_hdl; member
121 libzfs_handle_t *zpool_hdl; member
H A Dlibzfs_mount.c358 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL)) in zfs_mount()
1527 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name, in zpool_enable_datasets()
1543 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets()
1555 if ((ret = zfs_init_libshare_arg(zhp->zpool_hdl, in zpool_enable_datasets()
1560 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets()
1599 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
H A Dlibzfs_config.c270 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats()
282 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
H A Dlibzfs_fru.c375 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_VDEV_SETFRU, &zc) != 0) in zpool_fru_set()
376 return (zpool_standard_error_fmt(zhp->zpool_hdl, errno, in zpool_fru_set()
H A Dlibzfs_dataset.c462 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) in make_dataset_handle_common()
526 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc()
539 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup()
632 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) { in make_bookmark_handle()
924 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version()
960 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() argument
1162 if (zpool_hdl != NULL) { in zfs_valid_proplist()
1163 maxbs = zpool_get_prop_int(zpool_hdl, in zfs_valid_proplist()
1191 if (zpool_hdl != NULL) { in zfs_valid_proplist()
1198 if (zpool_prop_get_feature(zpool_hdl, in zfs_valid_proplist()
[all …]
H A Dlibzfs_crypto.c896 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) { in zfs_crypto_create()
1138 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_load_key()
1298 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_unload_key()
1401 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist()
1437 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_rewrap()
H A Dlibzfs_util.c766 return (zhp->zpool_hdl); in zpool_get_handle()
778 return (zhp->zpool_hdl); in zfs_get_pool_handle()
H A Dlibzfs_sendrecv.c3458 zpool_handle_t *zpool_hdl = NULL; in zfs_setup_cmdline_props() local
3486 zpool_hdl = zpool_open(hdl, namebuf); in zfs_setup_cmdline_props()
3487 if (zpool_hdl == NULL) { in zfs_setup_cmdline_props()
3595 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_setup_cmdline_props()
3630 if (zpool_hdl != NULL) in zfs_setup_cmdline_props()
3631 zpool_close(zpool_hdl); in zfs_setup_cmdline_props()