/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs.h | 205 typedef struct zpool_handle zpool_handle_t; typedef 214 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *); 238 extern zpool_handle_t *zpool_open(libzfs_handle_t *, const char *); 239 extern zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *); 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 *); 259 extern int zpool_destroy(zpool_handle_t *, const char *); 260 extern int zpool_add(zpool_handle_t *, nvlist_t *); [all …]
|
H A D | libzfs_pool.c | 76 zpool_get_all_props(zpool_handle_t *zhp) in zpool_get_all_props() 109 zpool_props_refresh(zpool_handle_t *zhp) in zpool_props_refresh() 123 zpool_get_prop_string(zpool_handle_t *zhp, zpool_prop_t prop, in zpool_get_prop_string() 149 zpool_get_prop_int(zpool_handle_t *zhp, zpool_prop_t prop, zprop_source_t *src) in zpool_get_prop_int() 253 zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, size_t len, in zpool_get_prop() 429 zpool_is_bootable(zpool_handle_t *zhp) in zpool_is_bootable() 455 zpool_handle_t *zhp; in zpool_valid_proplist() 725 zpool_set_prop(zpool_handle_t *zhp, const char *propname, const char *propval) in zpool_set_prop() 781 zpool_expand_proplist(zpool_handle_t *zhp, zprop_list_t **plp) in zpool_expand_proplist() 877 zpool_prop_get_feature(zpool_handle_t *zhp, const char *propname, char *buf, in zpool_prop_get_feature() [all …]
|
H A D | libzfs_impl.h | 69 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 D | libzfs_config.c | 220 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 D | libzfs_import.c | 75 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 D | libzfs_dataset.c | 253 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() 960 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() 1587 zpool_handle_t *zph = zpool_handle(zhp); in zfs_add_synthetic_resv() [all …]
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_util.h | 50 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 D | zpool_iter.c | 49 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 D | zpool_main.c | 410 zpool_collect_leaves(zpool_handle_t *zhp, nvlist_t *nvroot, nvlist_t *res) in zpool_collect_leaves() 523 print_vdev_tree(zpool_handle_t *zhp, const char *name, nvlist_t *nv, int indent, in print_vdev_tree() 691 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() 1624 max_width(zpool_handle_t *zhp, nvlist_t *nv, int depth, int max, in max_width() 1667 zpool_handle_t *cb_zhp; 1692 find_spare(zpool_handle_t *zhp, void *data) in find_spare() 1833 print_status_config(zpool_handle_t *zhp, status_cbdata_t *cb, const char *name, in print_status_config() [all …]
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_pool.c | 158 static int populate_VirtualDeviceBean(JNIEnv *, zpool_handle_t *, 160 static int populate_LeafVirtualDeviceBean(JNIEnv *, zpool_handle_t *, 162 static int populate_DiskVirtualDeviceBean(JNIEnv *, zpool_handle_t *, 164 static int populate_SliceVirtualDeviceBean(JNIEnv *, zpool_handle_t *, 166 static int populate_FileVirtualDeviceBean(JNIEnv *, zpool_handle_t *, 168 static int populate_RAIDVirtualDeviceBean(JNIEnv *, zpool_handle_t *, 170 static int populate_MirrorVirtualDeviceBean(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); [all …]
|
H A D | libzfs_jni_pool.h | 72 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 D | libzfs_jni_dataset.c | 96 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 D | libzfs_jni_dataset.h | 54 int zjni_create_add_Pool(zpool_handle_t *, void *);
|
H A D | libzfs_jni_main.c | 334 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 D | libbe_priv.h | 231 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 D | be_activate.c | 60 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 D | be_list.c | 70 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/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 94 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/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 75 zpool_handle_t *cb_zhp; 80 find_pool(zpool_handle_t *zhp, void *data) in find_pool() 151 static zpool_handle_t * 156 zpool_handle_t *zhp; in find_by_guid() 186 search_pool(zpool_handle_t *zhp, void *data) in search_pool() 212 static zpool_handle_t * 261 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare() 426 zpool_handle_t *zhp; in zfs_retire_recv()
|
/illumos-gate/usr/src/cmd/fm/schemes/zfs/ |
H A D | scheme.c | 34 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 D | lzbe_device.c | 31 zpool_handle_t *zphdl; in lzbe_set_boot_device() 117 zpool_handle_t *zphdl; in lzbe_get_boot_device()
|
H A D | lzbe_pair.c | 31 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 D | zfs.c | 140 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 D | vnode_zvol.c | 63 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 D | zfs_de.c | 239 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()
|