Lines Matching refs:pl

295 	struct ptrace_lwpinfo pl;  in add_threads()  local
310 if (ptrace(PT_LWPINFO, lwps[i], (caddr_t)&pl, sizeof(pl)) == -1) in add_threads()
312 if (pl.pl_flags & PL_FLAG_SCE) { in add_threads()
314 enter_syscall(info, t, &pl); in add_threads()
426 alloc_syscall(struct threadinfo *t, struct ptrace_lwpinfo *pl) in alloc_syscall() argument
437 t->cs.number = pl->pl_syscall_code; in alloc_syscall()
454 struct ptrace_lwpinfo *pl) in enter_syscall() argument
459 alloc_syscall(t, pl); in enter_syscall()
460 narg = MIN(pl->pl_syscall_narg, nitems(t->cs.args)); in enter_syscall()
528 exit_syscall(struct trussinfo *info, struct ptrace_lwpinfo *pl) in exit_syscall() argument
578 if (pl->pl_flags & PL_FLAG_EXEC) { in exit_syscall()
728 report_signal(struct trussinfo *info, siginfo_t *si, struct ptrace_lwpinfo *pl) in report_signal() argument
740 if (pl->pl_event == PL_EVENT_SIGNAL && pl->pl_flags & PL_FLAG_SI) in report_signal()
741 decode_siginfo(info->outfile, &pl->pl_siginfo); in report_signal()
753 struct ptrace_lwpinfo pl; in eventloop() local
785 if (ptrace(PT_LWPINFO, si.si_pid, (caddr_t)&pl, in eventloop()
786 sizeof(pl)) == -1) in eventloop()
789 if (pl.pl_flags & PL_FLAG_CHILD) { in eventloop()
790 new_proc(info, si.si_pid, pl.pl_lwpid); in eventloop()
793 } else if (pl.pl_flags & PL_FLAG_BORN) in eventloop()
795 pl.pl_lwpid); in eventloop()
796 find_thread(info, si.si_pid, pl.pl_lwpid); in eventloop()
799 (pl.pl_flags & (PL_FLAG_BORN|PL_FLAG_EXITED| in eventloop()
801 if (pl.pl_flags & PL_FLAG_BORN) { in eventloop()
804 } else if (pl.pl_flags & PL_FLAG_EXITED) { in eventloop()
809 } else if (pl.pl_flags & PL_FLAG_SCE) in eventloop()
810 enter_syscall(info, info->curthread, &pl); in eventloop()
811 else if (pl.pl_flags & PL_FLAG_SCX) in eventloop()
812 exit_syscall(info, &pl); in eventloop()
814 } else if (pl.pl_flags & PL_FLAG_CHILD) { in eventloop()
820 report_signal(info, &si, &pl); in eventloop()