usr/src/cmd/zpool/zpool_iter.c
/*
 * Returns the number of elements in the pool list.
 */
Returns the number of elements in the pool list.
Returns the number of elements in the pool list .
int
pool_list_count(zpool_list_t *zlp)
{
	return (uu_avl_numnodes(zlp->zl_avl));
}
int pool_list_count ( zpool_list_t * zlp ) { return ( uu_avl_numnodes ( zlp -> zl_avl ) ) ; }
Returns the number of elements in the pool list.
Returns the number of elements in the pool list .