Home
last modified time | relevance | path

Searched refs:Psp (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap_common.c69 const pstatus_t *Psp = Pstatus(Pr); in make_name() local
92 (int)Psp->pr_pid, mapname); in make_name()
101 "/proc/%d/object/%s", (int)Psp->pr_pid, mapname); in make_name()
117 anon_name(char *name, const pstatus_t *Psp, lwpstack_t *stacks, uint_t nstacks, in anon_name() argument
136 } else if (vaddr + size > Psp->pr_stkbase && in anon_name()
137 vaddr < Psp->pr_stkbase + Psp->pr_stksize) { in anon_name()
141 vaddr + size > Psp->pr_brkbase && in anon_name()
142 vaddr < Psp->pr_brkbase + Psp->pr_brksize) { in anon_name()
H A Dpmap.c723 const pstatus_t *Psp = Pstatus(Pr); in look_map() local
738 segment_end <= Psp->pr_brkbase || in look_map()
739 pmp->pr_vaddr >= Psp->pr_brkbase + Psp->pr_brksize) { in look_map()
746 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr, in look_map()
857 const pstatus_t *Psp = Pstatus(Pr); in look_smap() local
873 pmp->pr_vaddr + pmp->pr_size <= Psp->pr_brkbase || in look_smap()
874 pmp->pr_vaddr >= Psp->pr_brkbase + Psp->pr_brksize) { in look_smap()
881 lname = anon_name(mname, Psp, stacks, nstacks, pmp->pr_vaddr, in look_smap()
964 const pstatus_t *Psp = Pstatus(Pr); in look_xmap() local
974 pmp->pr_vaddr + pmp->pr_size <= Psp->pr_brkbase || in look_xmap()
[all …]
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c229 const pstatus_t *Psp = Pstatus(Proc); in establish_stacks() local
237 (void) sprintf(mapfile, "/proc/%d/rmap", (int)Psp->pr_pid); in establish_stacks()
573 const pstatus_t *Psp = Pstatus(Proc); in report_htable_stats() local
623 (ulong_t)Psp->pr_stkbase, in report_htable_stats()
624 (ulong_t)(Psp->pr_stkbase + Psp->pr_stksize), in report_htable_stats()
625 (ulong_t)Psp->pr_stksize); in report_htable_stats()
632 const pstatus_t *Psp = Pstatus(Proc); in make_lwp_stack() local
661 if (sp >= Psp->pr_stkbase && sp < Psp->pr_stkbase + Psp->pr_stksize) { in make_lwp_stack()
662 Stk->stkbase = Psp->pr_stkbase; in make_lwp_stack()
663 Stk->stkend = Stk->stkbase + Psp->pr_stksize; in make_lwp_stack()
[all …]
H A Dmain.c264 const pstatus_t *Psp; in main() local
507 Psp = Pstatus(Proc); in main()
508 Lsp = &Psp->pr_lwp; in main()
510 data_model = Psp->pr_dmodel; in main()
511 created = Psp->pr_pid; in main()
525 pri->syslast = Psp->pr_stime; in main()
526 pri->usrlast = Psp->pr_utime; in main()
615 Psp = Pstatus(Proc); in main()
616 Lsp = &Psp->pr_lwp; in main()
643 Psp = Pstatus(Proc); in main()
[all …]
H A Dipc.c256 const pstatus_t *Psp = Pstatus(Proc); in checkproc() local
321 pid = Psp->pr_pid; in checkproc()
352 if (pid == Psp->pr_pid) { /* process opened its own /proc file */ in checkproc()
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dleaky_subr.c228 pstatus_t *Psp = lmp->lm_pstatus; in leaky_process_anon_mappings() local
230 uintptr_t brk_start = Psp->pr_brkbase; in leaky_process_anon_mappings()
231 uintptr_t brk_end = Psp->pr_brkbase + Psp->pr_brksize; in leaky_process_anon_mappings()
509 const pstatus_t *Psp) in leaky_grep_mappings() argument
530 } else if (pmp->pr_vaddr <= Psp->pr_brkbase && in leaky_grep_mappings()
531 pmp->pr_vaddr + pmp->pr_size > Psp->pr_brkbase) { in leaky_grep_mappings()
533 leaky_grep(pmp->pr_vaddr, Psp->pr_brkbase - pmp->pr_vaddr); in leaky_grep_mappings()
534 } else if (pmp->pr_vaddr >= Psp->pr_brkbase && in leaky_grep_mappings()
535 pmp->pr_vaddr < Psp->pr_brkbase + Psp->pr_brksize) { in leaky_grep_mappings()
537 } else if (pmp->pr_vaddr == Psp->pr_stkbase && in leaky_grep_mappings()
[all …]
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c561 const pstatus_t *Psp = Pstatus(Pr); in create_maplist() local
582 (pmp->pr_vaddr + pmp->pr_size <= Psp->pr_brkbase || in create_maplist()
583 pmp->pr_vaddr >= Psp->pr_brkbase + Psp->pr_brksize)) { in create_maplist()
593 lname = anon_name(newmap->label, Psp, stacks, nstacks, in create_maplist()