/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | commp_util.c | 194 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 D | units.c | 27 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/common/mc/mc-amd/ |
H A D | mcamd_rowcol_tbl.c | 862 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/fm/modules/sun4v/etm/ |
H A D | etm_ckpt.c | 173 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/cmd/auditreduce/ |
H A D | time.c | 279 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/uts/common/io/ |
H A D | vuid_queue.c | 158 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/swap/ |
H A D | swap.c | 294 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/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Objective.java | 579 * 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/lib/libprtdiag/inc/ |
H A D | pdevinfo_sun4u.h | 144 int factor; /* interleave factor (0,2,4,8,16) */ member in struct:grp
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_inode.c | 1052 long factor; local 1061 factor = 1; 1063 factor *= NINDIR(fs); 1066 last /= factor; 1137 last = lastbn % factor;
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_hba.c | 1466 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/cmd/power/ |
H A D | handlers.c | 680 longlong_t svalue = 0, factor = 1; local 689 factor = 3600; 691 factor = 60; 698 svalue *= factor;
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 3229 u32_t factor = 0; local 3240 factor = LM_EMUL_FACTOR; 3244 factor = LM_FPGA_FACTOR; 3248 factor = 1; 3251 wait_ms *= factor; 3418 mm_wait(pdev, 10000*factor);
|
/illumos-gate/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_resync.c | 1541 * 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/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 433 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/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 223 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 D | dt_consume.c | 988 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/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_hw_init_reset.c | 254 u32_t factor = 0; local 268 factor = LM_EMUL_FACTOR; 272 factor = LM_FPGA_FACTOR; 276 factor = 1; 279 wait_ms *= factor; 501 mm_wait(pdev, 10000*factor); 4073 /*Set DHC scaling factor for L4*/
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 2286 dtrace_aggregate_llquantize_bucket(uint16_t factor, uint16_t low, argument 2292 ASSERT(factor <= nsteps); 2293 ASSERT(nsteps % factor == 0); 2296 this *= factor; 2299 * If our value is less than our factor taken to the power of the 2305 for (this *= factor; order <= high; order++) { 2308 if ((next = this * factor) < this) { 2329 base += nbuckets - (nbuckets / factor); 2335 * Our value is greater than or equal to our factor taken to the 2345 uint16_t factor local 10730 uint16_t factor = DTRACE_LLQUANTIZE_FACTOR(desc->dtad_arg); local 11482 dtrace_buffer_alloc(dtrace_buffer_t *bufs, size_t size, int flags, processorid_t cpu, int *factor) argument 13839 int flags = 0, rval, factor, divisor = 1; local [all...] |
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh_hw.h | 1350 uint8_t factor; member in struct:iwh_ampdu_param
|
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp_hw.h | 1350 uint8_t factor; member in struct:iwp_ampdu_param
|