Searched refs:pct (Results 1 – 1 of 1) sorted by relevance
1181 double pct = -1; in get_dev() local1192 pct = u100 / nonroot_total + (u100 % nonroot_total != 0); in get_dev()1207 long int lipct = pct = u * 100 / nonroot_total; in get_dev()1212 if (ipct - 1 < pct && pct <= ipct + 1) in get_dev()1213 pct = ipct + (ipct < pct); in get_dev()1217 if (0 <= pct) in get_dev()1219 if (asprintf (&cell, "%.0f%%", pct) == -1) in get_dev()