Home
last modified time | relevance | path

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

/NextBSD/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs.h177 typedef struct zpool_handle zpool_handle_t; typedef
186 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
210 extern zpool_handle_t *zpool_open(libzfs_handle_t *, const char *);
211 extern zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *);
212 extern void zpool_close(zpool_handle_t *);
213 extern const char *zpool_get_name(zpool_handle_t *);
214 extern int zpool_get_state(zpool_handle_t *);
222 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
230 extern int zpool_destroy(zpool_handle_t *, const char *);
231 extern int zpool_add(zpool_handle_t *, nvlist_t *);
[all …]
HDlibzfs_pool.c68 zpool_get_all_props(zpool_handle_t *zhp) in zpool_get_all_props()
101 zpool_props_refresh(zpool_handle_t *zhp) in zpool_props_refresh()
115 zpool_get_prop_string(zpool_handle_t *zhp, zpool_prop_t prop, in zpool_get_prop_string()
141 zpool_get_prop_int(zpool_handle_t *zhp, zpool_prop_t prop, zprop_source_t *src) in zpool_get_prop_int()
242 zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, size_t len, in zpool_get_prop()
406 zpool_is_bootable(zpool_handle_t *zhp) in zpool_is_bootable()
432 zpool_handle_t *zhp; in zpool_valid_proplist()
653 zpool_set_prop(zpool_handle_t *zhp, const char *propname, const char *propval) in zpool_set_prop()
709 zpool_expand_proplist(zpool_handle_t *zhp, zprop_list_t **plp) in zpool_expand_proplist()
805 zpool_prop_get_feature(zpool_handle_t *zhp, const char *propname, char *buf, in zpool_prop_get_feature()
[all …]
HDlibzfs_impl.h66 zpool_handle_t *libzfs_pool_handles;
89 zpool_handle_t *zpool_hdl;
110 zpool_handle_t *zpool_next;
197 int zpool_open_silent(libzfs_handle_t *, const char *, zpool_handle_t **);
HDlibzfs_config.c218 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig) in zpool_get_config()
230 zpool_get_features(zpool_handle_t *zhp) in zpool_get_features()
262 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing) in zpool_refresh_stats()
388 zpool_handle_t *zhp; in zpool_iter()
HDlibzfs_import.c357 zpool_handle_t *zhp; in pool_active()
1477 name_or_guid_exists(zpool_handle_t *zhp, void *data) in name_or_guid_exists()
1541 zpool_handle_t *cb_zhp;
1545 find_aux(zpool_handle_t *zhp, void *data) in find_aux()
1585 zpool_handle_t *zhp; in zpool_in_use()
HDlibzfs_dataset.c261 static zpool_handle_t *
265 zpool_handle_t *zph; in zpool_add_handle()
275 static zpool_handle_t *
279 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle()
292 static zpool_handle_t *
297 zpool_handle_t *zph; in zpool_handle()
314 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles; in zpool_free_handles()
857 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version()
893 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist()
3268 zpool_handle_t *zpool_handle = zpool_open(hdl, pool_path); in zfs_create()
[all …]
HDlibzfs_status.c379 zpool_get_status(zpool_handle_t *zhp, char **msgid) in zpool_get_status()
HDlibzfs_fru.c360 zpool_fru_set(zpool_handle_t *zhp, uint64_t vdev_guid, const char *fru) in zpool_fru_set()
HDlibzfs_mount.c1131 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets()
1210 zpool_disable_datasets(zpool_handle_t *zhp, boolean_t force) in zpool_disable_datasets()
HDlibzfs_util.c699 zpool_get_handle(zpool_handle_t *zhp) in zpool_get_handle()
710 zpool_handle_t *
/NextBSD/cddl/contrib/opensolaris/cmd/zpool/
HDzpool_iter.c47 zpool_handle_t *zn_handle;
63 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare()
64 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare()
76 add_pool(zpool_handle_t *zhp, void *data) in add_pool()
133 zpool_handle_t *zhp; in pool_list_get()
184 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
HDzpool_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 *);
HDzpool_main.c365 print_vdev_tree(zpool_handle_t *zhp, const char *name, nvlist_t *nv, int indent, in print_vdev_tree()
501 zpool_handle_t *zhp; in zpool_do_add()
599 zpool_handle_t *zhp; in zpool_do_remove()
1073 zpool_handle_t *zhp; in zpool_do_destroy()
1146 zpool_handle_t *zhp; in zpool_do_export()
1209 max_width(zpool_handle_t *zhp, nvlist_t *nv, int depth, int max) in max_width()
1251 zpool_handle_t *cb_zhp;
1276 find_spare(zpool_handle_t *zhp, void *data) in find_spare()
1298 print_status_config(zpool_handle_t *zhp, const char *name, nvlist_t *nv, in print_status_config()
1560 print_logs(zpool_handle_t *zhp, nvlist_t *nv, int namewidth, boolean_t verbose) in print_logs()
[all …]
HDzpool_vdev.c930 make_disks(zpool_handle_t *zhp, nvlist_t *nv) in make_disks()
1412 split_mirror_vdev(zpool_handle_t *zhp, char *newname, nvlist_t *props, in split_mirror_vdev()
1471 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep, in make_root_vdev()
/NextBSD/cddl/contrib/opensolaris/cmd/zinject/
HDtranslate.c434 zpool_handle_t *zhp; in translate_device()
/NextBSD/cddl/contrib/opensolaris/cmd/zfs/
HDzfs_iter.c79 zpool_handle_t *zph; in zfs_include_snapshots()
HDzfs_main.c848 zpool_handle_t *zpool_handle; in zfs_do_create()