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()
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()
1358 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_destroy()
1399 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_checkpoint()
1420 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_discard_checkpoint()
4272 return (no_memory(zhp->zpool_hdl)); in zpool_get_errlog()
[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.c526 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc()
539 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup()
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()
2545 char *poolname = zhp->zpool_hdl->zpool_name; in zcp_check()
2684 if ((zpool_get_prop(zhp->zpool_hdl, in zfs_prop_get()
3296 return (zhp->zpool_hdl->zpool_name); in zfs_get_pool_name()
4122 zpool_close(zpool_hdl); in zfs_snapshot_nvl()
[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()