Lines Matching defs:lwp
54 xregs_clrptr(klwp_id_t lwp, ucontext_t *uc)
66 xregs_hasptr(klwp_id_t lwp, ucontext_t *uc)
76 xregs_getptr(klwp_id_t lwp, ucontext_t *uc)
88 xregs_setptr(klwp_id_t lwp, ucontext_t *uc, caddr_t xrp)
98 xregs_clrptr32(klwp_id_t lwp, ucontext32_t *uc)
106 xregs_hasptr32(klwp_id_t lwp, ucontext32_t *uc)
113 xregs_getptr32(klwp_id_t lwp, ucontext32_t *uc)
122 xregs_setptr32(klwp_id_t lwp, ucontext32_t *uc, caddr32_t xrp)
132 * NOTE: 'lwp' might not correspond to 'curthread' in any of the
134 * or set the extra registers of another lwp.
146 * specified lwp's non-floating-point extra register state
150 xregs_getgregs(klwp_id_t lwp, caddr_t xrp)
153 struct regs *rp = lwptoregs(lwp);
180 xregs_getgfiller(lwp, xrp);
185 * specified lwp's floating-point extra register state information
188 xregs_getfpregs(klwp_id_t lwp, caddr_t xrp)
191 kfpu_t *fp = lwptofpu(lwp);
200 if (ttolwp(curthread) == lwp)
207 if (fpu_exists && (ttolwp(curthread) == lwp)) {
228 xregs_getfpfiller(lwp, xrp);
240 * the specified lwp's extra register state information
243 xregs_get(klwp_id_t lwp, caddr_t xrp)
247 xregs_getgregs(lwp, xrp);
248 xregs_getfpregs(lwp, xrp);
253 * set the specified lwp's non-floating-point extra
257 xregs_setgregs(klwp_id_t lwp, caddr_t xrp)
260 struct regs *rp = lwptoregs(lwp);
261 int current = (lwp == curthread->t_lwp);
305 xregs_setgfiller(lwp, xrp);
313 lwp->lwp_eosys = JUSTRETURN;
319 * set the specified lwp's floating-point extra
323 xregs_setfpregs(klwp_id_t lwp, caddr_t xrp)
326 kfpu_t *fp = lwptofpu(lwp);
347 xregs_setfpfiller(lwp, xrp);
350 * If not the current lwp then resume() will handle it
352 if (lwp != ttolwp(curthread)) {
380 * set the specified lwp's extra register
384 xregs_set(klwp_id_t lwp, caddr_t xrp)
387 xregs_setgregs(lwp, xrp);
388 xregs_setfpregs(lwp, xrp);