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

/freebsd-current/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c78 libzfs_handle_t *hdl = zhp->zpool_hdl;
864 return (no_memory(zhp->zpool_hdl));
868 return (no_memory(zhp->zpool_hdl));
872 if ((realprops = zpool_valid_proplist(zhp->zpool_hdl,
886 zcmd_write_src_nvlist(zhp->zpool_hdl, &zc, nvl);
888 ret = zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_SET_PROPS, &zc);
894 (void) zpool_standard_error(zhp->zpool_hdl, errno, errbuf);
905 libzfs_handle_t *hdl = zhp->zpool_hdl;
1078 entry = zfs_alloc(zhp->zpool_hdl,
1081 entry->pl_user_prop = zfs_strdup(zhp->zpool_hdl,
[all...]
H A Dlibzfs_impl.h79 zpool_handle_t *zpool_hdl; member in struct:zfs_handle
99 libzfs_handle_t *zpool_hdl; member in struct:zpool_handle
H A Dlibzfs_config.c254 libzfs_handle_t *hdl = zhp->zpool_hdl;
265 if (zfs_ioctl(zhp->zpool_hdl, ZFS_IOC_POOL_STATS,
H A Dlibzfs_dataset.c471 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL)
533 zhp->zpool_hdl = zpool_handle(zhp);
571 zhp->zpool_hdl = zhp_orig->zpool_hdl;
663 if ((zhp->zpool_hdl = zpool_handle(zhp)) == NULL) {
995 zpool_handle_t *zpool_handle = zhp->zpool_hdl;
1031 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl,
1243 if (zpool_hdl != NULL) {
1244 maxbs = zpool_get_prop_int(zpool_hdl,
1261 if (zpool_hdl
1030 zfs_valid_proplist(libzfs_handle_t *hdl, zfs_type_t type, nvlist_t *nvl, uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, boolean_t key_params_ok, const char *errbuf) argument
4211 zpool_handle_t *zpool_hdl; local
[all...]
H A Dlibzfs_mount.c386 if (zpool_get_prop_int(zhp->zpool_hdl, ZPOOL_PROP_READONLY, NULL))
1287 if ((zfsp = zfs_open(zhp->zpool_hdl, zhp->zpool_name,
1305 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used,
1316 zfs_foreach_mountpoint(zhp->zpool_hdl, cb.cb_handles, cb.cb_used,
1360 libzfs_handle_t *hdl = zhp->zpool_hdl;
H A Dlibzfs_crypto.c1046 if (!encryption_feature_is_enabled(pzhp->zpool_hdl)) {
1295 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) {
1463 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) {
1570 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl,
1608 if (!encryption_feature_is_enabled(zhp->zpool_hdl)) {
H A Dlibzfs_sendrecv.c4181 zpool_handle_t *zpool_hdl = NULL; local
4209 zpool_hdl = zpool_open(hdl, namebuf);
4210 if (zpool_hdl == NULL) {
4352 oprops, zoned, zhp, zpool_hdl, B_FALSE, errbuf)) == NULL) {
4388 if (zpool_hdl != NULL)
4389 zpool_close(zpool_hdl);
H A Dlibzfs_util.c1135 return (zhp->zpool_hdl);
1147 return (zhp->zpool_hdl);
/freebsd-current/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc81 libzfs_handle_t *zpool_hdl; member in struct:zpool_handle

Completed in 405 milliseconds