Home
last modified time | relevance | path

Searched refs:Lwp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/truss/
H A Dipc.c257 struct ps_lwphandle *Lwp = pri->Lwp; in checkproc() local
390 (void) Lgetareg(Lwp, R_PC, &pc); in checkproc()
392 (void) Lputareg(Lwp, R_G1, (prgreg_t)SYS_syscall); in checkproc()
393 (void) Lputareg(Lwp, R_O0, (prgreg_t)what); in checkproc()
395 (void) Lputareg(Lwp, R_O1+i, pri->sys_args[i]); in checkproc()
397 (void) Lputareg(Lwp, R_G1, (prgreg_t)what); in checkproc()
399 (void) Lputareg(Lwp, R_O0+i, pri->sys_args[i]); in checkproc()
401 (void) Lputareg(Lwp, R_nPC, pc); in checkproc()
403 (void) Lgetareg(Lwp, R_PC, &pc); in checkproc()
404 (void) Lputareg(Lwp, REG_RAX, (prgreg_t)what); in checkproc()
[all …]
H A Dmain.c212 struct ps_lwphandle *Lwp; in grab_lwp() local
215 if ((Lwp = Lgrab(Proc, who, &gcode)) == NULL) { in grab_lwp()
225 return (Lwp); in grab_lwp()
870 struct ps_lwphandle *Lwp = (struct ps_lwphandle *)arg; in worker_thread() local
872 const lwpstatus_t *Lsp = Lstatus(Lwp); in worker_thread()
890 pri->Lwp = Lwp; in worker_thread()
907 (void) Lstop(Lwp, MILLISEC); in worker_thread()
908 if (Lstate(Lwp) == PS_RUN) in worker_thread()
911 if (Lstate(Lwp) == PS_RUN) { in worker_thread()
928 (void) Lwait(Lwp, tout); in worker_thread()
[all …]
H A Dfcall.c1240 struct ps_lwphandle *Lwp = pri->Lwp; in function_trace() local
1398 (void) Lxecbkpt(Lwp, instr); in function_trace()
1410 (void) Lsetrun(Lwp, 0, PRCFAULT|PRSTEP); in function_trace()
1412 (void) Lwait(Lwp, MILLISEC); in function_trace()
1421 (void) Lsetrun(Lwp, 0, PRCFAULT|PRSTOP); in function_trace()
1423 (void) Lwait(Lwp, MILLISEC); in function_trace()
H A Dramdata.h83 struct ps_lwphandle *Lwp; /* non-NULL for each lwp controller */ member