Lines Matching refs:Lsp

71 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()
815 const lwpstatus_t *Lsp = pri->lwpstat; in find_stack() local
816 id_t lwpid = Lsp->pr_lwpid; in find_stack()
818 prgreg_t tref = Lsp->pr_reg[R_G7]; in find_stack()
820 prgreg_t tref = Lsp->pr_reg[REG_FS]; in find_stack()
822 prgreg_t tref = Lsp->pr_reg[GS]; in find_stack()
848 if ((Lsp->pr_altstack.ss_flags & SS_ONSTACK) && in find_stack()
849 sp >= (uintptr_t)Lsp->pr_altstack.ss_sp && in find_stack()
850 sp < (uintptr_t)Lsp->pr_altstack.ss_sp in find_stack()
851 + Lsp->pr_altstack.ss_size) { in find_stack()
856 Stk->stkbase = (uintptr_t)Lsp->pr_altstack.ss_sp; in find_stack()
857 Stk->stkend = Stk->stkbase + Lsp->pr_altstack.ss_size; in find_stack()
927 const lwpstatus_t *Lsp = pri->lwpstat; in get_tid() local
928 id_t lwpid = Lsp->pr_lwpid; in get_tid()
930 prgreg_t tref = Lsp->pr_reg[R_G7]; in get_tid()
933 Lsp->pr_reg[REG_FS] : Lsp->pr_reg[REG_GS]; in get_tid()
935 prgreg_t tref = Lsp->pr_reg[GS]; in get_tid()
1247 const lwpstatus_t *Lsp = pri->lwpstat; in function_trace() local
1248 uintptr_t pc = Lsp->pr_reg[R_PC]; in function_trace()
1249 uintptr_t sp = Lsp->pr_reg[R_SP]; in function_trace()
1250 uintptr_t fp = Lsp->pr_reg[R_FP]; in function_trace()
1445 const lwpstatus_t *Lsp = pri->lwpstat; in function_entry() local
1446 uintptr_t sp = Lsp->pr_reg[R_SP]; in function_entry()
1507 const lwpstatus_t *Lsp = pri->lwpstat; in function_return() local
1508 uintptr_t sp = Lsp->pr_reg[R_SP]; in function_return()
1509 uintptr_t fp = Lsp->pr_reg[R_FP]; in function_return()
1547 show_function_return(pri, Lsp->pr_reg[R_R0], 0, in function_return()
1634 lwp_stack_traps(void *cd, const lwpstatus_t *Lsp) in lwp_stack_traps() argument
1639 (void) memcpy(reg, Lsp->pr_reg, sizeof (prgregset_t)); in lwp_stack_traps()
1640 make_lwp_stack(Lsp, ph_map->pmap, ph_map->nmap); in lwp_stack_traps()
1711 const lwpstatus_t *Lsp = pri->lwpstat; in get_return_address() local
1714 rpc = (uintptr_t)Lsp->pr_reg[R_O7] + 8; in get_return_address()
1730 const lwpstatus_t *Lsp = pri->lwpstat; in get_arguments() local
1735 argp[i] = (uint_t)Lsp->pr_reg[R_O0+i]; in get_arguments()
1738 argp[i] = (long)Lsp->pr_reg[R_O0+i]; in get_arguments()
1854 const lwpstatus_t *Lsp = pri->lwpstat; in get_arguments32() local
1861 (uintptr_t)Lsp->pr_reg[R_SP]); in get_arguments32()
1889 const lwpstatus_t *Lsp = pri->lwpstat; in get_arguments() local
1899 argp[0] = Lsp->pr_reg[REG_RDI]; in get_arguments()
1900 argp[1] = Lsp->pr_reg[REG_RSI]; in get_arguments()
1901 argp[2] = Lsp->pr_reg[REG_RDX]; in get_arguments()
1902 argp[3] = Lsp->pr_reg[REG_RCX]; in get_arguments()
1903 argp[4] = Lsp->pr_reg[REG_R8]; in get_arguments()
1904 argp[5] = Lsp->pr_reg[REG_R9]; in get_arguments()