Lines Matching defs:zhp
77 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb)
84 zph = zfs_get_pool_handle(zhp);
93 zfs_callback(zfs_handle_t *zhp, void *data)
97 boolean_t include_snaps = zfs_include_snapshots(zhp, cb);
100 if ((zfs_get_type(zhp) & cb->cb_types) ||
101 ((zfs_get_type(zhp) == ZFS_TYPE_SNAPSHOT) && include_snaps)) {
105 node->zn_handle = zhp;
112 zfs_prune_proplist(zhp,
115 if (zfs_expand_proplist(zhp, cb->cb_proplist,
146 zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM) {
147 (void) zfs_iter_filesystems(zhp, zfs_callback, data);
150 if (((zfs_get_type(zhp) & (ZFS_TYPE_SNAPSHOT |
152 (void) zfs_iter_snapshots(zhp,
157 if (((zfs_get_type(zhp) & (ZFS_TYPE_SNAPSHOT |
159 (void) zfs_iter_bookmarks(zhp, zfs_callback, data);
166 zfs_close(zhp);
458 zfs_handle_t *zhp;
475 zhp = zfs_path_to_zhandle(g_zfs, argv[i],
478 zhp = zfs_open(g_zfs, argv[i], argtype);
480 if (zhp != NULL)
481 ret |= zfs_callback(zhp, &cb);