Searched refs:LOG_ARG_SCALE (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_algs.c75 * lg2 computes 2^(LOG_VAL_SCALE) * log2(x/2^LOG_ARG_SCALE), where ^
80 * LOG_ARG_SCALE <= 63. Recommended LOG_VAL_SCALE is 57, which is the
134 if (i - LOG_ARG_SCALE > 0) {
135 xx = x >> (i - LOG_ARG_SCALE);
137 xx = x << (LOG_ARG_SCALE - i);
139 logx = (int64_t)(i - LOG_ARG_SCALE) << LOG_VAL_SCALE;
141 for (i = 1; i <= LOG_ARG_SCALE; i++) {
144 1ULL << LOG_ARG_SCALE) {
255 ((int64_t)(LOG_ARG_SCALE - lg2samples) <<
272 ((int64_t)(LOG_ARG_SCALE
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h268 #define LOG_ARG_SCALE 49 macro

Completed in 45 milliseconds