Searched refs:targettd (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/kern/ |
H A D | p1003_1b.c | 112 struct thread *targettd; 123 targettd = td; 159 struct thread *targettd; 164 targettd = td; 202 struct thread *targettd; 211 targettd = td; 252 struct thread *targettd; 257 targettd = td; 338 struct thread *targettd; 342 targettd = td; [all …]
|
H A D | kern_time.c | 253 kern_thread_cputime(struct thread *targettd, struct timespec *ats) in kern_thread_cputime() argument 257 if (targettd == NULL) { /* current thread */ in kern_thread_cputime() 265 PROC_LOCK_ASSERT(targettd->td_proc, MA_OWNED); in kern_thread_cputime() 266 thread_lock(targettd); in kern_thread_cputime() 267 runtime = targettd->td_runtime; in kern_thread_cputime() 268 thread_unlock(targettd); in kern_thread_cputime()
|
/freebsd/sys/compat/linux/ |
H A D | linux_time.c | 341 struct thread *targettd; in linux_common_clock_gettime() local 411 targettd = td; in linux_common_clock_gettime() 415 if (targettd == NULL) in linux_common_clock_gettime() 421 thread_lock(targettd); in linux_common_clock_gettime() 422 rufetchtd(targettd, &ru); in linux_common_clock_gettime() 423 thread_unlock(targettd); in linux_common_clock_gettime() 431 thread_lock(targettd); in linux_common_clock_gettime() 432 rufetchtd(targettd, &ru); in linux_common_clock_gettime() 433 thread_unlock(targettd); in linux_common_clock_gettime() 439 if (td == targettd) in linux_common_clock_gettime() [all …]
|
/freebsd/sys/sys/ |
H A D | syscallsubr.h | 111 void kern_thread_cputime(struct thread *targettd, struct timespec *ats); 295 int kern_sched_getparam(struct thread *td, struct thread *targettd, 297 int kern_sched_getscheduler(struct thread *td, struct thread *targettd, 299 int kern_sched_setparam(struct thread *td, struct thread *targettd, 301 int kern_sched_setscheduler(struct thread *td, struct thread *targettd, 305 int kern_sched_rr_get_interval_td(struct thread *td, struct thread *targettd,
|