Home
last modified time | relevance | path

Searched refs:timekeep (Results 1 – 22 of 22) sorted by relevance

/openbsd/lib/libc/sys/
H A Dw_clock_gettime.c26 struct timekeep *timekeep = _timekeep; in WRAP() local
28 if (timekeep == NULL || timekeep->tk_user == 0) in WRAP()
33 rc = _nanotime(tp, timekeep); in WRAP()
36 rc = _nanoruntime(tp, timekeep); in WRAP()
40 rc = _nanouptime(tp, timekeep); in WRAP()
H A Dmicrotime.c30 tc_delta(struct timekeep *tk, u_int *delta) in tc_delta()
41 binuptime(struct bintime *bt, struct timekeep *tk) in binuptime()
59 binruntime(struct bintime *bt, struct timekeep *tk) in binruntime()
78 bintime(struct bintime *bt, struct timekeep *tk) in bintime()
97 _microtime(struct timeval *tvp, struct timekeep *tk) in _microtime()
108 _nanotime(struct timespec *tsp, struct timekeep *tk) in _nanotime()
119 _nanoruntime(struct timespec *ts, struct timekeep *tk) in _nanoruntime()
131 _nanouptime(struct timespec *tsp, struct timekeep *tk) in _nanouptime()
H A Dw_gettimeofday.c24 struct timekeep *timekeep = _timekeep; in WRAP() local
27 if (timekeep == NULL || timekeep->tk_user == 0) in WRAP()
31 rc = _microtime(tp, timekeep); in WRAP()
/openbsd/lib/libc/hidden/sys/
H A Dtimetc.h28 extern struct timekeep *_timekeep;
30 extern int (*const _tc_get_timecount)(struct timekeep *, u_int *);
32 int _microtime(struct timeval *, struct timekeep *);
33 int _nanotime(struct timespec *, struct timekeep *);
34 int _nanoruntime(struct timespec *, struct timekeep *);
35 int _nanouptime(struct timespec *, struct timekeep *);
/openbsd/sys/sys/
H A Dtimetc.h86 struct timekeep { struct
110 extern struct timekeep *timekeep; argument
/openbsd/lib/libc/arch/mips64/gen/
H A Dusertc.c37 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
48 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/lib/libc/arch/powerpc/gen/
H A Dusertc.c30 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
41 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/lib/libc/arch/riscv64/gen/
H A Dusertc.c33 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
44 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/lib/libc/arch/powerpc64/gen/
H A Dusertc.c30 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
40 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/lib/libc/arch/sparc64/gen/
H A Dusertc.c42 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
56 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/lib/libc/arch/amd64/gen/
H A Dusertc.c38 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
52 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/sys/kern/
H A Dkern_tc.c628 if (timekeep == NULL) in tc_update_timekeep()
632 timekeep->tk_generation = 0; in tc_update_timekeep()
634 timekeep->tk_scale = th->th_scale; in tc_update_timekeep()
635 timekeep->tk_offset_count = th->th_offset_count; in tc_update_timekeep()
636 timekeep->tk_offset = th->th_offset; in tc_update_timekeep()
637 timekeep->tk_naptime = th->th_naptime; in tc_update_timekeep()
638 timekeep->tk_boottime = th->th_boottime; in tc_update_timekeep()
640 timekeep->tk_counter_mask = th->th_counter->tc_counter_mask; in tc_update_timekeep()
641 timekeep->tk_user = th->th_counter->tc_user; in tc_update_timekeep()
645 timekeep->tk_generation = th->th_generation; in tc_update_timekeep()
H A Dkern_exec.c73 struct timekeep *timekeep; variable
918 size_t timekeep_sz = round_page(sizeof(struct timekeep)); in exec_timekeep_map()
944 timekeep = (struct timekeep *)va; in exec_timekeep_map()
945 timekeep->tk_version = TK_VERSION; in exec_timekeep_map()
/openbsd/lib/libc/arch/aarch64/gen/
H A Dusertc.c59 tc_get_timecount(struct timekeep *tk, u_int *tc) in tc_get_timecount()
73 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
/openbsd/lib/libc/arch/i386/gen/
H A Dusertc.c21 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
/openbsd/lib/libc/arch/m88k/gen/
H A Dusertc.c21 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
/openbsd/lib/libc/arch/sh/gen/
H A Dusertc.c21 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
/openbsd/lib/libc/arch/alpha/gen/
H A Dusertc.c21 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
/openbsd/lib/libc/arch/arm/gen/
H A Dusertc.c21 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
/openbsd/lib/libc/arch/hppa/gen/
H A Dusertc.c21 int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
/openbsd/lib/libc/dlfcn/
H A Dinit.c51 struct timekeep *_timekeep;
/openbsd/share/dict/
H A Dweb2203522 timekeep