Lines Matching refs:bintime

126 struct bintime {  struct
132 bintime_addx(struct bintime *_bt, uint64_t _x) in bintime_addx() argument
144 bintime_subx(struct bintime *_bt, uint64_t _x) in bintime_subx()
156 bintime_addns(struct bintime *bt, uint64_t ns) in bintime_addns()
168 bintime_subns(struct bintime *bt, uint64_t ns) in bintime_subns()
180 bintime_addxns(struct bintime *bt, uint64_t a, int64_t xns) in bintime_addxns()
201 bintime_add(struct bintime *_bt, const struct bintime *_bt2) in bintime_add()
214 bintime_sub(struct bintime *_bt, const struct bintime *_bt2) in bintime_sub()
227 clock2bintime(const clock_sec_t *secs, const clock_usec_t *microsecs, struct bintime *_bt) in clock2bintime()
235 bintime2usclock(const struct bintime *_bt, clock_sec_t *secs, clock_usec_t *microsecs) in bintime2usclock()
242 bintime2nsclock(const struct bintime *_bt, clock_sec_t *secs, clock_usec_t *nanosecs) in bintime2nsclock()
250 bintime2absolutetime(const struct bintime *_bt, uint64_t *abs) in bintime2absolutetime()
283 …struct bintime offset; /* cumulative offset expressed in (sec, 64 bits frac of a second) …
284 …struct bintime bintime; /* cumulative offset (it includes bootime) expressed in (sec, 64 … member
285 struct bintime boottime; /* boot time expressed in (sec, 64 bits frac of a second) */
287 struct bintime basesleep;
505 static struct bintime
509 struct bintime bt; in scale_delta()
563 static struct bintime
584 struct bintime bt; in clock_get_calendar_absolute_and_microtime_locked()
592 bintime_add(&bt, &clock_calend.bintime); in clock_get_calendar_absolute_and_microtime_locked()
603 struct bintime bt; in clock_get_calendar_absolute_and_nanotime_locked()
611 bintime_add(&bt, &clock_calend.bintime); in clock_get_calendar_absolute_and_nanotime_locked()
693 struct bintime bt; in clock_gettimeofday_and_absolute_time()
700 bintime_add(&bt, &clock_calend.bintime); in clock_gettimeofday_and_absolute_time()
737 struct bintime bt; in clock_set_calendar_microtime()
798 clock_calend.bintime = clock_calend.boottime; in clock_set_calendar_microtime()
799 bintime_add(&clock_calend.bintime, &clock_calend.offset); in clock_set_calendar_microtime()
857 struct bintime bt; in clock_get_calendar_uptime()
883 struct bintime bt; in clock_update_calendar()
905 clock_calend.bintime = clock_calend.offset; in clock_update_calendar()
906 bintime_add(&clock_calend.bintime, &clock_calend.boottime); in clock_update_calendar()
911 ntp_update_second(&adjustment, clock_calend.bintime.sec); in clock_update_calendar()
924 …clock_gettimeofday_set_commpage(now, clock_calend.bintime.sec, clock_calend.bintime.frac, clock_ca… in clock_update_calendar()
954 bintime2usclock(&clock_calend_cp->bintime, &bintime_secs, &bintime_microsecs); in print_all_clock_variables_internal()
964 func, clock_calend_cp->bintime.sec, clock_calend_cp->bintime.frac, in print_all_clock_variables_internal()
989 struct bintime bt; in print_all_clock_variables()
1008 bintime_add(&bt, &clock_calend_cp->bintime); in print_all_clock_variables()
1037 struct bintime bt; in clock_initialize_calendar()
1039 struct bintime monotonic_bt; in clock_initialize_calendar()
1107 clock_calend.bintime = bt; in clock_initialize_calendar()
1162 struct bintime sleep_time; in scale_sleep_time()
1177 bintime_add(&clock_calend.bintime, &sleep_time); in scale_sleep_time()
1238 struct bintime bt, last_sleep_bt; in clock_wakeup_calendar_legacy()
1362 bintime_add(&clock_calend.bintime, &last_sleep_bt); in clock_wakeup_calendar_legacy()
1377 bintime_add(&bt, &clock_calend.bintime); in clock_wakeup_calendar_legacy()
1400 bintime_add(&clock_calend.bintime, &last_sleep_bt); in clock_wakeup_calendar_legacy()
1812 struct bintime bt; in clock_get_calendar_nanotime_nowait()
1842 bintime_add(&bt, &clock_calend.bintime); in clock_get_calendar_nanotime_nowait()