/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 745 stk_compute_percent(caddr_t t_stk, caddr_t t_stkbase, caddr_t sp) in stk_compute_percent() argument 750 if (t_stk > t_stkbase) { in stk_compute_percent() 755 if (sp < t_stkbase) { in stk_compute_percent() 759 s = t_stk - t_stkbase + 1; in stk_compute_percent() 765 if (sp > t_stkbase) { in stk_compute_percent() 769 s = t_stkbase - t_stk + 1; in stk_compute_percent() 908 if (t.t_stk > t.t_stkbase) { in stackinfo() 910 start = t.t_stkbase; in stackinfo() 915 end = t.t_stkbase; in stackinfo() 932 percent = stk_compute_percent(t.t_stk, t.t_stkbase, in stackinfo() [all …]
|
H A D | findstack_subr.c | 137 caddr_t t_stkbase; member 174 if (thr.t_stk < thr.t_stkbase) { in stacks_findstack() 183 kbase = (uintptr_t)thr.t_stkbase; in stacks_findstack()
|
H A D | leaky_subr.c | 282 uintptr_t size, base = (uintptr_t)t->t_stkbase; in leaky_thread()
|
H A D | kmem.c | 2463 if (t->t_stkbase == NULL) in whatis_walk_thread() 2474 saddr = (uintptr_t)t->t_stkbase; in whatis_walk_thread() 4345 if (t->t_stkbase == NULL) in whatthread_walk_thread() 4361 for (current = (uintptr_t)t->t_stkbase; current < (uintptr_t)t->t_stk; in whatthread_walk_thread()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread.c | 385 t->t_stkbase = stk; in thread_create() 391 t->t_stkbase = stk + stksize + sizeof (kthread_t); in thread_create() 407 t->t_stkbase = stk; in thread_create() 410 t->t_stkbase = stk + stksize; in thread_create() 2068 if (t->t_stk > t->t_stkbase) { in stkinfo_begin() 2070 start = t->t_stkbase; in stkinfo_begin() 2075 end = t->t_stkbase; in stkinfo_begin() 2137 if (t->t_stk > t->t_stkbase) { in stkinfo_end() 2139 start = t->t_stkbase; in stkinfo_end() 2144 end = t->t_stkbase; in stkinfo_end() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | archdep.c | 123 minfp = (struct frame *)curthread->t_stkbase; in getpcstack() 319 minfp = (struct frame *)curthread->t_stkbase; in traceback()
|
H A D | sundep.c | 170 ASSERT(sp > t->t_stkbase); in thread_load()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kp.c | 793 (fp - (uintptr_t)curthread->t_stkbase >= red_minavail)) in segkp_map_red() 808 (((uintptr_t)curthread->t_stkbase & (uintptr_t)PAGEMASK) - in segkp_map_red() 844 while (fp - (uintptr_t)curthread->t_stkbase < red_closest) { in segkp_map_red() 846 (uint32_t)(fp - (uintptr_t)curthread->t_stkbase)); in segkp_map_red() 851 stkbase = (caddr_t)(((uintptr_t)curthread->t_stkbase & in segkp_map_red() 885 caddr_t red_va = (caddr_t)(((uintptr_t)curthread->t_stkbase & in segkp_unmap_red()
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | dtrace_isa.c | 75 minfp = (struct frame *)curthread->t_stkbase; in dtrace_getpcstack() 517 minfp = (struct frame *)curthread->t_stkbase; in dtrace_getstackdepth()
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | dtrace_isa.c | 312 minfp = (struct frame *)curthread->t_stkbase; in dtrace_getpcstack() 724 minfp = (struct frame *)curthread->t_stkbase; in dtrace_getstackdepth()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cpr_impl.c | 99 #define CPR_GET_STACK_START(t) ((t)->t_stkbase) 103 #define CPR_GET_STACK_END(t) ((t)->t_stkbase)
|
H A D | mlsetup.c | 326 t0.t_stkbase = t0stack; in mlsetup()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 149 t0.t_stkbase = t0stack; in mlsetup()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | putnext.c | 91 (uintptr_t)curthread->t_stkbase) < put_stack_needed) && \
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | thread.h | 288 caddr_t t_stkbase; /* base of the the stack */ member
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | sundep.c | 278 ASSERT(sp > t->t_stkbase); in thread_load()
|
H A D | syscall.c | 264 ASSERT((caddr_t)lwp->lwp_ap > t->t_stkbase && in pre_syscall()
|
H A D | archdep.c | 690 minfp = (struct frame *)curthread->t_stkbase; in getpcstack()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | squeue.c | 616 (uintptr_t)curthread->t_stkbase < squeue_drain_stack_needed) { in squeue_drain()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 3423 (uintptr_t)curthread->t_stkbase < mac_rx_srs_stack_needed) { in mac_rx_srs_process()
|