Searched refs:ticks (Results 126 - 150 of 212) sorted by relevance

123456789

/freebsd-12-stable/sys/net80211/
H A Dieee80211_sta.c1337 ieee80211_time_after(ticks, ic->ic_lastdata + vap->iv_bgscanidle));
1358 ieee80211_time_after(ticks, ic->ic_lastscan + vap->iv_bgscanintvl) &&
1360 ieee80211_time_after(ticks, ic->ic_lastdata + vap->iv_bgscanidle)));
1602 ic->ic_lastdata = ticks;
/freebsd-12-stable/sys/netinet/
H A Dsctp_os_bsd.h281 #define sctp_get_tick_count() (ticks)
H A Dtcp_output.c249 if (idle && (((ticks - tp->t_rcvtime) >= tp->t_rxtcur) ||
250 (tp->t_sndtime && ((ticks - tp->t_sndtime) >= tp->t_rxtcur))))
1479 tp->t_sndtime = ticks;
1481 tp->t_rtttime = ticks;
H A Dtcp_syncache.c384 sch->sch_nextc = ticks + INT_MAX;
432 sc->sc_rxttime = ticks + rexmt;
437 callout_reset(&sch->sch_timer, sch->sch_nextc - ticks,
452 int tick = ticks;
H A Dsctputil.c775 * The conversion from time to ticks and vice versa is done by rounding
777 * know that this corresponds to a positive number of ticks.
784 uint32_t ticks; local
787 ticks = msecs;
791 ticks = UINT32_MAX;
793 ticks = (uint32_t)temp;
796 return (ticks);
800 sctp_ticks_to_msecs(uint32_t ticks) argument
806 msecs = ticks;
808 temp = (((uint64_t)ticks * 100
822 uint32_t ticks; local
834 sctp_ticks_to_secs(uint32_t ticks) argument
[all...]
H A Dsctp_structs.h60 uint32_t ticks; member in struct:sctp_timer
68 uint32_t ticks; member in struct:sctp_foo_stuff
/freebsd-12-stable/sys/netinet/tcp_stacks/
H A Drack.c889 if (tp->t_maxunacktime && tp->t_acktime && TSTMP_GT(ticks, tp->t_acktime)) {
890 if ((ticks - tp->t_acktime) >= tp->t_maxunacktime) {
900 rack_log_progress_event(rack, tp, ticks, PROGRESS_DROP, __LINE__);
2788 (ticks - tp->t_rcvtime >= tcp_maxpersistidle ||
2789 ticks - tp->t_rcvtime >= TCP_REXMTVAL(tp) * tcp_totbackoff)) {
2804 (ticks - tp->t_rcvtime) >= TCPTV_PERSMAX) {
2843 if (ticks - tp->t_rcvtime >= TP_KEEPIDLE(tp) + TP_MAXIDLE(tp))
2996 tp->t_badrxtwin = ticks + (tp->t_srtt >> (TCP_RTT_SHIFT + 1));
3723 * feasible timer (which is 2 ticks).
4272 rack_log_progress_event(rack, tp, ticks, PROGRESS_UPDAT
[all...]
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c851 delay(clock_t ticks) argument
853 poll(0, 0, ticks * (1000 / hz));
/freebsd-12-stable/sys/dev/oce/
H A Doce_if.c2396 if (aic->ticks)
2397 aic->ticks = 0;
2416 now = ticks;
2418 if (!aic->ticks || now < aic->ticks ||
2422 aic->ticks = now;
2426 delta = ticks_to_msecs(now - aic->ticks);
2440 aic->ticks = now;
/freebsd-12-stable/sys/dev/sfxge/
H A Dsfxge_ev.c459 now = ticks;
524 now = ticks;
H A Dsfxge_port.c78 now = ticks;
586 now = ticks;
/freebsd-12-stable/sys/kern/
H A Dsubr_taskqueue.c341 struct timeout_task *ttask, int ticks)
344 return (taskqueue_enqueue_timeout_sbt(queue, ttask, ticks * tick_sbt,
340 taskqueue_enqueue_timeout(struct taskqueue *queue, struct timeout_task *ttask, int ticks) argument
H A Dsched_4bsd.c220 "Quantum for timeshare threads in stathz ticks");
454 * Recompute process priorities, every hz ticks.
938 td->td_slptick = ticks;
1648 PCPU_SET(switchticks, ticks);
/freebsd-12-stable/sys/dev/cxgb/common/
H A Dcxgb_common.h668 unsigned int ticks)
670 return (ticks << adap->params.tp.dack_re) / core_ticks_per_usec(adap);
667 dack_ticks_to_usec(const adapter_t *adap, unsigned int ticks) argument
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dfil.c5934 /* Parameters: ticks(I) - ipf tick time to use with this call */
5938 /* We use use ticks to calculate the expiration and mark for when we last */
5942 ipf_queueback(ticks, tqe)
5943 u_long ticks;
5951 tqe->tqe_die = ticks + ifq->ifq_ttl;
5952 tqe->tqe_touched = ticks;
5977 /* Parameters: ticks(I) - ipf tick time to use with this call */
5983 /* We use use ticks to calculate the expiration and mark for when we last */
5987 ipf_queueappend(ticks, tqe, ifq, parent)
5988 u_long ticks;
[all...]
/freebsd-12-stable/contrib/ntp/ntpd/
H A Dntp_io.c3366 unsigned long ticks; local
3402 ticks = (unsigned long)(nts.l_uf / (unsigned long)(sys_tick * FRAC));
3403 nts.l_uf = (unsigned long)(ticks * (unsigned long)(sys_tick * FRAC));
3417 ticks = (unsigned long)((pts.tv_nsec * 1e-9) /
3419 pts.tv_nsec = (long)(ticks * 1e9 *
3435 ticks = (unsigned long)((ptv.tv_usec * 1e-6) /
3437 ptv.tv_usec = (long)(ticks * 1e6 *
/freebsd-12-stable/contrib/ipfilter/tools/
H A Dipfstat.c1750 static void showfrstates(ifsp, ticks)
1752 u_long ticks;
1784 ifr.ipfr_ttl -= ticks;
1813 ifr.ipfr_ttl -= ticks;
/freebsd-12-stable/sys/dev/pms/freebsd/driver/ini/src/
H A Dosapi.c226 pTMccb->startTime = ticks;
/freebsd-12-stable/sys/dev/usb/
H A Dusb_hub.c2433 udev->pwr_save.last_xfer_time = ticks;
2542 temp = ticks - udev->pwr_save.last_xfer_time;
2584 temp = ticks - udev->pwr_save.last_xfer_time;
2744 udev->pwr_save.last_xfer_time = ticks;
/freebsd-12-stable/stand/kshim/
H A Dbsd_kernel.h324 extern volatile int ticks;
/freebsd-12-stable/crypto/openssl/crypto/bn/asm/
H A Dia64-mont.pl244 // This loop spins in 4*(n+7) ticks on Itanium 2 and should spin in
245 // 7*(n+7) ticks on Itanium (the one codenamed Merced). Factor of 7
500 // The loop is scheduled for 32*n ticks on Itanium 2. Actual attempt
505 // should run in 56*n ticks, because of higher xma latency...
/freebsd-12-stable/sys/dev/ath/
H A Dif_ath_rx.c1026 ath_lna_rx_comb_scan(sc, rs, ticks, hz);
1040 } else if (ticks - sc->sc_ledevent >= sc->sc_ledidle)
/freebsd-12-stable/sys/netinet6/
H A Dnd6_nbr.c1205 nd6_dad_starttimer(struct dadq *dp, int ticks, int send_ns) argument
1210 callout_reset(&dp->dad_timer_ch, ticks,
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_if.c356 bridge_get_time_since_tc(struct bridge_if *bif, uint32_t *ticks) argument
374 *ticks = ct.tv_sec * 100 + ct.tv_usec/10000;
/freebsd-12-stable/sys/compat/ndis/
H A Dsubr_ntoskrnl.c1583 11644473600 * 10000000; /* 100ns ticks from 1601 to 1970 */
3724 ntoskrnl_insert_timer(timer, ticks)
3726 int ticks;
3752 callout_reset(c, ticks, ntoskrnl_timercall, timer);
4202 int ticks; local
4207 ticks = tvtohz(&tv);
4209 return ticks * howmany(10000000, hz);

Completed in 503 milliseconds

123456789