Searched refs:zph (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 179 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 D | zfs_iter.c | 78 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 D | libzfs_dataset.c | 257 zpool_handle_t *zph; in zpool_add_handle() local 264 return (zph); in zpool_add_handle() 273 while ((zph != NULL) && in zpool_find_handle() 275 zph = zph->zpool_next; in zpool_find_handle() 276 return (zph); in zpool_find_handle() 289 zpool_handle_t *zph; in zpool_handle() local 296 if (zph == NULL) in zpool_handle() 300 return (zph); in zpool_handle() 308 while (zph != NULL) { in zpool_free_handles() 310 zpool_close(zph); in zpool_free_handles() [all …]
|
H A D | libzfs_crypto.c | 677 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 D | be_utils.c | 192 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()
|