Searched refs:zpool_hdl (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 78 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() 864 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 868 return (no_memory(zhp->zpool_hdl)); in zpool_set_prop() 905 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_expand_proplist() 1078 entry = zfs_alloc(zhp->zpool_hdl, in vdev_expand_proplist() 1275 zhp->zpool_hdl = hdl; in zpool_open_canfail() 1306 zhp->zpool_hdl = hdl; in zpool_open_silent() 4407 buf = zfs_alloc(zhp->zpool_hdl, in zpool_get_errlog() 4475 return (no_memory(zhp->zpool_hdl)); in zpool_get_errlog() 4772 if (zfs_ioctl(zhp->zpool_hdl, in zpool_obj_to_path_impl() [all …]
|
H A D | libzfs_impl.h | 79 zpool_handle_t *zpool_hdl; member 99 libzfs_handle_t *zpool_hdl; member
|
H A D | libzfs_dataset.c | 533 zhp->zpool_hdl = zpool_handle(zhp); in make_dataset_simple_handle_zc() 571 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup() 1243 if (zpool_hdl != NULL) { in zfs_valid_proplist() 1273 if (zpool_hdl != NULL) { in zfs_valid_proplist() 2751 if ((zpool_get_prop(zhp->zpool_hdl, in zfs_prop_get() 3426 return (zhp->zpool_hdl->zpool_name); in zfs_get_pool_name() 4211 zpool_handle_t *zpool_hdl; in zfs_snapshot_nvl() local 4240 zpool_hdl = zpool_open(hdl, pool); in zfs_snapshot_nvl() 4241 if (zpool_hdl == NULL) in zfs_snapshot_nvl() 4247 zpool_close(zpool_hdl); in zfs_snapshot_nvl() [all …]
|
H A D | libzfs_config.c | 254 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_refresh_stats() 265 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
|
H A D | libzfs_mount.c | 386 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL)) in zfs_mount_at() 1287 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name, in zpool_enable_datasets() 1305 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1316 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used, in zpool_enable_datasets() 1360 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_disable_datasets()
|
H A D | libzfs_crypto.c | 1046 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) { in zfs_crypto_create() 1295 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_load_key() 1463 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_unload_key() 1570 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist() 1608 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) { in zfs_crypto_rewrap()
|
H A D | libzfs_sendrecv.c | 4181 zpool_handle_t *zpool_hdl = NULL; in zfs_setup_cmdline_props() local 4209 zpool_hdl = zpool_open(hdl, namebuf); in zfs_setup_cmdline_props() 4210 if (zpool_hdl == NULL) { in zfs_setup_cmdline_props() 4352 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_setup_cmdline_props() 4388 if (zpool_hdl != NULL) in zfs_setup_cmdline_props() 4389 zpool_close(zpool_hdl); in zfs_setup_cmdline_props()
|
H A D | libzfs_util.c | 1135 return (zhp->zpool_hdl); in zpool_get_handle() 1147 return (zhp->zpool_hdl); in zfs_get_pool_handle()
|
H A D | libzfs.abi | 2066 <var-decl name='zpool_hdl' type-id='4c81de99' visibility='default'/> 2101 <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
|