Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 36) sorted by relevance

12

/components/libc/compilers/common/include/sys/
A Dtime.h87 struct timespec struct
101 struct timespec it_interval; argument
102 struct timespec it_value;
127 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
204 int clock_getres (clockid_t clockid, struct timespec *res);
205 int clock_gettime (clockid_t clockid, struct timespec *tp);
206 int clock_settime (clockid_t clockid, const struct timespec *tp);
207 int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *rqtp, struct timespec *rmt…
208 int rt_timespec_to_tick(const struct timespec *time);
/components/drivers/rtc/
A Ddev_soft_rtc.c45 static struct timespec init_ts = {0};
136 struct timespec _ts; in soft_rtc_control()
137 struct timespec *ts = (struct timespec *)args; in soft_rtc_control()
145 struct timespec _ts; in soft_rtc_control()
146 struct timespec *ts = (struct timespec *)args; in soft_rtc_control()
154 struct timespec *ts = (struct timespec *)args; in soft_rtc_control()
178 struct timespec *ts = (struct timespec *)args; in soft_rtc_control()
/components/lwp/vdso/user/arch/aarch64/
A Dvdso_sys.c33 __rt_vdso_getcoarse(struct timespec *ts, clockid_t clock, const struct vdso_data *vdns) in __rt_vdso_getcoarse()
36 const struct timespec *vdso_ts; in __rt_vdso_getcoarse()
66 struct timespec *ts) in __vdso_clock_gettime_common()
84 struct timespec *ts) in rt_vdso_clock_gettime_data()
92 __kernel_clock_gettime(clockid_t clock, struct timespec *ts) in __kernel_clock_gettime()
/components/lwp/vdso/user/arch/risc-v/
A Dvdso_sys.c40 __rt_vdso_getcoarse(struct timespec *ts, clockid_t clock, const struct vdso_data *vdns) in __rt_vdso_getcoarse()
43 const struct timespec *vdso_ts; in __rt_vdso_getcoarse()
73 struct timespec *ts) in __vdso_clock_gettime_common()
91 struct timespec *ts) in rt_vdso_clock_gettime_data()
98 int __vdso_clock_gettime(clockid_t clock, struct timespec *ts) in __vdso_clock_gettime()
/components/libc/posix/ipc/
A Dmqueue.h43 const struct timespec *abs_timeout);
48 const struct timespec *abs_timeout);
A Dsemaphore.h38 int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
A Dmqueue.c287 const struct timespec *abs_timeout) in mq_timedreceive()
343 const struct timespec *abs_timeout) in mq_timedsend()
/components/libc/compilers/common/
A Dctime.c539 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep()
541 struct timespec old_ts = {0}; in nanosleep()
542 struct timespec new_ts = {0}; in nanosleep()
595 int clock_getres(clockid_t clockid, struct timespec *res) in clock_getres()
628 int clock_gettime(clockid_t clockid, struct timespec *tp) in clock_gettime()
663 int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *rqtp, struct timespec *rmt… in clock_nanosleep()
665 struct timespec ts = {0}; in clock_nanosleep()
758 int rt_timespec_to_tick(const struct timespec *time) in rt_timespec_to_tick()
763 struct timespec tp = {0}; in rt_timespec_to_tick()
806 struct timespec interval; /* Reload value */
[all …]
/components/lwp/
A Dlwp_syscall.h60 sysret_t sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
109 sysret_t sys_futex(int *uaddr, int op, int val, const struct timespec *timeout, int *uaddr2, int va…
A Dlwp_futex.c393 int value, const struct timespec *timeout, int op_flags) in _futex_wait()
567 const struct timespec *timeout, int op_flags, in _futex_lock_pi()
694 sysret_t sys_futex(int *uaddr, int op, int val, const struct timespec *timeout, in sys_futex()
705 !lwp_user_accessable((void *)timeout, sizeof(struct timespec))) in sys_futex()
720 const struct timespec *timeout, int *uaddr2, int val3) in lwp_futex()
A Dlwp_syscall.c1163 sysret_t sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in sys_nanosleep()
1171 struct timespec rqtp_k; in sys_nanosleep()
1172 struct timespec rmtp_k; in sys_nanosleep()
6686 struct timespec ktimeout; in sys_sigtimedwait()
6687 struct timespec *ptimeout; in sys_sigtimedwait()
8038 struct timespec *kts = NULL; in sys_clock_settime()
8176 struct timespec rqtp_k; in sys_clock_nanosleep()
8177 struct timespec rmtp_k; in sys_clock_nanosleep()
8225 struct timespec kts; in sys_clock_getres()
9181 struct timespec at_k; in sys_mq_timedsend()
[all …]
/components/dfs/dfs_v2/include/
A Ddfs_file.h73 struct timespec atime;
74 struct timespec mtime;
75 struct timespec ctime;
A Ddfs_fs.h70 struct timespec ia_atime;
71 struct timespec ia_mtime;
/components/libc/posix/pthreads/
A Dsched.h34 int sched_rr_get_interval(pid_t pid, struct timespec *tp);
A Dsched.c44 int sched_rr_get_interval(pid_t pid, struct timespec *tp) in sched_rr_get_interval()
A Dpthread.h244 const struct timespec *abstime);
258 int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock, const struct timespec *abstime);
259 int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock, const struct timespec *abstime);
A Dpthread_rwlock.c306 const struct timespec *abstime) in pthread_rwlock_timedrdlock()
370 const struct timespec *abstime) in pthread_rwlock_timedwrlock()
/components/libc/posix/io/timerfd/
A Dtimerfd.c41 struct timespec pre_time;
275 static int get_current_time(struct rt_timerfd *tfd, struct timespec *time) in get_current_time()
278 struct timespec *cur_time = RT_NULL; in get_current_time()
368 struct timespec current_time; in timerfd_do_settime()
499 struct timespec cur_time; in timerfd_do_gettime()
/components/lwp/arch/aarch64/common/
A Dvdso_data.c21 struct timespec *vdso_ts; in rt_vdso_update_glob_time()
/components/lwp/arch/risc-v/common/
A Dvdso_data.c21 struct timespec *vdso_ts; in rt_vdso_update_glob_time()
/components/libc/cplusplus/cpp11/gcc/
A Dutils.cpp24 timespec tp; in now()
/components/libc/posix/io/aio/
A Daio.h42 const struct timespec *timeout);
/components/drivers/ktime/src/
A Dboottime.c38 rt_weak rt_err_t rt_ktime_boottime_get_ns(struct timespec *ts) in rt_ktime_boottime_get_ns()
/components/lwp/vdso/
A Dvdso_datapage.h59 struct timespec basetime[VDSO_BASES];
/components/drivers/ktime/inc/
A Dktime.h59 rt_err_t rt_ktime_boottime_get_ns(struct timespec *ts);

Completed in 39 milliseconds

12