FreeBSD/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_iter.c
/*
 * Iterate over all children, snapshots and filesystems
 */
Iterate over all children, snapshots and filesystems
Iterate over all children snapshots and filesystems
int
zfs_iter_children(zfs_handle_t *zhp, zfs_iter_f func, void *data)
{
	int ret;
	if ((ret = zfs_iter_filesystems(zhp, func, data)) != 0)
		return (ret);
	return (zfs_iter_snapshots(zhp, B_FALSE, func, data));
}
int zfs_iter_children ( zfs_handle_t * zhp , zfs_iter_f func , void * data ) { int ret ; if ( ( ret = zfs_iter_filesystems ( zhp , func , data ) ) != 0 ) return ( ret ) ; return ( zfs_iter_snapshots ( zhp , B_FALSE , func , data ) ) ; }
Iterate over all children, snapshots and filesystems
Iterate over all children snapshots and filesystems