| /netvirt/usr/src/cmd/dtrace/test/tst/common/rates/ |
| tst.statusrate.d | 37 * Tests the statusrate option, by checking that the time delta between 53 /(this->delta = timestamp - ts) > 2 * NANOSEC/ 59 /this->delta <= 2 * NANOSEC/ 61 printf("delta between exit() and END (%u nanos) too small", 62 this->delta); 67 /this->delta > 20 * NANOSEC/ 69 printf("delta between exit() and END (%u nanos) too large", 70 this->delta);
|
| /netvirt/usr/src/cmd/fmli/sys/ |
| vargrow.c | 46 register unsigned delta; local 50 delta = ptr->step_size; 51 if (delta < step) 52 delta = step; 53 if ((ptr = (struct v_array *)realloc(ptr, sizeof(struct v_array) + (ptr->tot_used + ptr->tot_left + delta) * ptr->ele_size)) == NULL) 55 ptr->tot_left += delta;
|
| /netvirt/usr/src/cmd/pools/poold/com/sun/solaris/service/timer/ |
| SimpleRecurringEventTimer.java | 73 long delta; local 75 while ((delta = nextFiring - System.currentTimeMillis()) > 0) 76 Thread.sleep(delta);
|
| /netvirt/usr/src/cmd/intrd/ |
| intrd.pl | 119 # a new "delta" hash that represents what has changed over time. 122 # a single delta hash that encompasses all the time periods described by the 316 # to access the kstats, and then we create a delta comparing these 317 # kstats with a prior set of kstats, that delta will cover 338 # dumpdelta takes a reference to our "delta" structure: 339 # {"missing"} "1" if the delta's component stats had inconsistencies 340 # {"minsnap"} time of the first kstat snaptime used in this delta 341 # {"maxsnap"} time of the last kstat snaptime used in this delta 342 # {"goodness"} cost function applied to this delta 360 # It prints out the delta structure in a nice, human readable display [all...] |
| /netvirt/usr/src/uts/common/syscall/ |
| alarm.c | 61 clock_t delta = (uint_t)deltat; local 87 * to that limit. If delta is negative we can 88 * assume a wrap has occurred so peg delta in 91 if (delta > (LONG_MAX / hz) || delta < 0) 92 delta = LONG_MAX / hz; 94 if (delta) 95 p->p_alarmid = realtime_timeout(sigalarm2proc, p, delta * hz);
|
| adjtime.c | 46 adjtime(struct timeval *delta, struct timeval *olddelta) 58 if (copyin(delta, &atv, sizeof (atv))) 63 if (copyin(delta, &atv32, sizeof (atv32))) 72 * The SVID specifies that if delta is 0, then there is
|
| /netvirt/usr/src/cmd/fm/fminject/common/ |
| inj_log.c | 53 hrtime_t delta; local 73 * For now, compute the delta between the previous record and this one 78 delta = (rec_sec - ilf->ilf_sec) * NANOSEC; 79 delta += (hrtime_t)rec_nsec - (hrtime_t)ilf->ilf_nsec; 81 if (delta < 0) 82 die("record [%d] timestamp delta too large\n", ilf->ilf_index); 84 if (delta > 0) 85 inj_cmds_add(inj_cmd_addhrt(delta));
|
| /netvirt/usr/src/cmd/filebench/common/ |
| eventgen.c | 85 hrtime_t delta; local 102 delta = gethrtime() - last; 104 count = (filebench_shm->eventgen_hz * delta) / 1000000000; 107 "delta %lldms count %d", delta / 1000000, count);
|
| /netvirt/usr/src/cmd/mdb/common/kmdb/ |
| kmdb_umemglue.c | 93 umem__atomic_add_32_nv(uint32_t *target, int32_t delta) 95 return (*target = *target + delta); 99 umem__atomic_add_64(uint64_t *target, int64_t delta) 101 *target = *target + delta;
|
| /netvirt/usr/src/cmd/mailx/ |
| stralloc.c | 127 register unsigned s, delta; local 140 delta = s - (sp->s_nextFree - (char *)optr); 141 if (delta <= sp->s_nleft) { 142 sp->s_nextFree += delta; 143 sp->s_nleft -= delta;
|
| /netvirt/usr/src/uts/common/io/lvm/md/ |
| md_rename.c | 65 /* delta guard rails */ 158 * then adds this "rename delta" onto the delta tree itself. 161 * and hence the number of elements they've added to the delta list 189 md_rename_lock(md_rendelta_t *delta, md_rentxn_t *rtxnp) 194 ASSERT(delta); 197 if (!delta || !rtxnp) { 201 mnum = md_getminor(delta->dev); 212 ASSERT(delta->uip); 213 if (!delta->uip) [all...] |
| /netvirt/usr/src/cmd/fm/fmd/common/ |
| fmd_time.c | 54 fmd_time_addhrtime(hrtime_t delta) 56 fmd.d_clockops->fto_addhrtime(delta); 60 fmd_time_waithrtime(hrtime_t delta) 62 fmd.d_clockops->fto_waithrtime(delta); 88 hrtime_t t0, t1, delta; local 94 delta = t1 - t0; 96 if (delta < hrtmin) { 97 hrtmin = delta; 98 hrtbase = t0 + delta / 2; 278 fmd_simulator_add(hrtime_t delta) [all...] |
| fmd_timerq.c | 41 * Install a new timer to fire after at least 'delta' nanoseconds have elapsed. 49 fmd_timer_f *func, void *arg, fmd_event_t *ep, hrtime_t delta) 72 if (delta < 0) 73 delta = 0; /* ensure delta is at least 0ns from now */ 75 if (base + delta < base) 78 hrt = base + delta; 109 ids->ids_name, id, delta)); 124 hrtime_t delta = 0; local 139 delta = tp->tmr_hrt - fmd_time_gethrtime() [all...] |
| fmd_eventq.c | 89 hrtime_t new, delta; local 95 delta = new - eqs->eqs_wlastupdate.fmds_value.ui64; 100 eqs->eqs_wlentime.fmds_value.ui64 += delta * wcnt; 101 eqs->eqs_wtime.fmds_value.ui64 += delta; 207 hrtime_t new, delta; local 252 delta = new - eqs->eqs_wlastupdate.fmds_value.ui64; 260 eqs->eqs_wlentime.fmds_value.ui64 += delta * wcnt; 261 eqs->eqs_wtime.fmds_value.ui64 += delta; 281 hrtime_t new, delta; local 286 delta = new - eqs->eqs_dlastupdate.fmds_value.ui64 [all...] |
| fmd_ctl.c | 81 int64_t delta = 0; local 83 (void) nvlist_lookup_int64(nvl, FMD_CTL_ADDHRT_DELTA, &delta); 84 fmd_time_addhrtime(delta);
|
| /netvirt/usr/src/uts/common/fs/tmpfs/ |
| tmp_tnode.c | 65 size_t delta, /* size needed */ 68 pgcnt_t pages = btopr(delta); 85 (anon_try_resv_zone(delta, zone) == 0))) { 98 tp, delta); 107 * because anon_unresv does a btopr(delta) 113 size_t delta) 118 anon_unresv_zone(delta, tm->tm_vfsp->vfs_zone); 121 tm->tm_anonmem -= btopr(delta); 124 TRACE_2(TR_FAC_VM, TR_ANON_TMPFS, "anon tmpfs:%p %lu", tp, delta); 236 size_t delta; local [all...] |
| /netvirt/usr/src/common/atomic/ |
| atomic.c | 109 atomic_add_16(volatile uint16_t *target, int16_t delta) 110 { *target += delta; } 117 atomic_add_32(volatile uint32_t *target, int32_t delta) 118 { *target += delta; } 125 atomic_add_long(volatile ulong_t *target, long delta) 126 { *target += delta; } 129 atomic_add_64(volatile uint64_t *target, int64_t delta) 130 { *target += delta; } 269 atomic_add_16_nv(volatile uint16_t *target, int16_t delta) 270 { return (*target += delta); } [all...] |
| /netvirt/usr/src/cmd/cmd-inet/usr.bin/ |
| finger.c | 830 struct tm *delta; local 832 delta = gmtime(dt); 833 if (delta->tm_yday == 0) 834 if (delta->tm_hour == 0) 835 if (delta->tm_min == 0) 838 (void) printf(" %2d", delta->tm_min); 840 if (delta->tm_hour >= 10) 841 (void) printf("%3d:", delta->tm_hour); 844 delta->tm_hour, delta->tm_min) 857 struct tm *delta; local [all...] |
| /netvirt/usr/src/uts/i86xpv/os/ |
| xpv_timestamp.c | 169 hrtime_t delta = xpv_getsystime() - hrtime_suspend_time; local 171 if (delta < 0) 172 hrtime_addend += -delta;
|
| /netvirt/usr/src/uts/common/io/lvm/trans/ |
| trans_ioctl.c | [all...] |
| /netvirt/usr/src/uts/i86pc/io/ |
| todpc_subr.c | 235 int delta, asec, amin, ahr, adom, amon; local 257 delta = nsecs + BCD_TO_BYTE(rtc.rtc_sec); 258 asec = delta % 60; 260 delta = (delta / 60) + BCD_TO_BYTE(rtc.rtc_min); 261 amin = delta % 60; 263 delta = (delta / 60) + BCD_TO_BYTE(rtc.rtc_hr); 264 ahr = delta % 24; 266 if (day_alrm == 0 && delta >= 24) [all...] |
| /netvirt/usr/src/uts/common/os/ |
| callout.c | 103 * Arrange that func(arg) be called after delta clock ticks. 106 timeout_common(void (*func)(void *), void *arg, clock_t delta, 126 if (delta <= 0) 127 delta = 1; 128 cp->c_runtime = runtime = lbolt + delta; 133 if (delta > CALLOUT_LONGTERM_TICKS) 148 func, arg, delta, cp); 154 timeout(void (*func)(void *), void *arg, clock_t delta) 156 return (timeout_common(func, arg, delta, 162 realtime_timeout(void (*func)(void *), void *arg, clock_t delta) [all...] |
| /netvirt/usr/src/cmd/fm/fmstat/common/ |
| fmstat.c | 256 uint64_t delta; local 294 * Compute the elapsed time by taking the delta between 'snaptime', or 296 * If delta is zero, set it to 1sec so we don't divide by zero later. 298 delta = u64delta(old->snaptime.fmds_value.ui64 ? 302 elapsed = delta ? (double)delta : (double)NANOSEC; 305 * Compute average wait queue len by taking the delta in the wait queue 308 delta = u64delta(old->wlentime.fmds_value.ui64, 311 if (delta != 0) 312 mp->m_wait = (double)delta / elapsed [all...] |
| /netvirt/usr/src/uts/sun4v/cpu/ |
| mach_cpu_module.c | 286 atomic_add_16(volatile uint16_t *target, int16_t delta) 296 atomic_add_32(volatile uint32_t *target, int32_t delta) 306 atomic_add_long(volatile ulong_t *target, long delta) 311 atomic_add_64(volatile uint64_t *target, int64_t delta) 486 atomic_add_16_nv(volatile uint16_t *target, int16_t delta) 496 atomic_add_32_nv(volatile uint32_t *target, int32_t delta) 501 atomic_add_int_nv(volatile uint_t *target, int delta) 511 atomic_add_long_nv(volatile ulong_t *target, long delta) 516 atomic_add_64_nv(volatile uint64_t *target, int64_t delta)
|
| /netvirt/usr/src/uts/intel/io/pci/ |
| pci_memlist.c | 178 uint_t delta = 0; local 194 delta = (uint_t)(paddr & (align - 1)); 195 if (delta) 196 paddr += align - delta;
|