Home
last modified time | relevance | path

Searched refs:itimerspec (Results 1 – 25 of 37) sorted by relevance

12

/src/tests/sys/kern/
H A Dtimerfd.c89 struct itimerspec time = { in ATF_TC_BODY()
117 struct itimerspec time = { in ATF_TC_BODY()
156 struct itimerspec time = { in ATF_TC_BODY()
197 struct itimerspec time = { in ATF_TC_BODY()
210 time = (struct itimerspec) { in ATF_TC_BODY()
240 struct itimerspec time = { in ATF_TC_BODY()
256 time = (struct itimerspec) { in ATF_TC_BODY()
275 time = (struct itimerspec) { in ATF_TC_BODY()
296 struct itimerspec value; in ATF_TC_BODY()
333 struct itimerspec curr_value; in ATF_TC_BODY()
[all …]
/src/sys/sys/
H A Dtimers.h50 struct itimerspec it_time;
77 struct itimerspec * new_value,
78 struct itimerspec * old_value);
81 struct itimerspec * cur_value);
H A Dtimerfd.h54 int timerfd_gettime(int fd, struct itimerspec *curr_value);
55 int timerfd_settime(int fd, int flags, const struct itimerspec *new_value,
56 struct itimerspec *old_value);
H A Dsyscallsubr.h371 struct itimerspec *val, struct itimerspec *oval);
373 struct itimerspec *val);
383 struct itimerspec *curr_value);
385 const struct itimerspec *new_value, struct itimerspec *old_value);
H A Dtimespec.h56 struct itimerspec { struct
H A Dsysproto.h634 …r value_l_[PADL_(const struct itimerspec *)]; const struct itimerspec * value; char value_r_[PADR_…
635 …char ovalue_l_[PADL_(struct itimerspec *)]; struct itimerspec * ovalue; char ovalue_r_[PADR_(struc…
639 …char value_l_[PADL_(struct itimerspec *)]; struct itimerspec * value; char value_r_[PADR_(struct i…
1853 …har curr_value_l_[PADL_(struct itimerspec *)]; struct itimerspec * curr_value; char curr_value_r_[…
1858 …lue_l_[PADL_(const struct itimerspec *)]; const struct itimerspec * new_value; char new_value_r_[P…
1859 …char old_value_l_[PADL_(struct itimerspec *)]; struct itimerspec * old_value; char old_value_r_[PA…
/src/lib/librt/
H A Dtimer.c45 extern int __sys_ktimer_gettime(int, struct itimerspec *);
48 const struct itimerspec *__restrict, struct itimerspec *__restrict);
154 __timer_gettime(timer_t timerid, struct itimerspec *value) in __timer_gettime()
169 const struct itimerspec *__restrict value, in __timer_settime()
170 struct itimerspec *__restrict ovalue) in __timer_settime()
/src/sys/compat/linux/
H A Dlinux_time.h130 struct itimerspec *);
131 int linux_to_native_itimerspec(struct itimerspec *,
135 struct itimerspec *);
136 int linux_to_native_itimerspec64(struct itimerspec *,
H A Dlinux_timer.c119 struct itimerspec val, oval, *ovalp; in linux_timer_settime()
146 struct itimerspec val, oval, *ovalp; in linux_timer_settime64()
173 struct itimerspec val; in linux_timer_gettime()
189 struct itimerspec val; in linux_timer_gettime64()
H A Dlinux_event.c632 struct itimerspec ots; in linux_timerfd_gettime()
650 struct itimerspec nts, ots; in linux_timerfd_settime()
677 struct itimerspec ots; in linux_timerfd_gettime64()
695 struct itimerspec nts, ots; in linux_timerfd_settime64()
H A Dlinux_time.c219 native_to_linux_itimerspec(struct l_itimerspec *ltp, struct itimerspec *ntp) in native_to_linux_itimerspec()
230 linux_to_native_itimerspec(struct itimerspec *ntp, struct l_itimerspec *ltp) in linux_to_native_itimerspec()
242 linux_to_native_itimerspec64(struct itimerspec *ntp, struct l_itimerspec64 *ltp) in linux_to_native_itimerspec64()
253 native_to_linux_itimerspec64(struct l_itimerspec64 *ltp, struct itimerspec *ntp) in native_to_linux_itimerspec64()
/src/include/
H A Dtime.h134 int timer_gettime(timer_t, struct itimerspec *);
136 int timer_settime(timer_t, int, const struct itimerspec *__restrict,
137 struct itimerspec *__restrict);
/src/contrib/netbsd-tests/lib/libc/sys/
H A Dt_timer_create.c56 struct itimerspec tim; in timer_signal_create()
66 (void)memset(&tim, 0, sizeof(struct itimerspec)); in timer_signal_create()
130 struct itimerspec tim; in timer_thread_create()
137 (void)memset(&tim, 0, sizeof(struct itimerspec)); in timer_thread_create()
/src/sys/kern/
H A Dsys_timerfd.c82 struct itimerspec tfd_time; /* (t) tfd timer */
389 timerfd_curval(struct timerfd *tfd, struct itimerspec *old_value) in timerfd_curval()
493 kern_timerfd_gettime(struct thread *td, int fd, struct itimerspec *curr_value) in kern_timerfd_gettime()
518 const struct itimerspec *new_value, struct itimerspec *old_value) in kern_timerfd_settime()
587 struct itimerspec curr_value; in sys_timerfd_gettime()
601 struct itimerspec new_value, old_value; in sys_timerfd_settime()
H A Dkern_time.c101 static int realtimer_gettime(struct itimer *, struct itimerspec *);
103 struct itimerspec *, struct itimerspec *);
1449 const struct itimerspec * value;
1450 struct itimerspec * ovalue;
1456 struct itimerspec val, oval, *ovalp; in sys_ktimer_settime()
1471 struct itimerspec *val, struct itimerspec *oval) in kern_ktimer_settime()
1496 struct itimerspec * value;
1502 struct itimerspec val; in sys_ktimer_gettime()
1512 kern_ktimer_gettime(struct thread *td, int timer_id, struct itimerspec *val) in kern_ktimer_gettime()
1591 realtimer_gettime(struct itimer *it, struct itimerspec *ovalue) in realtimer_gettime()
[all …]
/src/lib/libsys/
H A D_libsys.h31 struct itimerspec;
202 typedef int (__sys_ktimer_settime_t)(int, int, const struct itimerspec *, struct itimerspec *);
203 typedef int (__sys_ktimer_gettime_t)(int, struct itimerspec *);
461 typedef int (__sys_timerfd_gettime_t)(int, struct itimerspec *);
462 typedef int (__sys_timerfd_settime_t)(int, int, const struct itimerspec *, struct itimerspec *);
612 int __sys_ktimer_settime(int timerid, int flags, const struct itimerspec * value, struct itimerspec
613 int __sys_ktimer_gettime(int timerid, struct itimerspec * value);
871 int __sys_timerfd_gettime(int fd, struct itimerspec * curr_value);
872 int __sys_timerfd_settime(int fd, int flags, const struct itimerspec * new_value, struct itimerspec
/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.c40 struct itimerspec ts; in main()
/src/sys/contrib/openzfs/cmd/zed/agents/
H A Dfmd_api.c576 struct itimerspec its; in _timer_notify()
581 memset(&its, 0, sizeof (struct itimerspec)); in _timer_notify()
599 struct itimerspec its; in fmd_timer_install()
/src/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c146 struct itimerspec timeout = {.it_value.tv_sec = MAX(seconds, 0)}; in libzfs_load_module()
/src/sys/arm64/linux/
H A Dlinux_proto.h470 …char setting_l_[PADL_(struct itimerspec *)]; struct itimerspec * setting; char setting_r_[PADR_(st…
478 …char new_l_[PADL_(const struct itimerspec *)]; const struct itimerspec * new; char new_r_[PADR_(co…
479 …char old_l_[PADL_(struct itimerspec *)]; struct itimerspec * old; char old_r_[PADR_(struct itimers…
/src/sys/amd64/linux/
H A Dlinux_proto.h789 …char new_l_[PADL_(const struct itimerspec *)]; const struct itimerspec * new; char new_r_[PADR_(co…
790 …char old_l_[PADL_(struct itimerspec *)]; struct itimerspec * old; char old_r_[PADR_(struct itimers…
794 …char setting_l_[PADL_(struct itimerspec *)]; struct itimerspec * setting; char setting_r_[PADR_(st…
/src/contrib/ntp/ntpd/
H A Dntp_timer.c118 typedef struct itimerspec intervaltimer;
/src/contrib/libevent/
H A Depoll.c426 struct itimerspec is; in epoll_dispatch()
/src/contrib/ntp/sntp/libevent/
H A Depoll.c426 struct itimerspec is; in epoll_dispatch()
/src/sys/i386/linux/
H A Dlinux_proto.h855 …char new_l_[PADL_(const struct itimerspec *)]; const struct itimerspec * new; char new_r_[PADR_(co…
856 …char old_l_[PADL_(struct itimerspec *)]; struct itimerspec * old; char old_r_[PADR_(struct itimers…
860 …char setting_l_[PADL_(struct itimerspec *)]; struct itimerspec * setting; char setting_r_[PADR_(st…

12