/* percent - convert count to a percentage of total (rounding up or down)  */
static u32 percent(u32 count, u32 total)
/* percent - convert count to a percentage of total (rounding up or down)  */
static u32 percent(u32 count, u32 total)
{
	return (count * 100 + (total / 2)) / total;
}