Home
last modified time | relevance | path

Searched refs:zpool_handle_t (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs.h205 typedef struct zpool_handle zpool_handle_t; typedef
240 extern void zpool_close(zpool_handle_t *);
241 extern const char *zpool_get_name(zpool_handle_t *);
242 extern int zpool_get_state(zpool_handle_t *);
250 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
260 extern int zpool_add(zpool_handle_t *, nvlist_t *);
292 extern int zpool_reguid(zpool_handle_t *);
293 extern int zpool_reopen(zpool_handle_t *);
295 extern int zpool_sync_one(zpool_handle_t *, void *);
409 extern boolean_t zpool_is_bootable(zpool_handle_t *);
[all …]
H A Dlibzfs_pool.c455 zpool_handle_t *zhp; in zpool_valid_proplist()
1037 zpool_handle_t *
1040 zpool_handle_t *zhp; in zpool_open_canfail()
1082 zpool_handle_t *zhp; in zpool_open_silent()
1110 zpool_handle_t *
1113 zpool_handle_t *zhp; in zpool_open()
1132 zpool_close(zpool_handle_t *zhp) in zpool_close()
2020 zpool_handle_t *zhp; in zpool_import_props()
3760 zpool_reguid(zpool_handle_t *zhp) in zpool_reguid()
3780 zpool_reopen(zpool_handle_t *zhp) in zpool_reopen()
[all …]
H A Dlibzfs_impl.h69 zpool_handle_t *libzfs_pool_handles;
101 zpool_handle_t *zpool_hdl;
122 zpool_handle_t *zpool_next;
251 int zpool_open_silent(libzfs_handle_t *, const char *, zpool_handle_t **);
H A Dlibzfs_config.c220 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig) in zpool_get_config()
232 zpool_get_features(zpool_handle_t *zhp) in zpool_get_features()
265 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing) in zpool_refresh_stats()
392 zpool_handle_t *zhp; in zpool_iter()
H A Dlibzfs_import.c75 zpool_handle_t *zhp; in pool_active()
286 zpool_handle_t *cb_zhp;
290 find_aux(zpool_handle_t *zhp, void *data) in find_aux()
330 zpool_handle_t *zhp; in zpool_in_use()
H A Dlibzfs_dataset.c253 static zpool_handle_t *
257 zpool_handle_t *zph; in zpool_add_handle()
267 static zpool_handle_t *
271 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle()
284 static zpool_handle_t *
289 zpool_handle_t *zph; in zpool_handle()
306 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles; in zpool_free_handles()
924 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version()
1587 zpool_handle_t *zph = zpool_handle(zhp); in zfs_add_synthetic_resv()
3592 zpool_handle_t *zpool_handle; in zfs_create()
[all …]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_util.h50 extern nvlist_t *make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force,
53 extern nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname,
63 typedef int (*pool_vdev_iter_f)(zpool_handle_t *, nvlist_t *, void *);
64 extern int for_each_vdev(zpool_handle_t *, pool_vdev_iter_f, void *);
73 extern void pool_list_remove(zpool_list_t *, zpool_handle_t *);
H A Dzpool_iter.c49 zpool_handle_t *zn_handle;
65 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare()
66 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare()
78 add_pool(zpool_handle_t *zhp, void *data) in add_pool()
135 zpool_handle_t *zhp; in pool_list_get()
187 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
259 for_each_vdev_cb(zpool_handle_t *zhp, nvlist_t *nv, pool_vdev_iter_f func, in for_each_vdev_cb()
313 for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data) in for_each_vdev()
H A Dzpool_main.c691 zpool_handle_t *zhp; in zpool_do_add()
842 zpool_handle_t *zhp; in zpool_do_remove()
1488 zpool_handle_t *zhp; in zpool_do_destroy()
1561 zpool_handle_t *zhp; in zpool_do_export()
2556 zpool_handle_t *zhp; in do_import()
2706 zpool_handle_t *zhp; in zpool_do_checkpoint()
5540 zpool_handle_t *zhp; in zpool_do_attach_or_replace()
5705 zpool_handle_t *zhp; in zpool_do_detach()
5778 zpool_handle_t *zhp; in zpool_do_split()
5925 zpool_handle_t *zhp; in zpool_do_online()
[all …]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.c158 static int populate_VirtualDeviceBean(JNIEnv *, zpool_handle_t *,
174 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
176 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
178 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
180 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
422 populate_VirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, in populate_VirtualDeviceBean()
637 create_DiskVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, in create_DiskVirtualDeviceBean()
679 create_FileVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, in create_FileVirtualDeviceBean()
700 create_RAIDVirtualDeviceBean(JNIEnv *env, zpool_handle_t *zhp, in create_RAIDVirtualDeviceBean()
860 zjni_get_root_vdev(zpool_handle_t *zhp) in zjni_get_root_vdev()
[all …]
H A Dlibzfs_jni_pool.h72 nvlist_t *zjni_get_root_vdev(zpool_handle_t *);
73 nvlist_t *zjni_get_vdev(zpool_handle_t *, nvlist_t *, uint64_t, uint64_t *);
75 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
77 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
H A Dlibzfs_jni_dataset.c96 JNIEnv *, zpool_handle_t *, zfs_handle_t *, PoolBean_t *);
106 static jobject create_PoolBean(JNIEnv *, zpool_handle_t *, zfs_handle_t *);
357 populate_PoolBean(JNIEnv *env, zpool_handle_t *zphp, zfs_handle_t *zhp, in populate_PoolBean()
442 create_PoolBean(JNIEnv *env, zpool_handle_t *zphp, zfs_handle_t *zhp) in create_PoolBean()
610 zjni_create_add_Pool(zpool_handle_t *zphp, void *data) in zjni_create_add_Pool()
715 zpool_handle_t *zphp = zpool_open_canfail(g_zfs, name); in zjni_get_Datasets_below()
776 zpool_handle_t *zphp = zpool_open_canfail(g_zfs, in zjni_get_Datasets_dependents()
813 zpool_handle_t *zphp = zpool_open_canfail(g_zfs, name); in zjni_get_Dataset()
H A Dlibzfs_jni_dataset.h54 int zjni_create_add_Pool(zpool_handle_t *, void *);
H A Dlibzfs_jni_main.c334 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool); in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevice()
371 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool); in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J()
408 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool); in Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2()
/illumos-gate/usr/src/lib/libbe/common/
H A Dlibbe_priv.h231 int be_exists_callback(zpool_handle_t *, void *);
232 int be_find_zpool_callback(zpool_handle_t *, void *);
233 int be_zpool_find_current_be_callback(zpool_handle_t *, void *);
235 int be_check_be_roots_callback(zpool_handle_t *, void *);
H A Dbe_activate.c60 static int be_do_installboot_helper(zpool_handle_t *, nvlist_t *, char *,
533 zpool_handle_t *zhp; in set_bootfs()
932 be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1, in be_do_installboot_helper()
1267 be_do_installboot_walk(zpool_handle_t *zphp, nvlist_t *nv, char *stage1, in be_do_installboot_walk()
1340 zpool_handle_t *zphp = NULL; in be_do_installboot()
H A Dbe_list.c70 static int be_get_list_callback(zpool_handle_t *, void *);
228 zpool_handle_t *zphp; in _be_list()
433 be_get_list_callback(zpool_handle_t *zlp, void *data) in be_get_list_callback()
1008 zpool_handle_t *zphp = NULL; in be_get_node_data()
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c74 zpool_handle_t *cb_zhp;
79 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
150 static zpool_handle_t *
155 zpool_handle_t *zhp; in find_by_guid()
185 search_pool(zpool_handle_t *zhp, void *data) in search_pool()
211 static zpool_handle_t *
230 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare()
381 zpool_handle_t *zhp; in zfs_retire_recv()
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c94 typedef void (*zfs_process_func_t)(zpool_handle_t *, nvlist_t *, boolean_t);
103 zpool_handle_t *uap_zhp;
108 zfs_toplevel_state(zpool_handle_t *zhp) in zfs_toplevel_state()
122 zfs_unavail_pool(zpool_handle_t *zhp, void *data) in zfs_unavail_pool()
151 zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t isdisk) in zfs_process_add()
289 zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data) in zfs_iter_vdev()
349 zfs_iter_pool(zpool_handle_t *zhp, void *data) in zfs_iter_pool()
553 zfsdle_vdev_online(zpool_handle_t *zhp, void *data) in zfsdle_vdev_online()
626 zfs_update_vdev_fru(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t isdisk) in zfs_update_vdev_fru()
675 zpool_handle_t *zhp; in zfs_deliver_update()
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c34 zpool_handle_t *cb_pool;
40 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
132 find_vdev(zpool_handle_t *zhp, uint64_t guid) in find_vdev()
/illumos-gate/usr/src/lib/libzfsbootenv/common/
H A Dlzbe_device.c31 zpool_handle_t *zphdl; in lzbe_set_boot_device()
117 zpool_handle_t *zphdl; in lzbe_get_boot_device()
H A Dlzbe_pair.c31 zpool_handle_t *zphdl; in lzbe_nvlist_get()
78 zpool_handle_t *zphdl; in lzbe_nvlist_set()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dzfs.c140 zpool_handle_t *cb_pool;
144 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dvnode_zvol.c63 destroy_zpool(libzfs_handle_t *zfshdl, zpool_handle_t *poolhdl, in destroy_zpool()
136 zpool_handle_t *poolhdl = NULL; in main()
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs_de.c239 zfs_mark_pool(zpool_handle_t *zhp, void *unused) in zfs_mark_pool()
294 zpool_handle_t *cb_zhp;
298 find_pool(zpool_handle_t *zhp, void *data) in find_pool()
319 zpool_find_load_time(zpool_handle_t *zhp, void *arg) in zpool_find_load_time()
561 zpool_handle_t *zhp; in zfs_fm_recv()

12