Home
last modified time | relevance | path

Searched defs:zhp (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_mount.c228 zfs_is_mounted(zfs_handle_t *zhp, char **where) in zfs_is_mounted()
238 zfs_is_mountable(zfs_handle_t *zhp, char *buf, size_t buflen, in zfs_is_mountable()
271 zfs_mount(zfs_handle_t *zhp, const char *options, int flags) in zfs_mount()
380 zfs_unmount(zfs_handle_t *zhp, const char *mountpoint, int flags) in zfs_unmount()
424 zfs_unmountall(zfs_handle_t *zhp, int flags) in zfs_unmountall()
440 zfs_is_shared(zfs_handle_t *zhp) in zfs_is_shared()
456 zfs_share(zfs_handle_t *zhp) in zfs_share()
463 zfs_unshare(zfs_handle_t *zhp) in zfs_unshare()
473 zfs_is_shared_proto(zfs_handle_t *zhp, char **where, zfs_share_proto_t proto) in zfs_is_shared_proto()
495 zfs_is_shared_nfs(zfs_handle_t *zhp, char **where) in zfs_is_shared_nfs()
[all …]
H A Dlibzfs_dataset.c202 process_user_props(zfs_handle_t *zhp, nvlist_t *props) in process_user_props()
231 zpool_add_handle(zfs_handle_t *zhp, const char *pool_name) in zpool_add_handle()
245 zpool_find_handle(zfs_handle_t *zhp, const char *pool_name, int len) in zpool_find_handle()
262 zpool_handle(zfs_handle_t *zhp) in zpool_handle()
297 get_stats_ioctl(zfs_handle_t *zhp, zfs_cmd_t *zc) in get_stats_ioctl()
319 get_recvd_props_ioctl(zfs_handle_t *zhp) in get_recvd_props_ioctl()
354 put_stats_zhdl(zfs_handle_t *zhp, zfs_cmd_t *zc) in put_stats_zhdl()
383 get_stats(zfs_handle_t *zhp) in get_stats()
402 zfs_refresh_properties(zfs_handle_t *zhp) in zfs_refresh_properties()
412 make_dataset_handle_common(zfs_handle_t *zhp, zfs_cmd_t *zc) in make_dataset_handle_common()
[all …]
H A Dlibzfs_iter.c40 zfs_iter_clones(zfs_handle_t *zhp, zfs_iter_f func, void *data) in zfs_iter_clones()
62 zfs_do_list_ioctl(zfs_handle_t *zhp, unsigned long arg, zfs_cmd_t *zc) in zfs_do_list_ioctl()
105 zfs_iter_filesystems(zfs_handle_t *zhp, zfs_iter_f func, void *data) in zfs_iter_filesystems()
141 zfs_iter_snapshots(zfs_handle_t *zhp, boolean_t simple, zfs_iter_f func, in zfs_iter_snapshots()
179 zfs_iter_bookmarks(zfs_handle_t *zhp, zfs_iter_f func, void *data) in zfs_iter_bookmarks()
234 zfs_sort_snaps(zfs_handle_t *zhp, void *data) in zfs_sort_snaps()
284 zfs_iter_snapshots_sorted(zfs_handle_t *zhp, zfs_iter_f callback, void *data) in zfs_iter_snapshots_sorted()
317 snapspec_cb(zfs_handle_t *zhp, void *arg) in snapspec_cb()
432 zfs_iter_children(zfs_handle_t *zhp, zfs_iter_f func, void *data) in zfs_iter_children()
445 zfs_handle_t *zhp; member
[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() local
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_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() local
449 zfs_handle_t *zhp; in zfs_iter_root() local
H A Dlibzfs_sendrecv.c635 send_iterate_snap(zfs_handle_t *zhp, void *arg) in send_iterate_snap()
677 send_iterate_prop(zfs_handle_t *zhp, nvlist_t *nv) in send_iterate_prop()
763 zfs_handle_t *zhp = zfs_open(hdl, name, ZFS_TYPE_SNAPSHOT); in get_snap_txg() local
779 send_iterate_fs(zfs_handle_t *zhp, void *arg) in send_iterate_fs()
883 zfs_handle_t *zhp; in gather_nvlist() local
942 estimate_ioctl(zfs_handle_t *zhp, uint64_t fromsnap_obj, in estimate_ioctl()
1005 dump_ioctl(zfs_handle_t *zhp, const char *fromsnap, uint64_t fromsnap_obj, in dump_ioctl()
1085 gather_holds(zfs_handle_t *zhp, send_dump_data_t *sdd) in gather_holds()
1104 zfs_handle_t *zhp = pa->pa_zhp; in send_progress_thread() local
1189 dump_snapshot(zfs_handle_t *zhp, void *arg) in dump_snapshot()
[all …]
H A Dlibzfs_diff.c68 zfs_handle_t *zhp; member
624 zfs_handle_t *zhp; in get_snapshot_names() local
740 setup_differ_info(zfs_handle_t *zhp, const char *fromsnap, in setup_differ_info()
761 zfs_show_diffs(zfs_handle_t *zhp, int outfd, const char *fromsnap, in zfs_show_diffs()
H A Dlibzfs_changelist.c402 change_one(zfs_handle_t *zhp, void *data) in change_one()
539 changelist_gather(zfs_handle_t *zhp, zfs_prop_t prop, int gather_flags, in changelist_gather()
H A Dlibzfs_util.c716 zpool_get_handle(zpool_handle_t *zhp) in zpool_get_handle()
722 zfs_get_handle(zfs_handle_t *zhp) in zfs_get_handle()
728 zfs_get_pool_handle(const zfs_handle_t *zhp) in zfs_get_pool_handle()
H A Dlibzfs_import.c363 zpool_handle_t *zhp; in pool_active() local
1536 name_or_guid_exists(zpool_handle_t *zhp, void *data) in name_or_guid_exists()
1604 find_aux(zpool_handle_t *zhp, void *data) in find_aux()
1644 zpool_handle_t *zhp; in zpool_in_use() local
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_status.c379 zpool_get_status(zpool_handle_t *zhp, char **msgid) in zpool_get_status()
H A Dlibzfs_impl.h100 #define ZFS_IS_VOLUME(zhp) ((zhp)->zfs_head_type == ZFS_TYPE_VOLUME) argument
/netbsd-src/external/cddl/osnet/dist/cmd/zpool/
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() local
600 zpool_handle_t *zhp; in zpool_do_remove() local
1102 zpool_handle_t *zhp; in zpool_do_destroy() local
1175 zpool_handle_t *zhp; in zpool_do_export() local
1238 max_width(zpool_handle_t *zhp, nvlist_t *nv, int depth, int max) in max_width()
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()
1858 zpool_handle_t *zhp; in do_import() local
[all …]
H A Dzpool_iter.c77 add_pool(zpool_handle_t *zhp, void *data) in add_pool()
134 zpool_handle_t *zhp; in pool_list_get() local
186 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
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/zfs/
H A Dzfs_main.c617 should_auto_mount(zfs_handle_t *zhp) in should_auto_mount()
637 zfs_handle_t *zhp = NULL; in zfs_do_clone() local
763 zfs_handle_t *zhp = NULL; in zfs_do_create() local
995 destroy_check_dependent(zfs_handle_t *zhp, void *data) in destroy_check_dependent()
1052 destroy_callback(zfs_handle_t *zhp, void *data) in destroy_callback()
1110 destroy_print_cb(zfs_handle_t *zhp, void *arg) in destroy_print_cb()
1174 snapshot_to_nvl_cb(zfs_handle_t *zhp, void *arg) in snapshot_to_nvl_cb()
1196 gather_snapshots(zfs_handle_t *zhp, void *arg) in gather_snapshots()
1228 zfs_handle_t *zhp = zfs_open(g_zfs, nvpair_name(pair), in destroy_clones() local
1257 zfs_handle_t *zhp = NULL; in zfs_do_destroy() local
[all …]
H A Dzfs_iter.c76 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb) in zfs_include_snapshots()
92 zfs_callback(zfs_handle_t *zhp, void *data) in zfs_callback()
443 zfs_handle_t *zhp; in zfs_for_each() local
/netbsd-src/external/cddl/osnet/dist/cmd/zinject/
H A Dtranslate.c434 zpool_handle_t *zhp; in translate_device() local
H A Dzinject.c676 zfs_handle_t *zhp; in main() local