Home
last modified time | relevance | path

Searched refs:curr_value (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/kern/
H A Dsys_timerfd.c382 struct timespec curr_value; in timerfd_curval() local
387 nanouptime(&curr_value); in timerfd_curval()
388 timespecsub(&tfd->tfd_time.it_value, &curr_value, in timerfd_curval()
484 kern_timerfd_gettime(struct thread *td, int fd, struct itimerspec *curr_value) in kern_timerfd_gettime() argument
500 timerfd_curval(tfd, curr_value); in kern_timerfd_gettime()
578 struct itimerspec curr_value; in sys_timerfd_gettime() local
581 error = kern_timerfd_gettime(td, uap->fd, &curr_value); in sys_timerfd_gettime()
583 error = copyout(&curr_value, uap->curr_value, in sys_timerfd_gettime()
584 sizeof(curr_value)); in sys_timerfd_gettime()
H A Dsystrace_args.c3426 uarg[a++] = (intptr_t)p->curr_value; /* struct itimerspec * */ in systrace_args()
/freebsd/sys/sys/
H A Dtimerfd.h54 int timerfd_gettime(int fd, struct itimerspec *curr_value);
H A Dsyscallsubr.h380 struct itimerspec *curr_value);
H A Dsysproto.h1861 …char curr_value_l_[PADL_(struct itimerspec *)]; struct itimerspec * curr_value; char curr_value_r_… member
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c3215 struct itimerspec curr_value; in freebsd32_timerfd_gettime() local
3219 error = kern_timerfd_gettime(td, uap->fd, &curr_value); in freebsd32_timerfd_gettime()
3221 CP(curr_value, curr_value32, it_value.tv_sec); in freebsd32_timerfd_gettime()
3222 CP(curr_value, curr_value32, it_value.tv_nsec); in freebsd32_timerfd_gettime()
3223 CP(curr_value, curr_value32, it_interval.tv_sec); in freebsd32_timerfd_gettime()
3224 CP(curr_value, curr_value32, it_interval.tv_nsec); in freebsd32_timerfd_gettime()
3225 error = copyout(&curr_value32, uap->curr_value, in freebsd32_timerfd_gettime()
H A Dfreebsd32_proto.h689 …char curr_value_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * curr_value; char curr_valu… member
H A Dfreebsd32_systrace_args.c3339 uarg[a++] = (intptr_t)p->curr_value; /* struct itimerspec32 * */ in systrace_args()
/freebsd/lib/libsys/
H A D_libsys.h863 int __sys_timerfd_gettime(int fd, struct itimerspec * curr_value);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2246 INTERCEPTOR(int, getitimer, int which, void *curr_value) {
2248 COMMON_INTERCEPTOR_ENTER(ctx, getitimer, which, curr_value);
2252 int res = REAL(getitimer)(which, curr_value);
2253 if (!res && curr_value) {
2254 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, curr_value, struct_itimerval_sz);
6402 INTERCEPTOR(int, timerfd_gettime, int fd, void *curr_value) {
6404 COMMON_INTERCEPTOR_ENTER(ctx, timerfd_gettime, fd, curr_value);
6405 int res = REAL(timerfd_gettime)(fd, curr_value);
6406 if (res != -1 && curr_value)
6407 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, curr_value, struct_itimerspec_sz);