Home
last modified time | relevance | path

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

/titanic_50/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.c210 struct ps_lwphandle *Lwp; in grab_lwp() local
213 if ((Lwp = Lgrab(Proc, who, &gcode)) == NULL) { in grab_lwp()
223 return (Lwp); in grab_lwp()
865 struct ps_lwphandle *Lwp = (struct ps_lwphandle *)arg; in worker_thread() local
867 const lwpstatus_t *Lsp = Lstatus(Lwp); in worker_thread()
885 pri->Lwp = Lwp; in worker_thread()
902 (void) Lstop(Lwp, MILLISEC); in worker_thread()
903 if (Lstate(Lwp) == PS_RUN) in worker_thread()
906 if (Lstate(Lwp) == PS_RUN) { in worker_thread()
923 (void) Lwait(Lwp, tout); in worker_thread()
[all …]
H A Dfcall.c1246 struct ps_lwphandle *Lwp = pri->Lwp; in function_trace() local
1404 (void) Lxecbkpt(Lwp, instr); in function_trace()
1416 (void) Lsetrun(Lwp, 0, PRCFAULT|PRSTEP); in function_trace()
1418 (void) Lwait(Lwp, MILLISEC); in function_trace()
1427 (void) Lsetrun(Lwp, 0, PRCFAULT|PRSTOP); in function_trace()
1429 (void) Lwait(Lwp, MILLISEC); in function_trace()
H A Dramdata.h83 struct ps_lwphandle *Lwp; /* non-NULL for each lwp controller */ member
/titanic_50/usr/src/lib/libproc/common/
H A Dllib-lproc95 struct ps_prochandle *Lprochandle(struct ps_lwphandle *Lwp);
96 void Lfree(struct ps_lwphandle *Lwp);
97 int Lctlfd(struct ps_lwphandle *Lwp);
98 int Lwait(struct ps_lwphandle *Lwp, uint_t msec);
99 int Lstop(struct ps_lwphandle *Lwp, uint_t msec);
100 int Ldstop(struct ps_lwphandle *Lwp);
101 int Lstate(struct ps_lwphandle *Lwp);
102 const lwpsinfo_t *Lpsinfo(struct ps_lwphandle *Lwp);
103 const lwpstatus_t *Lstatus(struct ps_lwphandle *Lwp);
104 int Lgetareg(struct ps_lwphandle *Lwp, int regno, prgreg_t *preg);
[all …]