/freebsd-9.3-release/sys/contrib/rdma/ |
H A D | rdma_addr.c | 160 callout_reset(&addr_ch, req->timeout - ticks, addr_timeout, NULL); 244 if (req->status && time_after_eq(ticks, req->timeout)) 255 callout_reset(&addr_ch, req->timeout - ticks, addr_timeout, 303 req->timeout = ticks; 307 req->timeout = msecs_to_ticks(timeout_ms) + ticks; 332 req->timeout = ticks; 335 callout_reset(&addr_ch, req->timeout - ticks, addr_timeout, NULL);
|
/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_rssadapt.c | 193 ra->ra_ticks = ticks; 230 if ((ticks - ra->ra_ticks) > ra->ra_rs->interval) { 232 ra->ra_ticks = ticks; 304 ra->ra_last_raise = ticks; 318 (ticks - ra->ra_last_raise) >= ra->ra_raise_interval)
|
H A D | ieee80211_scan.c | 532 time_before(ticks, ic->ic_lastscan + vap->iv_scanvalid)) { 609 "%s: %s scan, ticks %u duration %lu\n", __func__, 611 ticks, duration); 802 * Arrange for the channel change after maxdwell ticks. 882 scanend = ticks + SCAN_PRIVATE(ss)->ss_duration; 892 time_after(ticks + ss->ss_mindwell, scanend)) 900 if (time_after(ticks + ss->ss_maxdwell, scanend)) 901 maxdwell = scanend - ticks; 935 * timeout to switch channels after maxdwell ticks. 945 SCAN_PRIVATE(ss)->ss_chanmindwell = ticks [all...] |
H A D | ieee80211_amrr.c | 161 amn->amn_ticks = ticks; 236 if (is_enough(amn) && (ticks - amn->amn_ticks) > amrr->amrr_interval) { 244 amn->amn_ticks = ticks;
|
H A D | ieee80211_alq.c | 149 r->r_timestamp = htonl(ticks);
|
/freebsd-9.3-release/sys/netinet/cc/ |
H A D | cc_htcp.c | 77 #define HTCP_DELTA_L hz /* 1 sec in ticks. */ 96 * in units of ticks. 158 /* Time of last congestion event in ticks. */ 164 * The maximum number of ticks the value of diff can reach in 210 * for the first HTCP_DELTA_L ticks after either the flow starts 260 htcp_data->t_last_cong = ticks; 290 htcp_data->t_last_cong = ticks; 307 htcp_data->t_last_cong = ticks; 322 htcp_data->t_last_cong = ticks; 379 now = ticks; [all...] |
/freebsd-9.3-release/sys/dev/ipmi/ |
H A D | ipmi_kcs.c | 57 int status, start = ticks; 62 while (ticks - start < MAX_TIMEOUT && status & KCS_STATUS_IBF) { 68 while (ticks - start < MAX_TIMEOUT && 80 int status, start = ticks; 85 while (ticks - start < MAX_TIMEOUT && status & KCS_STATUS_OBF) { 91 while (ticks - start < MAX_TIMEOUT &&
|
/freebsd-9.3-release/sys/sys/ |
H A D | resourcevar.h | 114 void addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks); 115 void addupc_task(struct thread *td, uintfptr_t pc, u_int 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/dev/cfe/ |
H A D | cfe_api_int.h | 126 cfe_xint_t ticks; /* current time in ticks */ member in struct:xiocb_time_s
|
/freebsd-9.3-release/sys/kern/ |
H A D | subr_prof.c | 454 * lose profile ticks when the next tick overwrites this one, but in this 459 addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks) argument 466 if (ticks == 0) 478 if ((v = fuswintr(addr)) == -1 || suswintr(addr, v + ticks) == -1) { 480 td->td_profil_ticks = ticks; 493 addupc_task(struct thread *td, uintfptr_t pc, u_int ticks) argument 502 if (ticks == 0) 523 v += ticks;
|
H A D | subr_taskqueue.c | 237 struct timeout_task *timeout_task, int ticks) 247 if (ticks == 0) { 255 if (ticks < 0) 256 ticks = -ticks; /* Ignore overflow. */ 258 if (ticks > 0) { 259 callout_reset(&timeout_task->c, ticks, 236 taskqueue_enqueue_timeout(struct taskqueue *queue, struct timeout_task *timeout_task, int ticks) argument
|
H A D | subr_lock.c | 153 int ticks; member in struct:lock_prof 349 if (l->ticks == t) 354 l->ticks = t; 379 if (l->ticks == t) 403 t = ticks;
|
H A D | kern_synch.c | 344 * pause() delays the calling thread by the given number of system ticks. 452 td->td_swvoltick = ticks; 469 PCPU_SET(switchticks, ticks); 581 return ((u_int)ticks - (u_int)curthread->td_swvoltick >= hogticks);
|
/freebsd-9.3-release/sys/geom/sched/ |
H A D | gs_rr.c | 92 int q_slice_end; /* actual slice end time, in ticks */ 98 unsigned int q_slice_duration; /* slice size in ticks */ 281 * Get a bounded value, optionally convert to a min of t_min ticks. 294 x = x * hz / 1000; /* convert to ticks */ 322 * slice size in bytes and ticks, and wait ticks. 367 ticks - qp->q_slice_end >= 0) 489 int delta = ticks - qp->q_lastsub, wait = get_bounded(&me.wait_ms, 2); 494 qp->q_lastsub = ticks; 658 qp->q_slice_end = ticks [all...] |
H A D | g_sched.c | 411 gsc->gsc_expire = ticks + me.gs_expire_secs * hz; 426 gsc->gsc_expire = ticks + me.gs_expire_secs * hz; 481 if (!sc->sc_hash || ticks - sc->sc_flush_ticks <= 0) 486 if (cp->gsc_refs == 1 && ticks - cp->gsc_expire > 0) 491 sc->sc_flush_ticks = ticks + me.gs_expire_secs * hz; 505 int endticks = ticks + hz; 509 while (sc->sc_pending && endticks - ticks >= 0) 936 int error = 0, endticks = ticks + hz; 949 endticks - ticks >= 0)
|
/freebsd-9.3-release/sys/netinet/ |
H A D | tcp_timewait.c | 337 new_iss += (ticks - tw->t_starttime) * (ISN_BYTES_PER_SECOND / hz); 338 new_irs += (ticks - tw->t_starttime) * (MS_ISN_BYTES_PER_SECOND / hz); 621 tw->tw_time = ticks + 2 * tcp_msl; 641 if (tw == NULL || (!reuse && (tw->tw_time - ticks) > 0))
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
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;
|
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);
|
/freebsd-9.3-release/sys/dev/iicbus/ |
H A D | ad7418.c | 73 int sc_lastupdate; /* in ticks */ 205 if (ticks - sc->sc_lastupdate > hz) { 214 sc->sc_lastupdate = ticks;
|
/freebsd-9.3-release/sys/vm/ |
H A D | vm_glue.c | 667 p->p_swtick = ticks; 711 swtime = (ticks - p->p_swtick) / hz; 720 slptime = (ticks - td->td_slptick) / hz; 880 slptime = (ticks - td->td_slptick) / hz; 1037 p->p_swtick = ticks;
|
/freebsd-9.3-release/tools/sched/ |
H A D | schedgraph.py | 151 def ticks2sec(ticks): 152 ticks = float(ticks) 154 ticks /= ns 155 if (ticks < 1000): 156 return ("%.2fns" % ticks) 157 ticks /= 1000 158 if (ticks < 1000): 159 return ("%.2fus" % ticks) 160 ticks / [all...] |
/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/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/tools/tools/vhba/mptest/ |
H A D | vhba_mptest.c | 379 int ticks; local 388 ticks = tvtohz(&t); 389 csio->ccb_h.timeout_ch = timeout(vhba_iodelay, &csio->ccb_h, ticks);
|