Searched refs:zpool_handle_t (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_util.h46 nvlist_t *make_root_vdev(zpool_handle_t *zhp, int force, int check_rep,
48 nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname,
64 void pool_list_remove(zpool_list_t *, zpool_handle_t *);
H A Dzpool_iter.c47 zpool_handle_t *zn_handle;
63 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle;
64 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle;
76 add_pool(zpool_handle_t *zhp, void *data)
133 zpool_handle_t *zhp;
185 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp)
H A Dzpool_main.c364 print_vdev_tree(zpool_handle_t *zhp, const char *name, nvlist_t *nv, int indent,
500 zpool_handle_t *zhp;
598 zpool_handle_t *zhp;
1095 zpool_handle_t *zhp;
1168 zpool_handle_t *zhp;
1231 max_width(zpool_handle_t *zhp, nvlist_t *nv, int depth, int max)
1273 zpool_handle_t *cb_zhp;
1298 find_spare(zpool_handle_t *zhp, void *data)
1320 print_status_config(zpool_handle_t *zhp, const char *name, nvlist_t *nv,
1570 print_logs(zpool_handle_t *zh
[all...]
H A Dzpool_vdev.c886 make_disks(zpool_handle_t *zhp, nvlist_t *nv)
1365 split_mirror_vdev(zpool_handle_t *zhp, char *newname, nvlist_t *props,
1421 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep,
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs.h174 typedef struct zpool_handle zpool_handle_t; typedef in typeref:struct:zpool_handle
183 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
207 extern zpool_handle_t *zpool_open(libzfs_handle_t *, const char *);
208 extern zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *);
209 extern void zpool_close(zpool_handle_t *);
210 extern const char *zpool_get_name(zpool_handle_t *);
211 extern int zpool_get_state(zpool_handle_t *);
219 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
228 extern int zpool_destroy(zpool_handle_t *, const char *);
229 extern int zpool_add(zpool_handle_t *, nvlist_
[all...]
H A Dlibzfs_impl.h65 zpool_handle_t *libzfs_pool_handles;
86 zpool_handle_t *zpool_hdl;
107 zpool_handle_t *zpool_next;
190 int zpool_open_silent(libzfs_handle_t *, const char *, zpool_handle_t **);
H A Dlibzfs_pool.c67 zpool_get_all_props(zpool_handle_t *zhp)
100 zpool_props_refresh(zpool_handle_t *zhp)
114 zpool_get_prop_string(zpool_handle_t *zhp, zpool_prop_t prop,
140 zpool_get_prop_int(zpool_handle_t *zhp, zpool_prop_t prop, zprop_source_t *src)
244 zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, size_t len,
407 zpool_is_bootable(zpool_handle_t *zhp)
433 zpool_handle_t *zhp;
659 zpool_set_prop(zpool_handle_t *zhp, const char *propname, const char *propval)
715 zpool_expand_proplist(zpool_handle_t *zhp, zprop_list_t **plp)
811 zpool_prop_get_feature(zpool_handle_t *zh
[all...]
H A Dlibzfs_config.c220 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig)
232 zpool_get_features(zpool_handle_t *zhp)
265 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing)
404 zpool_handle_t *zhp;
H A Dlibzfs_status.c362 zpool_get_status(zpool_handle_t *zhp, char **msgid)
H A Dlibzfs_import.c355 zpool_handle_t *zhp;
1425 name_or_guid_exists(zpool_handle_t *zhp, void *data)
1489 zpool_handle_t *cb_zhp;
1493 find_aux(zpool_handle_t *zhp, void *data)
1533 zpool_handle_t *zhp;
H A Dlibzfs_fru.c360 zpool_fru_set(zpool_handle_t *zhp, uint64_t vdev_guid, const char *fru)
H A Dlibzfs_dataset.c247 static zpool_handle_t *
251 zpool_handle_t *zph;
261 static zpool_handle_t *
265 zpool_handle_t *zph = hdl->libzfs_pool_handles;
278 static zpool_handle_t *
283 zpool_handle_t *zph;
300 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles;
906 zpool_handle_t *zpool_handle = zhp->zpool_hdl;
942 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl,
3313 zpool_handle_t *zpool_handl
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.h74 nvlist_t *zjni_get_root_vdev(zpool_handle_t *);
75 nvlist_t *zjni_get_vdev(zpool_handle_t *, nvlist_t *, uint64_t, uint64_t *);
77 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
79 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
H A Dlibzfs_jni_dataset.h56 int zjni_create_add_Pool(zpool_handle_t *, void *);
H A Dlibzfs_jni_pool.c156 static int populate_VirtualDeviceBean(JNIEnv *, zpool_handle_t *,
158 static int populate_LeafVirtualDeviceBean(JNIEnv *, zpool_handle_t *,
160 static int populate_DiskVirtualDeviceBean(JNIEnv *, zpool_handle_t *,
162 static int populate_SliceVirtualDeviceBean(JNIEnv *, zpool_handle_t *,
164 static int populate_FileVirtualDeviceBean(JNIEnv *, zpool_handle_t *,
166 static int populate_RAIDVirtualDeviceBean(JNIEnv *, zpool_handle_t *,
168 static int populate_MirrorVirtualDeviceBean(JNIEnv *, zpool_handle_t *,
172 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
174 JNIEnv *, zpool_handle_t *, nvlist_t *, uint64_t *p_vdev_id);
176 JNIEnv *, zpool_handle_t *, nvlist_
[all...]
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,
442 create_PoolBean(JNIEnv *env, zpool_handle_t *zphp, zfs_handle_t *zhp)
610 zjni_create_add_Pool(zpool_handle_t *zphp, void *data)
715 zpool_handle_t *zphp = zpool_open_canfail(g_zfs, name);
776 zpool_handle_t *zphp = zpool_open_canfail(g_zfs,
813 zpool_handle_t *zphp = zpool_open_canfail(g_zfs, name);
H A Dlibzfs_jni_main.c336 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool);
373 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool);
410 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool);
/illumos-gate/usr/src/lib/libbe/common/
H A Dlibbe_priv.h224 int be_exists_callback(zpool_handle_t *, void *);
225 int be_find_zpool_callback(zpool_handle_t *, void *);
226 int be_zpool_find_current_be_callback(zpool_handle_t *, void *);
228 int be_check_be_roots_callback(zpool_handle_t *, void *);
H A Dbe_list.c64 static int be_get_list_callback(zpool_handle_t *, void *);
221 zpool_handle_t *zphp;
430 be_get_list_callback(zpool_handle_t *zlp, void *data)
1013 zpool_handle_t *zphp = NULL;
H A Dbe_activate.c58 static int be_do_installboot_helper(zpool_handle_t *, nvlist_t *, char *,
485 zpool_handle_t *zhp;
874 be_do_installboot_helper(zpool_handle_t *zphp, nvlist_t *child, char *stage1,
1214 zpool_handle_t *zphp = NULL;
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c71 zpool_handle_t *cb_zhp;
76 find_pool(zpool_handle_t *zhp, void *data)
139 static zpool_handle_t *
144 zpool_handle_t *zhp;
174 search_pool(zpool_handle_t *zhp, void *data)
200 static zpool_handle_t *
219 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev)
356 zpool_handle_t *zhp;
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c92 typedef void (*zfs_process_func_t)(zpool_handle_t *, nvlist_t *, boolean_t);
101 zpool_handle_t *uap_zhp;
106 zfs_toplevel_state(zpool_handle_t *zhp)
120 zfs_unavail_pool(zpool_handle_t *zhp, void *data)
149 zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t isdisk)
278 zfs_iter_vdev(zpool_handle_t *zhp, nvlist_t *nvl, void *data)
338 zfs_iter_pool(zpool_handle_t *zhp, void *data)
542 zfsdle_vdev_online(zpool_handle_t *zhp, void *data)
602 zfs_update_vdev_fru(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t isdisk)
651 zpool_handle_t *zh
[all...]
/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)
/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)
132 find_vdev(zpool_handle_t *zhp, uint64_t guid)
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c451 zpool_handle_t *zhp;

Completed in 132 milliseconds

12