/src/lib/librumpuser/ |
rumpfiber.h | 38 void *lwp; member in struct:thread
|
/src/sys/fs/nfs/common/ |
nfs_mountcommon.h | 42 typedef int nfs_vinvalbuf_ftype(struct vnode *, int, struct lwp *, int); typedef in typeref:typename:int nfs_vinvalbuf_ftype (struct vnode *,int,struct *,int)
|
/src/sys/altq/ |
altq_conf.h | 56 typedef int d_open_t(dev_t, int, int, struct lwp *); typedef in typeref:typename:int d_open_t (dev_t,int,int,struct *) 57 typedef int d_close_t(dev_t, int, int, struct lwp *); typedef in typeref:typename:int d_close_t (dev_t,int,int,struct *) 58 typedef int d_ioctl_t(dev_t, u_long, void *, int, struct lwp *); typedef in typeref:typename:int d_ioctl_t (dev_t,u_long,void *,int,struct *)
|
/src/usr.sbin/schedctl/ |
schedctl.c | 73 struct kinfo_lwp *lwp_list, *lwp; local in function:main 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/arch/riscv/riscv/ |
db_trace.c | 72 lwp_t *lwp; local in function:is_lwp 74 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) { 75 if (lwp == p) 85 lwp_t *lwp; local in function:getlwpnamebysp 87 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) [all...] |
/src/sys/external/bsd/common/linux/ |
linux_rcu.c | 72 struct lwp *lwp; member in struct:__anonacf366960108 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 in function:traceme_lwpinfo 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}; variable in typeref:struct:ptrace_lwpinfo [all...] |
/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/mips/mips/ |
mips_emul.c | 61 struct lwp *lwp; member in struct:__anon522f4f540108 321 llstate.lwp = curlwp; 354 if (curlwp == llstate.lwp && vaddr == llstate.addr) { 355 llstate.lwp = NULL;
|
/src/sys/dev/sdmmc/ |
ld_sdmmc.c | 249 struct lwp *lwp; local in function:ld_sdmmc_attach 314 ld_sdmmc_doattach, sc, &lwp, "%sattach", device_xname(self))) {
|
/src/sys/arch/aarch64/aarch64/ |
db_trace.c | 103 lwp_t *lwp; local in function:is_lwp 105 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) { 106 if (lwp == p) 126 lwp_t *lwp; local in function:getlwpnamebysp 130 for (lwp = db_lwp_first(); lwp != NULL; lwp = db_lwp_next(lwp)) [all...] |
/src/sys/kern/ |
kern_threadpool.c | 149 "struct lwp *"/*thread*/); 163 "struct lwp *"/*thread*/); 182 struct lwp *tpt_lwp; 383 struct lwp *lwp; local in function:threadpool_create 412 &pool->tp_dispatcher, &lwp, "pooldisp%s", suffix); 417 pool->tp_dispatcher.tpt_lwp = lwp; 968 struct lwp *lwp = NULL; local in function:threadpool_dispatcher_thread 1017 pool->tp_cpu, &threadpool_thread, thread, &lwp, [all...] |
subr_msan.c | 384 msan_lwp_t *lwp; local in function:kmsan_init_arg 389 lwp = curlwp->l_kmsan; 390 arg = lwp->tls[lwp->ctx].param; 397 msan_lwp_t *lwp; local in function:kmsan_init_ret 402 lwp = curlwp->l_kmsan; 403 arg = lwp->tls[lwp->ctx].retval; 410 msan_lwp_t *lwp; local in function:kmsan_check_arg 416 lwp = curlwp->l_kmsan 430 msan_lwp_t *lwp; local in function:kmsan_lwp_alloc 453 msan_lwp_t *lwp; local in function:kmsan_intr_enter 471 msan_lwp_t *lwp; local in function:kmsan_intr_leave 636 msan_lwp_t *lwp; local in function:__msan_get_context_state [all...] |
/src/tests/fs/vfs/ |
t_vnops.c | 795 struct lwp *lwp1, *lwp2; 910 struct lwp *lwp[5]; local in function:fcntl_getlock_pids 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/sys/ |
conf.h | 52 struct lwp; 73 int (*d_open)(dev_t, int, int, struct lwp *); 74 int (*d_cancel)(dev_t, int, int, struct lwp *); 75 int (*d_close)(dev_t, int, int, struct lwp *); 77 int (*d_ioctl)(dev_t, u_long, void *, int, struct lwp *); 90 int (*d_open)(dev_t, int, int, struct lwp *); 91 int (*d_cancel)(dev_t, int, int, struct lwp *); 92 int (*d_close)(dev_t, int, int, struct lwp *); 95 int (*d_ioctl)(dev_t, u_long, void *, int, struct lwp *); 98 int (*d_poll)(dev_t, int, struct lwp *); 120 typedef int dev_open_t(dev_t, int, int, struct lwp *); typedef in typeref:typename:int dev_open_t (dev_t,int,int,struct *) 121 typedef int dev_cancel_t(dev_t, int, int, struct lwp *); typedef in typeref:typename:int dev_cancel_t (dev_t,int,int,struct *) 122 typedef int dev_close_t(dev_t, int, int, struct lwp *); typedef in typeref:typename:int dev_close_t (dev_t,int,int,struct *) 125 typedef int dev_ioctl_t(dev_t, u_long, void *, int, struct lwp *); typedef in typeref:typename:int dev_ioctl_t (dev_t,u_long,void *,int,struct *) 128 typedef int dev_poll_t(dev_t, int, struct lwp *); typedef in typeref:typename:int dev_poll_t (dev_t,int,struct *) [all...] |
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/sys/net/ |
route.c | 252 const struct lwp *lwp; member in struct:__anone25197f10108 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...] |