Lines Matching defs:zhp
76 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb)
83 zph = zfs_get_pool_handle(zhp);
92 zfs_callback(zfs_handle_t *zhp, void *data)
96 boolean_t include_snaps = zfs_include_snapshots(zhp, cb);
99 if ((zfs_get_type(zhp) & cb->cb_types) ||
100 ((zfs_get_type(zhp) == ZFS_TYPE_SNAPSHOT) && include_snaps)) {
104 node->zn_handle = zhp;
111 zfs_prune_proplist(zhp,
114 if (zfs_expand_proplist(zhp, cb->cb_proplist,
136 if (zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM)
137 (void) zfs_iter_filesystems(zhp, zfs_callback, data);
138 if (((zfs_get_type(zhp) & (ZFS_TYPE_SNAPSHOT |
140 (void) zfs_iter_snapshots(zhp,
143 if (((zfs_get_type(zhp) & (ZFS_TYPE_SNAPSHOT |
145 (void) zfs_iter_bookmarks(zhp, zfs_callback, data);
150 zfs_close(zhp);
443 zfs_handle_t *zhp;
460 zhp = zfs_path_to_zhandle(g_zfs, argv[i],
463 zhp = zfs_open(g_zfs, argv[i], argtype);
465 if (zhp != NULL)
466 ret |= zfs_callback(zhp, &cb);