| /src/lib/librumpuser/ |
| rumpfiber.h | 38 void *lwp; member in struct:thread
|
| /src/sys/arch/riscv/riscv/ |
| db_trace.c | 72 lwp_t *lwp; local 74 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) { 75 if (lwp == p) 85 lwp_t *lwp; local 87 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) [all...] |
| /src/usr.sbin/schedctl/ |
| schedctl.c | 73 struct kinfo_lwp *lwp_list, *lwp; local 101 /* Thread (LWP) ID */ 166 for (lwp = lwp_list, i = 0; i < count; lwp++, i++) { 167 if (lid && lid != lwp->l_lid) 169 if (lwp->l_stat == LSIDL || lwp->l_stat == LSZOMB) 171 thread_info(pid, lwp->l_lid);
|
| /src/sys/external/bsd/common/linux/ |
| linux_rcu.c | 72 struct lwp *lwp; member in struct:__anon4037 341 &gc.lwp, "lnxrcugc"); 362 kthread_join(gc.lwp); 363 gc.lwp = NULL;
|
| /src/tests/lib/libc/sys/ |
| t_ptrace_lwp_wait.h | 69 struct ptrace_lwpinfo lwp = {0, 0}; local 150 SYSCALL_REQUIRE(ptrace(PT_LWPINFO, child, &lwp, sizeof(lwp)) 154 ATF_REQUIRE(lwp.pl_lwpid > 0); 156 DPRINTF("Assert that lwp thread %d received event " 157 "PL_EVENT_SIGNAL\n", lwp.pl_lwpid); 158 FORKEE_ASSERT_EQ(lwp.pl_event, PL_EVENT_SIGNAL); 163 lwpstatus.pl_lwpid = lwp.pl_lwpid; 169 SYSCALL_REQUIRE(ptrace(PT_LWPINFO, child, &lwp, sizeof(lwp)) 437 struct ptrace_lwpinfo lwp = {0, 0}; local [all...] |
| /src/sys/arch/mips/mips/ |
| mips_emul.c | 61 struct lwp *lwp; member in struct:__anon1678 321 llstate.lwp = curlwp; 354 if (curlwp == llstate.lwp && vaddr == llstate.addr) { 355 llstate.lwp = NULL;
|
| /src/sys/arch/xen/xenbus/ |
| xenbus_dev.c | 107 * To work around this we keep a list of lwp that opended the xenbus file. 108 * This assumes that a single lwp won't open /kern/xen/xenbus more 109 * than once, and that a transaction started by one lwp won't be ended 123 lwp_t *lwp; member in struct:xenbus_dev_lwp 170 if (xlwp->lwp == curlwp) { 246 if (xlwp->lwp == curlwp) { 360 * by some other lwp. 373 if (xlwp->lwp == curlwp) { 381 xlwp->lwp = curlwp; 417 if (xlwp->lwp == curlwp) [all...] |
| /src/sys/arch/aarch64/aarch64/ |
| db_trace.c | 103 lwp_t *lwp; local 105 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) { 106 if (lwp == p) 126 lwp_t *lwp; local 130 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) [all...] |
| /src/sys/dev/sdmmc/ |
| ld_sdmmc.c | 249 struct lwp *lwp; local 314 ld_sdmmc_doattach, sc, &lwp, "%sattach", device_xname(self))) {
|
| /src/sys/kern/ |
| kern_threadpool.c | 149 "struct lwp *"/*thread*/); 163 "struct lwp *"/*thread*/); 182 struct lwp *tpt_lwp; 383 struct lwp *lwp; local 412 &pool->tp_dispatcher, &lwp, "pooldisp%s", suffix); 417 pool->tp_dispatcher.tpt_lwp = lwp; 968 struct lwp *lwp = NULL; local 1017 pool->tp_cpu, &threadpool_thread, thread, &lwp, [all...] |
| subr_msan.c | 384 msan_lwp_t *lwp; local 389 lwp = curlwp->l_kmsan; 390 arg = lwp->tls[lwp->ctx].param; 397 msan_lwp_t *lwp; local 402 lwp = curlwp->l_kmsan; 403 arg = lwp->tls[lwp->ctx].retval; 410 msan_lwp_t *lwp; local 416 lwp = curlwp->l_kmsan 430 msan_lwp_t *lwp; local 453 msan_lwp_t *lwp; local 471 msan_lwp_t *lwp; local 636 msan_lwp_t *lwp; local [all...] |
| /src/sys/sys/ |
| aio.h | 78 #include <sys/lwp.h> 154 struct lwp *lwp; /* Servicing thread LWP */ member in struct:aiost 208 int aio_suspend1(struct lwp *, struct aiocb **, int, struct timespec *);
|
| lwp.h | 1 /* $NetBSD: lwp.h,v 1.231 2023/11/02 10:31:55 martin Exp $ */ 53 struct lwp; 55 static __inline struct cpu_info *lwp_getcpu(struct lwp *); 77 * !: unlocked, may only be reliably accessed by the LWP itself 88 struct lwp { struct 93 int l_stat; /* l: overall LWP status */ 98 TAILQ_ENTRY(lwp) l_runq; /* s: run queue */ 132 LIST_ENTRY(lwp) l_sleepchain; /* l: sleep queue */ 151 lwpid_t l_lid; /* (: LWP identifier; local to proc */ 152 LIST_ENTRY(lwp) l_list; /* a: entry on list of all LWPs * [all...] |
| /src/tests/fs/vfs/ |
| t_vnops.c | 795 struct lwp *lwp1, *lwp2; 910 struct lwp *lwp[5]; local 928 for (i = 0; i < __arraycount(lwp); i++) { 931 lwp[i] = rump_pub_lwproc_curlwp(); 954 for (i = 0; i < __arraycount(lwp); i++) { 957 rump_pub_lwproc_switch(lwp[i]); 987 for (i = 0; i < __arraycount(lwp); i++) { 988 rump_pub_lwproc_switch(lwp[i]);
|
| /src/sys/net/ |
| route.c | 252 const struct lwp *lwp; member in struct:__anon7094 573 curlwp != rt_update_global.lwp) { 761 dlog(LOG_DEBUG, "%s: waiting lwp=%p\n", __func__, curlwp); 763 dlog(LOG_DEBUG, "%s: waited lwp=%p\n", __func__, curlwp); 773 dlog(LOG_DEBUG, "%s: updating rt=%p lwp=%p\n", __func__, rt, curlwp); 786 dlog(LOG_DEBUG, "%s: waiting ongoing updating rt=%p lwp=%p\n", 789 dlog(LOG_DEBUG, "%s: waited ongoing updating rt=%p lwp=%p\n", 794 rt_update_global.lwp = curlwp; 813 rt_update_global.lwp = NULL [all...] |