Searched refs:factor (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/cmd/factor/
H A DMakefile26 PROG= factor
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dcommp_util.c194 uint_t factor = 0; local
199 factor = COMMP_SECS_IN_DAY;
202 factor = COMMP_SECS_IN_HOUR;
205 factor = COMMP_SECS_IN_MIN;
208 factor = 1;
217 if (factor != 0)
218 (*num) = (*num) * factor;
/illumos-gate/usr/src/cmd/units/
H A Dunits.c27 double factor; member in struct:unit
33 double factor; member in struct:table
40 double factor; member in struct:prefix
132 f = u1.factor/u2.factor;
159 printf("\t%e ", p->factor);
203 p->factor = getflt();
204 if(p->factor == 0.)
205 p->factor = 1.0;
259 p->factor /
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLogLinearDistribution.java100 * @param scaleFactor factor
125 long low, high, nsteps, factor;
131 factor = unpack(constant, FACTOR_SHIFT);
137 value *= factor;
145 next = value * factor;
156 next = value * factor;
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c294 static int factor = -1; local
296 if (factor == -1)
297 factor = (int)(sysconf(_SC_PAGESIZE) >> 10);
298 return ((size_t)(clicks * factor));
341 int factor = (int)(sysconf(_SC_PAGESIZE)); local
344 factor, scale));
347 factor, scale));
350 allocated + reserved, factor, scale));
353 factor, scale));
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c279 int ret, len, factor; local
330 factor = 1; /* seconds is default */
332 factor = 24 * 60 * 60;
334 factor = 60 * 60;
336 factor = 60;
338 m_before = m_after + (lnum * factor);
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol_tbl.c862 rct_csintlv_bits(uint_t mcrev, int width, uint_t csmode, int factor, argument
874 if (factor == 8 && width == 128 &&
890 switch (factor) {
917 csid->csi_factor = factor;
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DObjective.java579 * The factor is a value required in calculating the LocalityGroup quotient.
581 * The value of factor will always be a finite number
588 private double factor; field in class:LGroupData
593 factor = 2.0 / ((numcpuinlgroup * numcpuinlgroup)
602 return factor;
725 * factor and intersection values.
727 * @param factor double value of factor for this move.
730 private double calcQ(double factor, int intersection) argument
732 double q = factor * ((intersectio
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_ckpt.c173 etm_ckpt_il_resize(fmd_hdl_t *hdl, uint_t factor) argument
181 if (factor == 0)
189 sz2 = sizeof (etm_ckpt_id_list_t) + (factor * il1->il_ids_sz);
192 il2->il_max = factor * etm_id_lst->il_max;
193 il2->il_ids_sz = factor * il1->il_ids_sz;
219 if (factor == 1) {
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_queue.c158 vq_compress(Vuid_queue *vq, int factor) argument
178 tv_threshold = tv_mult(tv_avg_diff, factor);
205 /* Zero factor means collapse regardless of threshold */
206 if ((factor > 0) &&
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java273 long factor = 2;
282 value *= factor;
287 next = value * factor;
297 next = value * factor;
305 LogLinearDistribution d = new LogLinearDistribution(factor, low, high,
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c1466 uint32_t factor = 1; local
1487 value += ((uint32_t)(*ptr - '0')) * factor;
1488 factor *= base;
1494 ((uint32_t)(*ptr - 'a') + 10) * factor;
1495 factor *= base;
1499 ((uint32_t)(*ptr - 'A') + 10) * factor;
1500 factor *= base;
1502 } else if (factor > 1) {
1505 } else if (factor > 1) {
1520 uint32_t factor local
[all...]
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo_sun4u.h144 int factor; /* interleave factor (0,2,4,8,16) */ member in struct:grp
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c680 longlong_t svalue = 0, factor = 1; local
689 factor = 3600;
691 factor = 60;
698 svalue *= factor;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c1052 long factor; local
1061 factor = 1;
1063 factor *= NINDIR(fs);
1066 last /= factor;
1137 last = lastbn % factor;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_aggregate.c223 uint16_t factor = DTRACE_LLQUANTIZE_FACTOR(arg); local
231 assert(nsteps >= factor);
232 assert(nsteps % factor == 0);
235 value *= factor;
239 next = value * factor;
249 next = value * factor;
H A Ddt_consume.c988 uint16_t factor, low, high, nsteps; local
1002 factor = DTRACE_LLQUANTIZE_FACTOR(arg);
1011 if (size > INT32_MAX || factor < 2 || low >= high ||
1012 nsteps == 0 || factor > nsteps)
1048 value *= factor;
1050 next = value * factor;
1080 next = value * factor;
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dascii_strcasecmp.s216 sll %i3, 3, %l6 ! shift factor for left shifts
218 sub %g0, %l6, %l7 ! shift factor for right shifts
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dascii_strcasecmp.s216 sll %i3, 3, %l6 ! shift factor for left shifts
218 sub %g0, %l6, %l7 ! shift factor for right shifts
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c628 log_printf("%3d-way ", grp->factor, 0);
629 if (grp->factor > 1) {
961 * From #of members in each list, interleave factor is
1098 grp->factor = INTLV0(bksp->ac_memctl);
1100 grp->factor = INTLV1(bksp->ac_memctl);
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c433 int factor = (mc->mc_props.mcp_accwidth == 128) ? 2 : 1; local
442 sz += mccs->mccs_props.csp_size / factor;
445 sz += mcd->mcd_cs[i]->mccs_props.csp_size / factor;
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c1541 * In addition we need to deal with the overflow case by using a factor to
1550 uint_t factor = 1; local
1575 * bits, calculate a factor to divide by to ensure that we don't
1582 factor = factor << 1;
1584 un->un_rs_resync_done = ((un->un_rs_resync_done/factor) *
1585 (resync_2_do/factor)) /
1586 ((un->un_rs_resync_2_do + (factor * factor) - 1)/
1587 (factor * facto
[all...]
/illumos-gate/usr/src/cmd/
H A DMakefile150 factor \
/illumos-gate/usr/src/man/man1/
H A DMakefile130 factor.1 \
/illumos-gate/usr/src/cmd/csh/
H A Dsh.func.c1460 bferr("Improper or unknown scale factor");

Completed in 138 milliseconds

12