Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs.h175 typedef struct zpool_handle zpool_handle_t; typedef
184 extern libzfs_handle_t *zpool_get_handle(zpool_handle_t *);
208 extern zpool_handle_t *zpool_open(libzfs_handle_t *, const char *);
209 extern zpool_handle_t *zpool_open_canfail(libzfs_handle_t *, const char *);
210 extern void zpool_close(zpool_handle_t *);
211 extern const char *zpool_get_name(zpool_handle_t *);
212 extern int zpool_get_state(zpool_handle_t *);
221 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 …]
H A Dlibzfs_pool.c67 zpool_get_all_props(zpool_handle_t *zhp) in zpool_get_all_props()
100 zpool_props_refresh(zpool_handle_t *zhp) in zpool_props_refresh()
114 zpool_get_prop_string(zpool_handle_t *zhp, zpool_prop_t prop, in zpool_get_prop_string()
140 zpool_get_prop_int(zpool_handle_t *zhp, zpool_prop_t prop, zprop_source_t *src) in zpool_get_prop_int()
244 zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, size_t len, in zpool_get_prop()
408 zpool_is_bootable(zpool_handle_t *zhp) in zpool_is_bootable()
434 zpool_handle_t *zhp; in zpool_valid_proplist()
660 zpool_set_prop(zpool_handle_t *zhp, const char *propname, const char *propval) in zpool_set_prop()
716 zpool_expand_proplist(zpool_handle_t *zhp, zprop_list_t **plp) in zpool_expand_proplist()
812 zpool_prop_get_feature(zpool_handle_t *zhp, const char *propname, char *buf, in zpool_prop_get_feature()
[all …]
H A Dlibzfs_impl.h60 zpool_handle_t *libzfs_pool_handles;
83 zpool_handle_t *zpool_hdl;
104 zpool_handle_t *zpool_next;
191 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()
404 zpool_handle_t *zhp; in zpool_iter()
H A Dlibzfs_import.c363 zpool_handle_t *zhp; in pool_active()
1536 name_or_guid_exists(zpool_handle_t *zhp, void *data) in name_or_guid_exists()
1600 zpool_handle_t *cb_zhp;
1604 find_aux(zpool_handle_t *zhp, void *data) in find_aux()
1644 zpool_handle_t *zhp; in zpool_in_use()
H A Dlibzfs_dataset.c230 static zpool_handle_t *
234 zpool_handle_t *zph; in zpool_add_handle()
244 static zpool_handle_t *
248 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle()
261 static zpool_handle_t *
266 zpool_handle_t *zph; in zpool_handle()
283 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles; in zpool_free_handles()
828 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version()
864 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist()
3266 zpool_handle_t *zpool_handle = zpool_open(hdl, pool_path); in zfs_create()
[all …]
H A Dlibzfs_status.c379 zpool_get_status(zpool_handle_t *zhp, char **msgid) in zpool_get_status()
H A Dlibzfs_fru.c360 zpool_fru_set(zpool_handle_t *zhp, uint64_t vdev_guid, const char *fru) in zpool_fru_set()
H A Dlibzfs_mount.c1135 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets()
1214 zpool_disable_datasets(zpool_handle_t *zhp, boolean_t force) in zpool_disable_datasets()
H A Dlibzfs_util.c716 zpool_get_handle(zpool_handle_t *zhp) in zpool_get_handle()
727 zpool_handle_t *
/netbsd-src/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_iter.c48 zpool_handle_t *zn_handle;
64 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare()
65 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare()
77 add_pool(zpool_handle_t *zhp, void *data) in add_pool()
134 zpool_handle_t *zhp; in pool_list_get()
186 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
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_main.c366 print_vdev_tree(zpool_handle_t *zhp, const char *name, nvlist_t *nv, int indent, in print_vdev_tree()
502 zpool_handle_t *zhp; in zpool_do_add()
600 zpool_handle_t *zhp; in zpool_do_remove()
1102 zpool_handle_t *zhp; in zpool_do_destroy()
1175 zpool_handle_t *zhp; in zpool_do_export()
1238 max_width(zpool_handle_t *zhp, nvlist_t *nv, int depth, int max) in max_width()
1280 zpool_handle_t *cb_zhp;
1305 find_spare(zpool_handle_t *zhp, void *data) in find_spare()
1327 print_status_config(zpool_handle_t *zhp, const char *name, nvlist_t *nv, in print_status_config()
1589 print_logs(zpool_handle_t *zhp, nvlist_t *nv, int namewidth, boolean_t verbose) in print_logs()
[all …]
H A Dzpool_vdev.c948 make_disks(zpool_handle_t *zhp, nvlist_t *nv) in make_disks()
1430 split_mirror_vdev(zpool_handle_t *zhp, char *newname, nvlist_t *props, in split_mirror_vdev()
1488 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep, in make_root_vdev()
/netbsd-src/external/cddl/osnet/dist/cmd/zinject/
H A Dtranslate.c434 zpool_handle_t *zhp; in translate_device()
/netbsd-src/external/cddl/osnet/dist/cmd/zfs/
H A Dzfs_iter.c78 zpool_handle_t *zph; in zfs_include_snapshots()
H A Dzfs_main.c858 zpool_handle_t *zpool_handle; in zfs_do_create()