Searched refs:zph (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c179 zpool_handle_t *zph; local
184 (zph = zpool_open(fs->gf_lzfh, name)) == NULL)
187 if ((ret = zpool_get_physpath(zph, root->gr_physpath,
189 (ret = zpool_get_prop(zph, ZPOOL_PROP_BOOTFS,
202 zpool_close(zph);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c78 zpool_handle_t *zph; local
83 zph = zfs_get_pool_handle(zhp);
84 return (zpool_get_prop_int(zph, ZPOOL_PROP_LISTSNAPS, NULL));
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c251 zpool_handle_t *zph; local
253 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) {
255 zph->zpool_next = hdl->libzfs_pool_handles;
256 hdl->libzfs_pool_handles = zph;
258 return (zph);
265 zpool_handle_t *zph = hdl->libzfs_pool_handles; local
267 while ((zph != NULL) &&
268 (strncmp(pool_name, zpool_get_name(zph), len) != 0))
269 zph = zph
283 zpool_handle_t *zph; local
300 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles; local
[all...]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c190 zpool_handle_t *zph; local
244 if ((zph = zpool_open(g_zfs, node->be_rpool)) == NULL) {
251 ret = zpool_get_physpath(zph, buf, sizeof (buf));
252 zpool_close(zph);

Completed in 177 milliseconds