| /f-stack/freebsd/sys/ |
| H A D | time.h | 129 #define SBT_1S ((sbintime_t)1 << 32) macro 130 #define SBT_1M (SBT_1S * 60) 131 #define SBT_1MS (SBT_1S / 1000) 132 #define SBT_1US (SBT_1S / 1000000) 193 if (ns >= SBT_1S) in sbttons() 209 if (_ns >= SBT_1S) { in nstosbt() 210 sb = (_ns / 1000000000) * SBT_1S; in nstosbt() 233 if (_us >= SBT_1S) { in ustosbt() 234 sb = (_us / 1000000) * SBT_1S; in ustosbt() 257 if (_ms >= SBT_1S) { in mstosbt() [all …]
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | vrtc.c | 486 SBT_1S / 256, in vrtc_freq() 487 SBT_1S / 128, in vrtc_freq() 492 SBT_1S / 512, in vrtc_freq() 493 SBT_1S / 256, in vrtc_freq() 494 SBT_1S / 128, in vrtc_freq() 495 SBT_1S / 64, in vrtc_freq() 496 SBT_1S / 32, in vrtc_freq() 497 SBT_1S / 16, in vrtc_freq() 498 SBT_1S / 8, in vrtc_freq() 499 SBT_1S / 4, in vrtc_freq() [all …]
|
| /f-stack/freebsd/net/route/ |
| H A D | route_temporal.c | 103 callout_reset_sbt(&rnh->expire_callout, SBT_1S * seconds, in expire_callout() 142 callout_reset_sbt(&rnh->expire_callout, SBT_1S * seconds, in tmproutes_update()
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_timer.c | 111 ticks = (first * et->et_frequency) / SBT_1S; in jz4780_timer_start() 221 sc->et.et_min_period = (0x00000002LLU * SBT_1S) / sc->et.et_frequency; in jz4780_timer_attach() 222 sc->et.et_max_period = (0x0000fffeLLU * SBT_1S) / sc->et.et_frequency; in jz4780_timer_attach()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | condvar.h | 74 if (_ns >= SBT_1S) { in zfs_nstosbt() 75 sb = (_ns / 1000000000) * SBT_1S; in zfs_nstosbt()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_clocksource.c | 345 state->nextevent += SBT_1S; 437 timerperiod = SBT_1S / freq; 579 if (et->et_min_period > SBT_1S) 584 if (et->et_max_period < SBT_1S && et->et_max_period != 0) 668 tick_sbt = SBT_1S / hz; 670 statperiod = SBT_1S / stathz; 671 profperiod = SBT_1S / profhz;
|
| H A D | kern_timeout.c | 438 lookahead = (SBT_1S / 16); in callout_process() 440 lookahead = (SBT_1S / 8); in callout_process() 442 lookahead = (SBT_1S / 2); in callout_process() 1349 if (sbt >= SBT_1S) in flssbt() 1425 medt / SBT_1S, (medt & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat() 1427 maxt / SBT_1S, (maxt & 0xffffffff) * 1000000 >> 32); in sysctl_kern_callout_stat() 1429 medpr / SBT_1S, (medpr & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat() 1431 maxpr / SBT_1S, (maxpr & 0xffffffff) * 1000000 >> 32); in sysctl_kern_callout_stat() 1441 t / SBT_1S, (t & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat()
|
| H A D | subr_log.c | 123 SBT_1S / log_wakeups_per_second, 0, logtimeout, NULL, C_PREL(1)); in logopen() 252 SBT_1S / log_wakeups_per_second, 0, logtimeout, NULL, C_PREL(1)); in logtimeout()
|
| H A D | kern_synch.c | 326 while (sbt >= SBT_1S) { in pause_sbt() 328 sbt -= SBT_1S; in pause_sbt()
|
| H A D | subr_param.c | 181 tick_sbt = SBT_1S / hz; in init_param1()
|
| H A D | kern_resource.c | 643 callout_reset_sbt(&p->p_limco, SBT_1S, 0, in lim_cb() 695 callout_reset_sbt(&p->p_limco, SBT_1S, 0, in kern_proc_setrlimit() 1228 callout_reset_sbt(&p2->p_limco, SBT_1S, 0, in lim_fork()
|
| H A D | kern_event.c | 636 if (data > (SBT_MAX / SBT_1S)) in timer2sbintime() 645 if (secs > (SBT_MAX / SBT_1S)) in timer2sbintime() 655 if (secs > (SBT_MAX / SBT_1S)) in timer2sbintime() 665 if (secs > (SBT_MAX / SBT_1S)) in timer2sbintime()
|
| H A D | tty.c | 169 timeout_at = getsbinuptime() + SBT_1S; in tty_drain() 171 timeout_at = getsbinuptime() + SBT_1S * tp->t_drainwait; in tty_drain() 199 timeout_at += SBT_1S; in tty_drain()
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_log_buf.c | 62 #define TCP_LOG_EXPIRE_TIME ((sbintime_t)60 * SBT_1S) 65 #define TCP_LOG_EXPIRE_INTVL ((sbintime_t)5 * SBT_1S) 1215 expiry_limit = getsbinuptime() + SBT_1S; in tcp_log_expire() 1282 SBT_1S, tcp_log_expire, NULL, C_ABSOLUTE); in tcp_log_expire() 1425 tln->tln_expiretime, SBT_1S, tcp_log_expire, in tcp_log_tcpcbfini() 1447 callouttime, SBT_1S, tcp_log_expire, NULL, in tcp_log_tcpcbfini()
|
| /f-stack/lib/ |
| H A D | ff_kern_timeout.c | 1113 if (sbt >= SBT_1S) in flssbt() 1180 medt / SBT_1S, (medt & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat() 1190 t / SBT_1S, (t & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | mpcore_timer.c | 354 sc->et.et_max_period = 2 * SBT_1S; in attach_et()
|
| /f-stack/freebsd/x86/x86/ |
| H A D | local_apic.c | 570 lapic_et.et_max_period = SBT_1S; in native_lapic_init()
|