Home
last modified time | relevance | path

Searched refs:Lsp (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/truss/
H A Dactions.c66 const lwpstatus_t *Lsp = pri->lwpstat; in report_sleeping() local
67 int sys = Lsp->pr_syscall; in report_sleeping()
70 !(Lsp->pr_flags & (PR_ASLEEP|PR_VFORKP))) { in report_sleeping()
88 if (Lsp->pr_flags & PR_VFORKP) in report_sleeping()
94 if (Lsp->pr_flags & PR_VFORKP) in report_sleeping()
120 const lwpstatus_t *Lsp = pri->lwpstat; in requested() local
121 int sig = Lsp->pr_cursig; in requested()
135 if (Lsp->pr_action.sa_handler == SIG_DFL) in requested()
137 else if (Lsp->pr_action.sa_handler == SIG_IGN) in requested()
160 const lwpstatus_t *Lsp = pri->lwpstat; in jobcontrol() local
[all …]
H A Dfcall.c71 int lwp_stack_traps(void *cd, const lwpstatus_t *Lsp);
630 make_lwp_stack(const lwpstatus_t *Lsp, prmap_t *Pmap, int nmap) in make_lwp_stack() argument
633 uintptr_t sp = Lsp->pr_reg[R_SP]; in make_lwp_stack()
634 id_t lwpid = Lsp->pr_lwpid; in make_lwp_stack()
668 if ((Lsp->pr_altstack.ss_flags & SS_ONSTACK) && in make_lwp_stack()
669 sp >= (uintptr_t)Lsp->pr_altstack.ss_sp && in make_lwp_stack()
670 sp < (uintptr_t)Lsp->pr_altstack.ss_sp in make_lwp_stack()
671 + Lsp->pr_altstack.ss_size) { in make_lwp_stack()
672 Stk->stkbase = (uintptr_t)Lsp->pr_altstack.ss_sp; in make_lwp_stack()
673 Stk->stkend = Stk->stkbase + Lsp->pr_altstack.ss_size; in make_lwp_stack()
[all …]
H A Dmain.c231 create_thread(void *arg, const lwpstatus_t *Lsp) in create_thread() argument
237 if (lwptrace(Pstatus(Proc)->pr_pid, Lsp->pr_lwpid)) in create_thread()
240 if ((new_Lwp = grab_lwp(Lsp->pr_lwpid)) != NULL) { in create_thread()
263 const lwpstatus_t *Lsp; in main() local
506 Lsp = &Psp->pr_lwp; in main()
507 pri->lwpstat = Lsp; in main()
614 Lsp = &Psp->pr_lwp; in main()
642 Lsp = &Psp->pr_lwp; in main()
744 if ((Lsp->pr_why != PR_SYSENTRY && in main()
745 Lsp->pr_why != PR_SYSEXIT) || in main()
[all …]
H A Dsystable.c1349 const lwpstatus_t *Lsp = pri->lwpstat; in getsubcode() local
1350 int syscall = Lsp->pr_syscall; in getsubcode()
1351 int nsysarg = Lsp->pr_nsysarg; in getsubcode()
1356 arg0 = Lsp->pr_sysarg[0]; in getsubcode()
1360 subcode = Lsp->pr_sysarg[2]; in getsubcode()
1364 subcode = ((int)Lsp->pr_sysarg[0] == AT_FDCWD && in getsubcode()
1365 Lsp->pr_sysarg[3] == 0)? 1 : 0; in getsubcode()
1368 if (nsysarg > 1 && Lsp->pr_sysarg[1] == NULL) { in getsubcode()
1372 if (nsysarg > 0 && (int)Lsp->pr_sysarg[0] != AT_FDCWD) { in getsubcode()
1377 subcode = (Lsp->pr_sysarg[3] == 0)? 1 : in getsubcode()
[all …]
H A Dipc.c258 const lwpstatus_t *Lsp = pri->lwpstat; in checkproc() local
259 int what = Lsp->pr_what; /* one of the SYS_open* syscalls */ in checkproc()
260 int err = Lsp->pr_errno; in checkproc()
H A Dexpound.c3544 const lwpstatus_t *Lsp = pri->lwpstat; in show_msghdr() local
3545 int what = Lsp->pr_what; in show_msghdr()
3583 const lwpstatus_t *Lsp = pri->lwpstat; in show_msghdr32() local
3584 int what = Lsp->pr_what; in show_msghdr32()
5128 const lwpstatus_t *Lsp = pri->lwpstat; in expound() local
5130 int what = Lsp->pr_what; in expound()
5139 if (what == 0 && (Lsp->pr_flags & (PR_ASLEEP|PR_VFORKP))) in expound()
5140 what = Lsp->pr_syscall; in expound()
H A Dprint.c602 const lwpstatus_t *Lsp = pri->lwpstat; in prt_iob() local
603 int syscall = Lsp->pr_what; in prt_iob()
612 if (Lsp->pr_why == PR_SYSEXIT && nbyte > IOBSIZE) { in prt_iob()
/titanic_41/usr/src/lib/libproc/common/
H A DPcontrol.c2893 lwpstatus_t *Lsp; in Plwp_iter() local
2943 for (nlwp = Lhp->pr_nent, Lsp = (lwpstatus_t *)(uintptr_t)(Lhp + 1); in Plwp_iter()
2945 nlwp--, Lsp = (lwpstatus_t *)((uintptr_t)Lsp + Lhp->pr_entsize)) { in Plwp_iter()
2946 if ((rv = func(cd, Lsp)) != 0) in Plwp_iter()
2962 lwpstatus_t *Lsp; in Plwp_iter_all() local
3036 Lsp = (lwpstatus_t *)(uintptr_t)(Lhp + 1); in Plwp_iter_all()
3044 if (nstat == 0 || Lsp->pr_lwpid != Lpsp->pr_lwpid) in Plwp_iter_all()
3046 Lsp = (lwpstatus_t *)((uintptr_t)Lsp + Lhp->pr_entsize); in Plwp_iter_all()
3057 Lsp = (lwpstatus_t *)(uintptr_t)(Lhp + 1); in Plwp_iter_all()
3061 sp = Lsp; in Plwp_iter_all()
[all …]