Searched refs:newlwp (Results 1 - 11 of 11) sorted by relevance

/netbsd-current/sys/rump/librump/rumpkern/
H A Dlwproc.c452 rump_lwproc_switch(struct lwp *newlwp) argument
457 KASSERT(!(l->l_flag & LW_WEXIT) || newlwp);
459 if (__predict_false(newlwp && (newlwp->l_pflag & LP_RUNNING)))
461 newlwp, newlwp->l_proc->p_pid, newlwp->l_lid);
463 if (newlwp == NULL) {
477 newlwp->l_cpu = newlwp
[all...]
H A Dthreads.c49 struct lwp *newlwp; member in struct:thrdesc
64 struct lwp *l = td->newlwp;
114 if (td->newlwp == l) {
196 td->newlwp = l = rump__lwproc_alloclwp(&proc0);
288 struct lwp *l = td->newlwp;
336 td->newlwp = l = rump__lwproc_alloclwp(p2);
358 if (td->newlwp == l) {
/netbsd-current/sys/arch/usermode/dev/
H A Dcpu.c214 cpu_switchto_atomic(lwp_t *oldlwp, lwp_t *newlwp) argument
222 newpcb = lwp_getpcb(newlwp);
232 curlwp = newlwp;
244 cpu_switchto(lwp_t *oldlwp, lwp_t *newlwp, bool returning) argument
247 struct pcb *newpcb = lwp_getpcb(newlwp);
256 newlwp ? newlwp->l_name : "none",
257 newlwp ? newlwp->l_proc->p_pid : -1,
258 newlwp
[all...]
/netbsd-current/sys/arch/ia64/ia64/
H A Dvm_machdep.c69 * specified by newlwp. man cpu_switchto(9)
72 cpu_switchto(lwp_t *oldlwp, lwp_t *newlwp, bool returning) argument
76 struct pcb *newpcb = lwp_getpcb(newlwp);
80 KASSERT(newlwp != NULL);
87 * CPUs before we set ci_curlwp := newlwp on this one,
90 * 2. ci_curlwp := newlwp must be visible on all other CPUs
91 * before any subsequent mutex_exit by newlwp can even test
101 ci->ci_curlwp = newlwp;
/netbsd-current/sys/arch/x86/x86/
H A Ddbregs.c295 x86_dbregs_switch(struct lwp *oldlwp, struct lwp *newlwp) argument
301 newpcb = lwp_getpcb(newlwp);
315 x86_dbregs_restore(newlwp);
H A Dsvs.c643 svs_lwp_switch(struct lwp *oldlwp, struct lwp *newlwp) argument
652 if (newlwp->l_flag & LW_SYSTEM) {
667 pcb = lwp_getpcb(newlwp);
H A Dspectre.c960 speculation_barrier(struct lwp *oldlwp, struct lwp *newlwp) argument
971 if ((oldlwp->l_flag & LW_SYSTEM) && (newlwp->l_flag & LW_SYSTEM))
H A Dfpu.c313 fpu_switch(struct lwp *oldlwp, struct lwp *newlwp) argument
328 KASSERT(!(newlwp->l_md.md_flags & MDL_FPU_IN_CPU));
/netbsd-current/sys/arch/vax/include/
H A Dmacros.h336 cpu_switchto(struct lwp *oldlwp, struct lwp *newlwp, bool returning) argument
346 : "g" (oldlwp), "g" (newlwp)
/netbsd-current/sys/arch/sparc/sparc/
H A Dlocore.s4838 * %g3 = newlwp
4849 mov %i1, %g3 ! and newlwp
4898 * CPUs before we set ci_curlwp := newlwp on this one,
4901 * 2. ci_curlwp := newlwp must be visible on all other CPUs
4902 * before any subsequent mutex_exit by newlwp can even test
5027 ! newlwp in %l2, oldlwp already in %o0
/netbsd-current/sys/arch/sparc64/sparc64/
H A Dlocore.s6739 * CPUs before we set ci_curlwp := newlwp on this one,
6742 * 2. ci_curlwp := newlwp must be visible on all other CPUs
6743 * before any subsequent mutex_exit by newlwp can even test
6952 ! newlwp in %l2, oldlwp in %o0

Completed in 141 milliseconds