Home
last modified time | relevance | path

Searched refs:zph (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c179 zpool_handle_t *zph; in get_zfs_root() local
184 (zph = zpool_open(fs->gf_lzfh, name)) == NULL) in get_zfs_root()
187 if ((ret = zpool_get_physpath(zph, root->gr_physpath, in get_zfs_root()
189 (ret = zpool_get_prop(zph, ZPOOL_PROP_BOOTFS, in get_zfs_root()
202 zpool_close(zph); in get_zfs_root()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c78 zpool_handle_t *zph; in zfs_include_snapshots() local
83 zph = zfs_get_pool_handle(zhp); in zfs_include_snapshots()
84 return (zpool_get_prop_int(zph, ZPOOL_PROP_LISTSNAPS, NULL)); in zfs_include_snapshots()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c257 zpool_handle_t *zph; in zpool_add_handle() local
259 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) { in zpool_add_handle()
261 zph->zpool_next = hdl->libzfs_pool_handles; in zpool_add_handle()
262 hdl->libzfs_pool_handles = zph; in zpool_add_handle()
264 return (zph); in zpool_add_handle()
271 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle() local
273 while ((zph != NULL) && in zpool_find_handle()
274 (strncmp(pool_name, zpool_get_name(zph), len) != 0)) in zpool_find_handle()
275 zph = zph->zpool_next; in zpool_find_handle()
276 return (zph); in zpool_find_handle()
[all …]
H A Dlibzfs_crypto.c677 encryption_feature_is_enabled(zpool_handle_t *zph) in encryption_feature_is_enabled() argument
683 if (zpool_get_prop_int(zph, ZPOOL_PROP_VERSION, NULL) in encryption_feature_is_enabled()
688 features = zpool_get_features(zph); in encryption_feature_is_enabled()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c192 zpool_handle_t *zph; in be_get_boot_args() local
246 if ((zph = zpool_open(g_zfs, node->be_rpool)) == NULL) { in be_get_boot_args()
253 ret = zpool_get_physpath(zph, buf, sizeof (buf)); in be_get_boot_args()
254 zpool_close(zph); in be_get_boot_args()