Home
last modified time | relevance | path

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

/titanic_50/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()
/titanic_50/usr/src/cmd/zfs/
H A Dzfs_iter.c77 zpool_handle_t *zph; in zfs_include_snapshots() local
82 zph = zfs_get_pool_handle(zhp); in zfs_include_snapshots()
83 return (zpool_get_prop_int(zph, ZPOOL_PROP_LISTSNAPS, NULL)); in zfs_include_snapshots()
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c281 zpool_handle_t *zph; in zpool_add_handle() local
283 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) { in zpool_add_handle()
285 zph->zpool_next = hdl->libzfs_pool_handles; in zpool_add_handle()
286 hdl->libzfs_pool_handles = zph; in zpool_add_handle()
288 return (zph); in zpool_add_handle()
295 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle() local
297 while ((zph != NULL) && in zpool_find_handle()
298 (strncmp(pool_name, zpool_get_name(zph), len) != 0)) in zpool_find_handle()
299 zph = zph->zpool_next; in zpool_find_handle()
300 return (zph); in zpool_find_handle()
[all …]