/freebsd/lib/libthr/thread/ |
H A D | thr_kern.c | 109 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler() argument 114 ret = rtprio_thread(RTP_LOOKUP, lwpid, &rtp); in _thr_getscheduler() 122 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler() argument 127 return (rtprio_thread(RTP_SET, lwpid, &rtp)); in _thr_setscheduler()
|
/freebsd/usr.bin/truss/ |
H A D | setup.c | 262 new_thread(struct procinfo *p, lwpid_t lwpid) in new_thread() argument 271 if (nt->tid == lwpid) in new_thread() 272 errx(1, "Duplicate thread for LWP %ld", (long)lwpid); in new_thread() 279 nt->tid = lwpid; in new_thread() 321 new_proc(struct trussinfo *info, pid_t pid, lwpid_t lwpid) in new_proc() argument 345 if (lwpid != 0) in new_proc() 346 new_thread(np, lwpid); in new_proc() 391 find_thread(struct trussinfo *info, pid_t pid, lwpid_t lwpid) in find_thread() argument 400 if (nt->tid == lwpid) { in find_thread()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_setrlimit.c | 489 lwpid_t lwpid; in ATF_TC_BODY() local 504 makecontext(&c, func, 1, &lwpid); in ATF_TC_BODY() 505 ATF_CHECK_ERRNO(EAGAIN, _lwp_create(&c, 0, &lwpid) == -1); in ATF_TC_BODY()
|
/freebsd/sys/kern/ |
H A D | kern_thr.c | 78 suword_lwpid(void *addr, lwpid_t lwpid) 83 error = suword(addr, lwpid); in suword_lwpid() 85 error = suword32(addr, lwpid); in suword_lwpid() 79 suword_lwpid(void * addr,lwpid_t lwpid) suword_lwpid() argument
|
H A D | kern_resource.c | 293 lwpid_t lwpid; member 311 if (uap->lwpid == 0 || uap->lwpid == td->td_tid) { in sys_rtprio_thread() 316 td1 = tdfind(uap->lwpid, -1); in sys_rtprio_thread()
|
H A D | systrace_args.c | 2440 iarg[a++] = p->lwpid; /* lwpid_t */ in systrace_args()
|
/freebsd/lib/libthread_db/ |
H A D | thread_db.c | 100 td_ta_map_lwp2thr(const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th) in td_ta_map_lwp2thr() argument 102 return (ta->ta_ops->to_ta_map_lwp2thr(ta, lwpid, th)); in td_ta_map_lwp2thr()
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 875 #define __sanitizer_syscall_pre___futex_get_robust_list(lwpid, headp, lenp) \ argument 877 (long long)(lwpid), (long long)(headp), (long long)(lenp)) 878 #define __sanitizer_syscall_post___futex_get_robust_list(res, lwpid, headp, \ argument 881 res, (long long)(lwpid), (long long)(headp), (long long)(lenp)) 3503 void __sanitizer_syscall_pre_impl___futex_get_robust_list(long long lwpid, 3507 long long lwpid,
|
/freebsd/lib/libsys/ |
H A D | _libsys.h | 756 int __sys_rtprio_thread(int function, lwpid_t lwpid, struct rtprio * rtp);
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_systrace_args.c | 2298 iarg[a++] = p->lwpid; /* lwpid_t */ in systrace_args()
|
/freebsd/sys/sys/ |
H A D | sysproto.h | 1299 char lwpid_l_[PADL_(lwpid_t)]; lwpid_t lwpid; char lwpid_r_[PADR_(lwpid_t)]; member
|