Lines Matching refs:bintime

127 struct bintime {  struct
133 bintime_addx(struct bintime *_bt, uint64_t _x) in bintime_addx() argument
145 bintime_subx(struct bintime *_bt, uint64_t _x) in bintime_subx()
157 bintime_addns(struct bintime *bt, uint64_t ns) in bintime_addns()
169 bintime_subns(struct bintime *bt, uint64_t ns) in bintime_subns()
181 bintime_addxns(struct bintime *bt, uint64_t a, int64_t xns) in bintime_addxns()
202 bintime_add(struct bintime *_bt, const struct bintime *_bt2) in bintime_add()
215 bintime_sub(struct bintime *_bt, const struct bintime *_bt2) in bintime_sub()
228 clock2bintime(const clock_sec_t *secs, const clock_usec_t *microsecs, struct bintime *_bt) in clock2bintime()
236 bintime2usclock(const struct bintime *_bt, clock_sec_t *secs, clock_usec_t *microsecs) in bintime2usclock()
243 bintime2nsclock(const struct bintime *_bt, clock_sec_t *secs, clock_usec_t *nanosecs) in bintime2nsclock()
251 bintime2absolutetime(const struct bintime *_bt, uint64_t *abs) in bintime2absolutetime()
284 …struct bintime offset; /* cumulative offset expressed in (sec, 64 bits frac of a second) …
285 …struct bintime bintime; /* cumulative offset (it includes bootime) expressed in (sec, 64 … member
286 struct bintime boottime; /* boot time expressed in (sec, 64 bits frac of a second) */
288 struct bintime basesleep;
509 static struct bintime
513 struct bintime bt; in scale_delta()
567 static struct bintime
588 struct bintime bt; in clock_get_calendar_absolute_and_microtime_locked()
596 bintime_add(&bt, &clock_calend.bintime); in clock_get_calendar_absolute_and_microtime_locked()
607 struct bintime bt; in clock_get_calendar_absolute_and_nanotime_locked()
615 bintime_add(&bt, &clock_calend.bintime); in clock_get_calendar_absolute_and_nanotime_locked()
697 struct bintime bt; in clock_gettimeofday_and_absolute_time()
704 bintime_add(&bt, &clock_calend.bintime); in clock_gettimeofday_and_absolute_time()
741 struct bintime bt; in clock_set_calendar_microtime()
802 clock_calend.bintime = clock_calend.boottime; in clock_set_calendar_microtime()
803 bintime_add(&clock_calend.bintime, &clock_calend.offset); in clock_set_calendar_microtime()
861 struct bintime bt; in clock_get_calendar_uptime()
887 struct bintime bt; in clock_update_calendar()
909 clock_calend.bintime = clock_calend.offset; in clock_update_calendar()
910 bintime_add(&clock_calend.bintime, &clock_calend.boottime); in clock_update_calendar()
915 ntp_update_second(&adjustment, clock_calend.bintime.sec); in clock_update_calendar()
928 …clock_gettimeofday_set_commpage(now, clock_calend.bintime.sec, clock_calend.bintime.frac, clock_ca… in clock_update_calendar()
958 bintime2usclock(&clock_calend_cp->bintime, &bintime_secs, &bintime_microsecs); in print_all_clock_variables_internal()
968 func, clock_calend_cp->bintime.sec, clock_calend_cp->bintime.frac, in print_all_clock_variables_internal()
993 struct bintime bt; in print_all_clock_variables()
1012 bintime_add(&bt, &clock_calend_cp->bintime); in print_all_clock_variables()
1041 struct bintime bt; in clock_initialize_calendar()
1043 struct bintime monotonic_bt; in clock_initialize_calendar()
1111 clock_calend.bintime = bt; in clock_initialize_calendar()
1166 struct bintime sleep_time; in scale_sleep_time()
1181 bintime_add(&clock_calend.bintime, &sleep_time); in scale_sleep_time()
1242 struct bintime bt, last_sleep_bt; in clock_wakeup_calendar_legacy()
1366 bintime_add(&clock_calend.bintime, &last_sleep_bt); in clock_wakeup_calendar_legacy()
1381 bintime_add(&bt, &clock_calend.bintime); in clock_wakeup_calendar_legacy()
1404 bintime_add(&clock_calend.bintime, &last_sleep_bt); in clock_wakeup_calendar_legacy()
1816 struct bintime bt; in clock_get_calendar_nanotime_nowait()
1846 bintime_add(&bt, &clock_calend.bintime); in clock_get_calendar_nanotime_nowait()