Searched refs:mul (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofArith.d52 mul = offsetof(record_t, x) * offsetof(record_t, c);
61 printf("Multiplication of offsets (x*c) = %d\n", mul);
69 (0 != offsetof(record_t, c)) || (12 != add) || (4 != sub) || (0 != mul)
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c154 hrtime_t mul; member in struct:__anon488
174 hrtime_t val = *nsp, mul = 1; local
179 mul = suffix[i].mul;
187 if (mul == 0) {
191 val *= mul;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_options.c640 dtrace_optval_t mul = 1; local
650 mul *= 1024;
654 mul *= 1024;
658 mul *= 1024;
662 mul *= 1024;
669 *rval = strtoull(arg, &end, 0) * mul;
671 if ((mul > 1 && end != &arg[len - 1]) || (mul == 1 && *end != '\0') ||
695 dtrace_optval_t mul = 1, val = 0; local
699 hrtime_t mul; member in struct:__anon3199
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c419 hrtime_t mul; member in struct:__anon477
439 hrtime_t val, mul = 1; local
454 mul = suffix[i].mul;
462 if (mul == 0) {
466 val *= mul;
476 uint64_t val, mul = 1; local
482 mul *= 1024;
486 mul *= 1024;
490 mul *
[all...]
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A Dhwmuldiv.s31 * Versions of .mul .umul .div .udiv .rem .urem written using
35 ENTRY(.mul)
41 SET_SIZE(.mul)
97 * v8plus versions of __{u,}{mul,div,rem}64 compiler support routines
/illumos-gate/usr/src/cmd/fm/scripts/
H A Dbustcode.pl250 my $mul = 1;
254 $retval += $mul if $1 eq '1';
255 $mul *= 2;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_machdep.c1324 uint32_t freq, mul, near66, delta66, near50, delta50, fixed, delta, i; local
1333 mul = (uint32_t)((3 * (uint64_t)freq + 100) / 200);
1334 near66 = (uint32_t)((200 * (uint64_t)mul + ((mul >= 10) ? 1 : 0)) / 3);
1338 mul = (freq + 25) / 50;
1339 near50 = mul * 50;
1366 mul = freq - x86_cpu_freq[i];
1368 if (mul < delta) {
1370 delta = mul;
1376 mul
[all...]
H A Dcpuid.c4235 long long mul; local
4239 if ((mul = cpu_freq * 1000000LL) <= INT_MAX)
4241 "clock-frequency", (int)mul);
/illumos-gate/usr/src/common/ficl/
H A Ddouble.c100 * Multiplies ficl2Unsigned u by ficlUnsigned mul and adds ficlUnsigned add.
106 ficl2UnsignedMultiplyAccumulate(ficl2Unsigned u, ficlUnsigned mul, argument
109 ficl2Unsigned resultLo = ficl2UnsignedMultiply(u.low, mul);
110 ficl2Unsigned resultHi = ficl2UnsignedMultiply(u.high, mul);
H A Dficl.h635 #define ficl2UnsignedMultiplyAccumulate(u, mul, add) (((u) * (mul)) + (add))
684 ficl2UnsignedMultiplyAccumulate(ficl2Unsigned u, ficlUnsigned mul,
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_core.h634 #define ATH_EP_MUL(x, mul) ((x) * (mul))
643 #define ATH_EP_RND(x, mul) \
644 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
H A Darn_hw.h1054 #define HAL_EP_RND(x, mul) \
1055 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdc.h136 * time in Hz. The 'mul' parameter allows for a multiplier to be
141 #define VD_GET_TIMEOUT_HZ(timeout, mul) \
142 (ddi_get_lbolt() + ((timeout) * MAX(1, (mul))))
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c255 size_t j, mul; local
261 for (j = 0, mul = 10; (1 << mul) <= sz; j++, mul += 10)
265 "%d%c", sz >> (mul - 10), " kmgtpe"[j]);
/illumos-gate/usr/src/cmd/vi/port/
H A Dovdoprnt.s331 mul $10.,r1
/illumos-gate/usr/src/psm/stand/bootblks/ufs/i386/
H A Dmboot.S265 mov al, cl /* ah doesn't matter; mul dh will set it */
271 mul dh define
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c1088 dtrace_optval_t j = 0, mul = 10; local
1102 for (; (INT64_C(1) << mul) <= nsize; j++, mul += 10)
1105 if (!(nsize & ((INT64_C(1) << (mul - 10)) - 1))) {
1107 (long long)nsize >> (mul - 10), " kmgtpe"[j]);
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm1580 my $mul;
1624 $mul = $scale->{$modifier};
1625 $num = $num * $mul;
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.s72 movq %rdx, %r8 / Use r8 for len; %rdx is used by mul
242 movq %rdx, %r8 / Use r8 for len; %rdx is used by mul
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c236 hrtime_t mul; member in struct:__anon482
304 nsec *= suffix[i].mul;
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c139 int mul = 1; local
143 mul *= 10;
145 frac = mul * numerator / denom - mul * whole;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c16106 int mul, num, cnt, pos; local
16124 for (mul = 1, pos = 1; pos < size; pos++) {
16125 mul *= 10;
16127 *ans += num * mul;

Completed in 264 milliseconds