Searched defs:denom (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dimaxdiv.c40 imaxdiv(intmax_t numer, intmax_t denom) argument
44 return (__imax_lldiv(numer, denom));
58 _imaxdiv_c89(int32_t numer, int32_t denom) argument
60 return (div(numer, denom));
H A Dlldiv.c40 lldiv(longlong_t numer, longlong_t denom) argument
44 sd.quot = numer / denom;
45 sd.rem = numer % denom;
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c48 #define denom(x) ((x) ? (x) : 1) macro
261 percent_factor = 100.0 / denom(etime);
266 sys_updates = denom(DELTA(s_sys.ss_sysinfo.updates));
267 vm_updates = denom(DELTA(s_sys.ss_vminfo.updates));
473 nchtotal, nchhits / denom(nchtotal) * 100);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_memerr_arch.c615 galois_div(int num, int denom) { argument
619 if (galois_mul[denom][i] == num)
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c80 static float denom(float);
971 denom((float)xx->csi.ufsipage +
1191 denom(float x) function
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2.c301 static int iwk_division(int32_t num, int32_t denom, int32_t *res);
4639 static int iwk_division(int32_t num, int32_t denom, int32_t *res) argument
4648 if (denom < 0) {
4650 denom = -denom;
4653 *res = ((num*2 + denom) / (denom*2)) * sign;
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c137 uint64_t numerator, uint64_t denom, int frac_digits)
144 whole = numerator / denom;
145 frac = mul * numerator / denom - mul * whole;
136 snprintfrac(char *buf, int len, uint64_t numerator, uint64_t denom, int frac_digits) argument

Completed in 73 milliseconds