Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_dataset.c357 populate_PoolBean(JNIEnv *env, zpool_handle_t *zphp, zfs_handle_t *zhp, in populate_PoolBean() argument
364 nvlist_t *devices = zjni_get_root_vdev(zphp); in populate_PoolBean()
375 zpool_get_prop_int(zphp, ZPOOL_PROP_SIZE, NULL)); in populate_PoolBean()
380 env, zpool_get_state(zphp))); in populate_PoolBean()
385 zpool_get_status(zphp, &msgid, NULL))); in populate_PoolBean()
389 zpool_get_prop_int(zphp, ZPOOL_PROP_VERSION, NULL)); in populate_PoolBean()
398 (char *)zpool_get_name(zphp), in populate_PoolBean()
442 create_PoolBean(JNIEnv *env, zpool_handle_t *zphp, zfs_handle_t *zhp) in create_PoolBean() argument
451 result = populate_PoolBean(env, zphp, zhp, bean); in create_PoolBean()
610 zjni_create_add_Pool(zpool_handle_t *zphp, void *data) in zjni_create_add_Pool() argument
[all …]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_activate.c932 be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1, in be_do_installboot_helper() argument
992 vname = zpool_vdev_name(g_zfs, zphp, child, B_FALSE); in be_do_installboot_helper()
1267 be_do_installboot_walk(zpool_handle_t *zphp, nvlist_t *nv, char *stage1, in be_do_installboot_walk() argument
1284 vname = zpool_vdev_name(g_zfs, zphp, child[c], verbose); in be_do_installboot_walk()
1295 rv = be_do_installboot_walk(zphp, child[c], stage1, stage2, in be_do_installboot_walk()
1318 return (be_do_installboot_helper(zphp, nv, stage1, stage2, flags)); in be_do_installboot_walk()
1340 zpool_handle_t *zphp = NULL; in be_do_installboot() local
1413 if ((zphp = zpool_open(g_zfs, bt->obe_zpool)) == NULL) { in be_do_installboot()
1424 if ((config = zpool_get_config(zphp, NULL)) == NULL) { in be_do_installboot()
1442 ret = be_do_installboot_walk(zphp, nv, stage1, stage2, flags); in be_do_installboot()
[all …]
H A Dbe_list.c228 zpool_handle_t *zphp; in _be_list() local
258 if ((zphp = zpool_open(g_zfs, rpool)) == NULL) { in _be_list()
266 ret = be_get_list_callback(zphp, &cb); in _be_list()
1008 zpool_handle_t *zphp = NULL; in be_get_node_data() local
1050 if ((zphp = zpool_open(g_zfs, rpool)) == NULL) { in be_get_node_data()
1067 (void) zpool_get_prop(zphp, ZPOOL_PROP_BOOTFS, prop_buf, in be_get_node_data()
1084 zpool_close(zphp); in be_get_node_data()
H A Dbe_snapshot.c256 zpool_handle_t *zphp; in be_rollback() local
300 if ((zphp = zpool_open(g_zfs, bt.obe_zpool)) == NULL) { in be_rollback()
306 zret = be_find_zpool_callback(zphp, &bt); in be_rollback()
H A Dbe_create.c640 zpool_handle_t *zphp = NULL; in be_copy() local
688 if ((zphp = zpool_open(g_zfs, bt.obe_zpool)) == NULL) { in be_copy()
694 if (be_find_zpool_callback(zphp, &bt) == 0) { in be_copy()