/freebsd-9.3-release/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 51 * Convert milliseconds to ticks. 193 prevtick = ticks; 203 slptick = ticks - prevtick; 386 prevtick = ticks; 397 slptick = ticks - prevtick;
|
/freebsd-9.3-release/sys/sys/ |
H A D | taskqueue.h | 66 struct timeout_task *timeout_task, int ticks);
|
H A D | kernel.h | 66 extern volatile int ticks;
|
/freebsd-9.3-release/contrib/ntp/tests/libntp/ |
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
|
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
|
/freebsd-9.3-release/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 174 if (on->on_interval != 0 && ticks - on->on_ticks > on->on_interval) { 176 on->on_ticks = ticks;
|
/freebsd-9.3-release/sys/dev/netmap/ |
H A D | if_lem_netmap.h | 157 if (ticks != kring->last_reclaim || flags & NAF_FORCE_RECLAIM || nm_kr_txempty(kring)) { 158 kring->last_reclaim = ticks;
|
/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_dfs.c | 212 now = oldest = ticks; 278 now = ticks;
|
H A D | ieee80211_scan_sta.c | 367 if (se->se_fails && (ticks - se->se_lastfail) > STA_FAILS_AGE*hz) { 373 se->se_lastupdate = ticks; /* update time */ 1329 if (time_after(ticks, ic->ic_lastscan + vap->iv_scanvalid)) { 1339 time_after(ticks, ic->ic_lastdata + vap->iv_bgscanidle)) 1410 se->base.se_age = ticks - se->se_lastupdate; 1431 se->se_lastfail = ticks; 1453 se->se_lastassoc = ticks;
|
/freebsd-9.3-release/sys/dev/ath/ath_rate/sample/ |
H A D | sample.c | 250 ticks - sn->stats[size_bin][rix].last_tx < ssc->stale_failure_timeout) { 391 } else if (ticks - ssc->min_switch > sn->ticks_since_switch[size_bin]) { 420 sn->ticks_since_switch[size_bin] = ticks; 558 sn->stats[y][rix0].last_tx = ticks; 567 sn->stats[size_bin][rix0].last_tx = ticks; 888 printf("[%4u] cur rix %d (%d %s) since switch: packets %d ticks %u\n", 915 ticks - sn->stats[y][rix].last_tx);
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_pptpgre.c | 840 int remain, ticks; local 849 ticks = (((remain * hz) + PPTP_TIME_SCALE - 1) / PPTP_TIME_SCALE) + 1; 851 ticks, ng_pptpgre_recv_ack_timeout, hpriv, 0); 887 int ackTimeout, ticks; local 897 ticks = (((ackTimeout * hz) + PPTP_TIME_SCALE - 1) / PPTP_TIME_SCALE); 899 ticks, ng_pptpgre_send_ack_timeout, hpriv, 0);
|
/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/dev/ath/ath_hal/ar9002/ |
H A D | ar9285_diversity.c | 363 unsigned long ticks, int hz) 408 if (time_after(ticks, antcomb->scan_start_time + 631 antcomb->scan_start_time = ticks; 362 ar9285_ant_comb_scan(struct ath_hal *ah, struct ath_rx_status *rs, unsigned long ticks, int hz) argument
|
/freebsd-9.3-release/sys/dev/drm/ |
H A D | via_dmablit.c | 354 } else if (blitq->is_active && (ticks >= blitq->end)) { 362 blitq->end = ticks + DRM_HZ; 371 blitq->end = ticks + DRM_HZ;
|
/freebsd-9.3-release/sys/netinet/ |
H A D | tcp_input.c | 1519 tp->t_rcvtime = ticks; 1661 (int)(ticks - tp->t_badrxtwin) < 0) { 1685 tp->t_rttlow > ticks - tp->t_rtttime) 1686 tp->t_rttlow = ticks - tp->t_rtttime; 1688 ticks - tp->t_rtttime); 1958 tp->t_starttime = ticks; 2360 tp->t_starttime = ticks; 2640 (int)(ticks - tp->t_badrxtwin) < 0) 2665 if (!tp->t_rttlow || tp->t_rttlow > ticks - tp->t_rtttime) 2666 tp->t_rttlow = ticks [all...] |
/freebsd-9.3-release/sys/x86/x86/ |
H A D | mca.c | 501 delta = (u_int)(ticks - cc->last_intr); 518 cc->last_intr = ticks; 817 cc->last_intr = -ticks;
|
/freebsd-9.3-release/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 181 ticks - amn->amn_ticks > amn->amn_interval) { 183 amn->amn_ticks = ticks;
|
/freebsd-9.3-release/sys/dev/cfe/ |
H A D | cfe_api.c | 362 xiocb.plist.xiocb_time.ticks = 0; 366 return xiocb.plist.xiocb_time.ticks;
|
/freebsd-9.3-release/sys/dev/drm2/i915/ |
H A D | intel_drv.h | 41 end = ticks + (MS) * hz / 1000; \ 45 if (time_after(ticks, end)) { \
|
/freebsd-9.3-release/usr.sbin/boot0cfg/ |
H A D | boot0cfg.c | 60 int ticks; member in struct:opt_offsets 74 #define OFF_TICKS (b0_ofs[b0_ver].ticks) /* clock ticks */ 427 printf("version=%d.%d drive=0x%x mask=0x%x ticks=%u", 572 " [-o options] [-s slice] [-t ticks] disk");
|
/freebsd-9.3-release/sys/compat/ndis/ |
H A D | subr_hal.c | 387 return ((uint64_t)ticks);
|
/freebsd-9.3-release/sys/i386/acpica/ |
H A D | acpi_wakeup.c | 286 PCPU_SET(switchticks, ticks);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_clocksource.c | 75 static void cpu_new_callout(int cpu, int ticks); 768 * Switch to idle mode (all ticks handled). 801 * Switch to active mode (skip empty ticks). 867 cpu_new_callout(int cpu, int ticks) argument 873 curcpu, cpu, ticks); 886 bintime_mul(&tmp, ticks - 1);
|
H A D | kern_timeout.c | 107 * It tracks the global 'ticks' but in a way that the individual 155 void (*callout_new_inserted)(int cpu, int ticks) = NULL; 347 cc->cc_firsttick = cc->cc_ticks = ticks; 378 /* search scanning ticks */ 427 c->c_time = ticks + to_ticks; 434 to_ticks + (ticks - cc->cc_ticks)); 1098 * How many ticks were we asleep? 1131 /* take back the ticks the timer didn't use (p->c_time <= 0) */
|
H A D | sched_ule.c | 100 u_int ts_slptime; /* Number of ticks we vol. slept */ 101 u_int ts_runtime; /* Number of ticks we were running */ 139 * SCHED_TICK_TARG: Number of hz ticks to average the cpu usage across. 140 * SCHED_TICK_MAX: Maximum number of ticks before scaling back. 142 * SCHED_TICK_HZ: Compute the number of hz ticks for a given ticks count. 143 * SCHED_TICK_TOTAL: Gives the amount of time we've been recording ticks. 155 * by the ratio of ticks to the tick total. NHALF priorities at the start 161 * PRI_TICKS: Compute a priority in PRI_RANGE from the ticks count and total. 256 #define SCHED_AFFINITY(ts, t) ((ts)->ts_rltick > ticks [all...] |