Home
last modified time | relevance | path

Searched refs:denom (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libc/port/gen/
H A Ddiv.c49 div(num, denom) in div() argument
50 int num, denom; in div()
54 r.quot = num / denom;
55 r.rem = num % denom;
81 r.rem -= denom;
87 ldiv(num, denom) in ldiv() argument
88 long num, denom; in ldiv()
94 r.quot = num / denom;
95 r.rem = num % denom;
98 r.rem -= denom;
H A Dimaxdiv.c40 imaxdiv(intmax_t numer, intmax_t denom) in imaxdiv() argument
44 return (__imax_lldiv(numer, denom)); in imaxdiv()
58 _imaxdiv_c89(int32_t numer, int32_t denom) in _imaxdiv_c89() argument
60 return (div(numer, denom)); in _imaxdiv_c89()
H A Dlldiv.c40 lldiv(longlong_t numer, longlong_t denom) in lldiv() argument
44 sd.quot = numer / denom; in lldiv()
45 sd.rem = numer % denom; in lldiv()
/titanic_41/usr/src/cmd/stat/vmstat/
H A Dvmstat.c48 #define denom(x) ((x) ? (x) : 1) macro
261 percent_factor = 100.0 / denom(etime); in dovmstats()
266 sys_updates = denom(DELTA(s_sys.ss_sysinfo.updates)); in dovmstats()
267 vm_updates = denom(DELTA(s_sys.ss_vminfo.updates)); in dovmstats()
473 nchtotal, nchhits / denom(nchtotal) * 100); in dosum()
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_memerr_arch.c616 galois_div(int num, int denom) { in galois_div() argument
620 if (galois_mul[denom][i] == num) in galois_div()
/titanic_41/usr/src/cmd/sa/
H A Dsar.c80 static float denom(float);
971 denom((float)xx->csi.ufsipage + in prt_g_opt()
1191 denom(float x) in denom() function
/titanic_41/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) in iwk_division() argument
4648 if (denom < 0) { in iwk_division()
4650 denom = -denom; in iwk_division()
4653 *res = ((num*2 + denom) / (denom*2)) * sign; in iwk_division()
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c133 uint64_t numerator, uint64_t denom, int frac_digits) in snprintfrac() argument
140 whole = numerator / denom; in snprintfrac()
141 frac = mul * numerator / denom - mul * whole; in snprintfrac()
/titanic_41/usr/src/lib/libsqlite/tool/
H A Dspaceanal.tcl127 proc percent {num denom} { argument
/titanic_41/usr/src/lib/libc/port/
H A Dllib-lc373 div_t div(int numer, int denom);
374 ldiv_t ldiv(long int numer, long int denom);
614 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);