Searched refs:zph (Results 1 – 3 of 3) sorted by relevance
/titanic_44/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()
|
/titanic_44/usr/src/cmd/zfs/ |
H A D | zfs_iter.c | 77 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_44/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 280 zpool_handle_t *zph; in zpool_add_handle() local 282 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) { in zpool_add_handle() 284 zph->zpool_next = hdl->libzfs_pool_handles; in zpool_add_handle() 285 hdl->libzfs_pool_handles = zph; in zpool_add_handle() 287 return (zph); in zpool_add_handle() 294 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle() local 296 while ((zph != NULL) && in zpool_find_handle() 297 (strncmp(pool_name, zpool_get_name(zph), len) != 0)) in zpool_find_handle() 298 zph = zph->zpool_next; in zpool_find_handle() 299 return (zph); in zpool_find_handle() [all …]
|