/freebsd/sys/amd64/vmm/io/ |
H A D | vrtc.c | 163 secs = delta / SBT_1S; in vrtc_curtime() 165 *basetime += secs * SBT_1S; in vrtc_curtime() 484 SBT_1S / 256, in vrtc_freq() 485 SBT_1S / 128, in vrtc_freq() 486 SBT_1S / 8192, in vrtc_freq() 487 SBT_1S / 4096, in vrtc_freq() 488 SBT_1S / 2048, in vrtc_freq() 489 SBT_1S / 1024, in vrtc_freq() 490 SBT_1S / 512, in vrtc_freq() 491 SBT_1S / 256, in vrtc_freq() [all …]
|
/freebsd/sys/sys/ |
H A D | time.h | 127 #define SBT_1S ((sbintime_t)1 << 32) macro 128 #define SBT_1M (SBT_1S * 60) 129 #define SBT_1MS (SBT_1S / 1000) 130 #define SBT_1US (SBT_1S / 1000000) 131 #define SBT_1NS (SBT_1S / 1000000000) /* beware rounding, see nstosbt() */ 265 return (__stime64_scale64_floor(sbt, units_per_second, SBT_1S)); \ 270 return (__stime64_scale64_ceil(name, SBT_1S, units_per_second)); \ 598 #define SBT2FREQ(sbt) ((SBT_1S + ((sbt) >> 1)) / (sbt))
|
/freebsd/sys/net/route/ |
H A D | route_temporal.c | 101 callout_reset_sbt(&rnh->expire_callout, SBT_1S * seconds, in expire_callout() 141 callout_reset_sbt(&rnh->expire_callout, SBT_1S * seconds, in tmproutes_update()
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 341 state->nextevent += SBT_1S; 433 timerperiod = SBT_1S / freq; 575 if (et->et_min_period > SBT_1S) 580 if (et->et_max_period < SBT_1S && et->et_max_period != 0) 664 tick_sbt = SBT_1S / hz; 666 statperiod = SBT_1S / stathz; 667 profperiod = SBT_1S / profhz;
|
H A D | kern_timeout.c | 451 lookahead = (SBT_1S / 16); in callout_process() 453 lookahead = (SBT_1S / 8); in callout_process() 455 lookahead = SBT_1S; in callout_process() 1374 if (sbt >= SBT_1S) in flssbt() 1450 medt / SBT_1S, (medt & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat() 1452 maxt / SBT_1S, (maxt & 0xffffffff) * 1000000 >> 32); in sysctl_kern_callout_stat() 1454 medpr / SBT_1S, (medpr & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat() 1456 maxpr / SBT_1S, (maxpr & 0xffffffff) * 1000000 >> 32); in sysctl_kern_callout_stat() 1466 t / SBT_1S, (t & 0xffffffff) * 1000000 >> 32, in sysctl_kern_callout_stat()
|
H A D | subr_log.c | 118 SBT_1S / log_wakeups_per_second, 0, logtimeout, NULL, C_PREL(1)); in logopen() 247 SBT_1S / log_wakeups_per_second, 0, logtimeout, NULL, C_PREL(1)); in logtimeout()
|
H A D | kern_synch.c | 327 while (sbt >= SBT_1S) { in pause_sbt() 329 sbt -= SBT_1S; in pause_sbt()
|
H A D | subr_param.c | 192 tick_sbt = SBT_1S / hz; in init_param1()
|
H A D | kern_resource.c | 641 callout_reset_sbt(&p->p_limco, SBT_1S, 0, in lim_cb() 693 callout_reset_sbt(&p->p_limco, SBT_1S, 0, in kern_proc_setrlimit() 1364 callout_reset_sbt(&p2->p_limco, SBT_1S, 0, in lim_fork()
|
/freebsd/sys/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()
|
/freebsd/sys/dev/ena/ |
H A D | ena.h | 138 #define ENA_DEFAULT_KEEP_ALIVE_TO (SBT_1S * 6) 141 #define ENA_DEFAULT_TX_CMP_TO (SBT_1S * 5) 541 callout_reset_sbt(&(_adapter)->timer_service, SBT_1S, SBT_1S, \
|
/freebsd/sys/dev/random/fenestrasX/ |
H A D | fx_pool.c | 482 sbt = SBT_1S; in fxrng_alg_seeded() 592 sbt = next_ival * SBT_1S; in fxent_timer_reseed() 608 sbt = SBT_1S; in fxent_pool_timer_init()
|
/freebsd/sys/dev/wg/ |
H A D | wg_cookie.c | 34 #define INITIATION_COST (SBT_1S / INITIATIONS_PER_SECOND) 306 return (now > (timer + sec * SBT_1S + nstosbt(nsec))) ? ETIMEDOUT : 0; in timer_expired() 404 expiry = getsbinuptime() - ELEMENT_TIMEOUT * SBT_1S; in ratelimit_gc()
|
/freebsd/sys/riscv/vmm/ |
H A D | vmm_vtimer.c | 109 time = delta * SBT_1S / vtimer->freq; in vtimer_set_timer()
|
/freebsd/sys/netinet/ |
H A D | ip_reass.c | 342 SBT_1S * V_ipfragttl, SBT_1S, ipreass_callout, in ip_reass() 624 callout_reset_sbt(&bucket->timer, SBT_1S * t, SBT_1S, in ipreass_reschedule()
|
H A D | tcp_log_buf.c | 64 #define TCP_LOG_EXPIRE_TIME ((sbintime_t)60 * SBT_1S) 67 #define TCP_LOG_EXPIRE_INTVL ((sbintime_t)5 * SBT_1S) 1321 expiry_limit = getsbinuptime() + SBT_1S; in tcp_log_expire() 1388 SBT_1S, tcp_log_expire, NULL, C_ABSOLUTE); in tcp_log_expire() 1581 tln->tln_expiretime, SBT_1S, tcp_log_expire, in tcp_log_tcpcbfini() 1603 callouttime, SBT_1S, tcp_log_expire, NULL, in tcp_log_tcpcbfini()
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_qpair.c | 1228 callout_schedule_sbt(&qpair->timer, SBT_1S / 2, SBT_1S / 2, 0); in nvme_qpair_timeout() 1259 tr->deadline = getsbinuptime() + timeout * SBT_1S; in nvme_qpair_submit_tracker() 1262 callout_reset_sbt_on(&qpair->timer, SBT_1S / 2, SBT_1S / 2, in nvme_qpair_submit_tracker()
|
/freebsd/sys/netsmb/ |
H A D | smb_trantcp.c | 157 so->so_rcv.sb_timeo = (5 * SBT_1S); in nb_connect_in() 158 so->so_snd.sb_timeo = (5 * SBT_1S); in nb_connect_in()
|
/freebsd/sys/dev/gpio/ |
H A D | gpioths.c | 296 GPIOTHS_POLLTIME * SBT_1S, 0, C_PREL(3)); in gpioths_poll()
|
/freebsd/sys/i386/i386/ |
H A D | trap.c | 426 sysbeep(880, SBT_1S); in trap() 683 sysbeep(880, SBT_1S); in trap()
|
/freebsd/sys/arm/arm/ |
H A D | mpcore_timer.c | 351 sc->et.et_max_period = 2 * SBT_1S; in attach_et()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl.h | 288 #define IXL_PF_MAX_LINK_POLL SBT_1S * 5
|
/freebsd/sys/dev/random/ |
H A D | fortuna.c | 468 now - fortuna_state.fs_lasttime <= SBT_1S/10) in random_fortuna_pre_read()
|
/freebsd/sys/x86/x86/ |
H A D | mca.c | 1021 mca_ticks * SBT_1S, 0, C_PREL(1)); in mca_scan_cpus() 1080 mca_ticks * SBT_1S, 0, C_PREL(1)); in mca_startup()
|
/freebsd/sys/arm64/vmm/io/ |
H A D | vtimer.c | 296 time = diff * SBT_1S / tmr_frq; in vtimer_schedule_irq()
|