/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzpool/common/ |
H A D | kernel.c | 796 delay(clock_t ticks) argument 798 poll(0, 0, ticks * (1000 / hz));
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 541 extern void delay(clock_t ticks);
|
/freebsd-9.3-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII.c | 385 u_int ticks; local 387 if ((ticks = mibif_force_hc_update_interval) == 0) { 390 ticks = 3000 * 100; /* 50 minutes */ 393 ticks = 300 * 100; /* 5 minutes */ 396 ticks = 40 * 100; /* 40 seconds */ 399 ticks = 20 * 100; /* 20 seconds */ 402 ticks = 100; /* 1 seconds */ 406 if (ticks == mibif_hc_update_interval) 414 if ((hc_update_timer = timer_start_repeat(ticks * 10, ticks * 1 [all...] |
/freebsd-9.3-release/contrib/bsnmp/snmpd/ |
H A D | main.c | 1997 timer_start(u_int ticks, void (*func)(void *), void *udata, struct lmodule *mod) argument 2011 evConsTime(ticks / 100, (ticks % 100) * 10000)); 2021 if ((tp->id = poll_start_timer(ticks * 10, 0, tfunc, tp)) < 0) { 2037 * is currently ignored and the initial number of ticks is set to the 2038 * repeat number of ticks. 2041 timer_start_repeat(u_int ticks __unused, u_int repeat_ticks, 2057 evConsTime(ticks / 100, (ticks % 100) * 10000));
|
/freebsd-9.3-release/contrib/ipfilter/tools/ |
H A D | ipfstat.c | 1631 static void showfrstates(ifsp, ticks) 1633 u_long ticks; 1665 ifr.ipfr_ttl -= ticks; 1694 ifr.ipfr_ttl -= ticks;
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | systime.c | 134 long ticks; local 154 ticks = (long)((tsp->tv_nsec * 1e-9) / sys_tick); 155 tsp->tv_nsec = (long)(ticks * 1e9 * sys_tick); 288 long ticks; local 325 ticks = (long)(dtemp / quant + .5); 326 adjtv.tv_usec = (long)(ticks * quant * 1.e6 + .5);
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | ntp_io.c | 3288 unsigned long ticks; local 3324 ticks = (unsigned long)(nts.l_uf / (unsigned long)(sys_tick * FRAC)); 3325 nts.l_uf = (unsigned long)(ticks * (unsigned long)(sys_tick * FRAC)); 3339 ticks = (unsigned long)((pts.tv_nsec * 1e-9) / 3341 pts.tv_nsec = (long)(ticks * 1e9 * 3357 ticks = (unsigned long)((ptv.tv_usec * 1e-6) / 3359 ptv.tv_usec = (long)(ticks * 1e6 *
|
H A D | ntpsim.c | 555 long ticks; local 571 ticks = (long)(dtemp / sys_tick + .5); 572 adjtv.tv_usec = (long)(ticks * sys_tick * 1e6);
|
H A D | refclock_shm.c | 115 int ticks; /* number of attempts to read data*/ member in struct:shmunit 538 up->ticks++; 655 up->ticks, up->good, up->notready, 658 up->ticks = up->good = up->notready = up->bad = up->clash = 0;
|
/freebsd-9.3-release/contrib/ntp/parseutil/ |
H A D | dcfd.c | 166 static unsigned long ticks = 0; variable 1133 ticks += 1<<ADJINTERVAL; 1135 if ((ticks - last_sync) > MAX_UNSYNC) 1147 last_notice = ticks; 1153 if ((ticks - last_notice) > NOTICE_INTERVAL) 1156 last_notice = ticks; 1774 last_sync = ticks;
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 353 ticks since startup. The accuracy here might be as bad as 10-20 msec, I 422 DWORD ticks = GetTickCount(); local 423 if (ticks < base->last_tick_count) { 426 base->last_tick_count = ticks; 427 return ticks + base->adjust_tick_count; 472 ev_uint64_t ticks = evutil_GetTickCount_(base); local 484 ticks_elapsed = ticks - base->first_tick; 504 tp->tv_sec = (time_t) (ticks / 1000); 505 tp->tv_usec = (ticks % 1000) * 1000;
|
/freebsd-9.3-release/contrib/ntp/tests/libntp/ |
H A D | timespecops.c | 25 static u_int32 my_tick_to_tsf(u_int32 ticks); 178 my_tick_to_tsf(u_int32 ticks) argument 186 return (u_int32)((( ((u_int64)(ticks)) << 32) + 500000000) / 1000000000); 188 return (u_int32)((double(ticks)) * 4.294967296 + 0.5); 190 // And before you ask: if ticks >= 1000000000, the result is
|
H A D | timevalops.c | 20 static u_int32 my_tick_to_tsf(u_int32 ticks); 173 my_tick_to_tsf(u_int32 ticks) argument 181 return (u_int32)((( ((u_int64)(ticks)) << 32) + 500000) / 1000000); //I put too much () when casting just to be safe 183 return (u_int32)( ((double)(ticks)) * 4294.967296 + 0.5); 185 // And before you ask: if ticks >= 1000000, the result is
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | ratectrl.c | 197 /* 6 buckets for ticks: 60s */ 232 unsigned int ticks; local 241 ticks = now / ChtGran; 392 CTime_T *ct = &chBest->ch_Times[ticks % CHTSIZE]; 394 if (ct->ct_Ticks != ticks) 396 ct->ct_Ticks = ticks; 408 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE) 442 unsigned int ticks; local 448 ticks [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/ |
H A D | tmdiff.c | 141 unsigned long ticks; 184 tm->ticks = tickGet(); 219 ret = (double)(b->ticks - a->ticks) / (double)sysClkRateGet(); 248 d = (b->ticks - a->ticks);
|
/freebsd-9.3-release/include/rpcsvc/ |
H A D | nis_db.h | 101 long ticks; member in struct:db_result
|
/freebsd-9.3-release/lib/libkvm/ |
H A D | kvm_proc.c | 86 static int ticks; variable 396 kp->ki_swtime = (ticks - proc.p_swtick) / hz; 576 if (KREAD(kd, nl[3].n_value, &ticks)) { 577 _kvm_err(kd, kd->program, "can't read ticks");
|
/freebsd-9.3-release/sys/amd64/acpica/ |
H A D | acpi_wakeup.c | 300 PCPU_SET(switchticks, ticks);
|
/freebsd-9.3-release/sys/amd64/amd64/ |
H A D | mp_machdep.c | 1431 PCPU_SET(switchticks, ticks);
|
/freebsd-9.3-release/sys/arm/mv/ |
H A D | timer.c | 345 uint64_t ticks; local 356 ticks = (uint64_t)(ns * get_tclk()) / 1000000000; 357 if (ticks > MAX_WATCHDOG_TICKS) 361 mv_set_timer(2, ticks);
|
/freebsd-9.3-release/sys/boot/i386/boot0/ |
H A D | boot0.S | 162 /* ticks is at a fixed position */ 163 .set _TICKS, (PRT_OFF - 0x200 - 2) # Timeout ticks 673 ticks: .word TICKS # Delay label
|
H A D | boot0ext.S | 54 .set _TICKS,-(_PRT_END+0x44) # Timeout ticks 426 ticks: .word TICKS # Delay label
|
/freebsd-9.3-release/sys/boot/i386/boot2/ |
H A D | boot2.c | 40 #define SECOND 18 /* Circa that many ticks in a second. */ 609 keyhit(unsigned ticks) argument 622 if ((uint32_t)(t1 - t0) >= ticks)
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu_zfetch.c | 607 clock_t ticks; local 609 ticks = zfetch_min_sec_reap * hz; 616 if (ddi_get_lbolt() - zs->zst_last > ticks)
|
/freebsd-9.3-release/sys/compat/ndis/ |
H A D | subr_hal.c | 387 return ((uint64_t)ticks);
|