Home
last modified time | relevance | path

Searched refs:lwpid (Results 1 – 11 of 11) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_kern.c109 _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 Dsetup.c262 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 Dt_setrlimit.c489 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 Dkern_thr.c78 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 Dkern_resource.c293 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 Dsystrace_args.c2440 iarg[a++] = p->lwpid; /* lwpid_t */ in systrace_args()
/freebsd/lib/libthread_db/
H A Dthread_db.c100 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 Dnetbsd_syscall_hooks.h875 #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.h756 int __sys_rtprio_thread(int function, lwpid_t lwpid, struct rtprio * rtp);
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c2298 iarg[a++] = p->lwpid; /* lwpid_t */ in systrace_args()
/freebsd/sys/sys/
H A Dsysproto.h1299 char lwpid_l_[PADL_(lwpid_t)]; lwpid_t lwpid; char lwpid_r_[PADR_(lwpid_t)]; member