Searched refs:percentage (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil_pm.c80 /** Given all the required parameters, this function will return the percentage
93 int percentage; local
101 percentage = ((double) chargeLevel / (double) chargeLastFull) * 100;
103 HAL_WARNING (("chargeLastFull %i, percentage returning -1!", chargeLastFull));
107 if (percentage > 100) {
108 HAL_WARNING (("Percentage %i, returning 100!", percentage));
112 if (percentage < 0) {
113 HAL_WARNING (("Percentage %i, returning -1!", percentage));
116 return percentage;
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dspaceanal.tcl125 # Generate a formatted percentage value for $num/$denom
285 future use. The percentage at the right is the number of freelist pages
291 always 1. The percentage at the right is the number of header pages
320 counted when computing this number. The percentage at the right shows
327 percentage at the right is the user data size divided by the total file
350 data. The percentage at the right is the bytes of payload divided by
357 that are stored with the data. The percentage at the right is the bytes
362 The sum of the sizes of all keys under this category. The percentage at
404 percentage at the right is the number of unused bytes divided by the
410 percentage a
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Danal.c116 int percentage; local
177 percentage = (est_deletes * 100) / (total_files ? total_files : 1);
178 if (est_deletes >= CONFIRM_MIN && percentage >= CONFIRM_PCT)
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c403 int64_t percentage; local
435 percentage = diskreads * 100 / totalreads;
437 percentage = 0;
441 (longlong_t)percentage);

Completed in 68 milliseconds