/titanic_50/usr/src/uts/intel/ia32/syscall/ |
H A D | getcontext.c | 78 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, in savecontext() 79 sizeof (ucp->uc_stack)) != 0 || in savecontext() 80 ucp->uc_stack.ss_size == 0) { in savecontext() 83 ucp->uc_stack = lwp->lwp_sigaltstack; in savecontext() 85 ucp->uc_stack.ss_sp = p->p_usrstack - p->p_stksize; in savecontext() 86 ucp->uc_stack.ss_size = p->p_stksize; in savecontext() 87 ucp->uc_stack.ss_flags = 0; in savecontext() 143 if (ucp->uc_stack.ss_flags == SS_ONSTACK) in restorecontext() 144 lwp->lwp_sigaltstack = ucp->uc_stack; in restorecontext() 234 (void) copyout(&uc.uc_stack, (stack_t *)lwp->lwp_ustack, in getsetcontext() [all …]
|
/titanic_50/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 73 (&ucp->uc_stack.ss_flags)[1] = 0; in savecontext() 91 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, in savecontext() 92 sizeof (ucp->uc_stack)) != 0 || in savecontext() 93 ucp->uc_stack.ss_size == 0) { in savecontext() 96 ucp->uc_stack = lwp->lwp_sigaltstack; in savecontext() 98 ucp->uc_stack.ss_sp = p->p_usrstack - p->p_stksize; in savecontext() 99 ucp->uc_stack.ss_size = p->p_stksize; in savecontext() 100 ucp->uc_stack.ss_flags = 0; in savecontext() 135 if (ucp->uc_stack.ss_flags == SS_ONSTACK) in restorecontext() 136 lwp->lwp_sigaltstack = ucp->uc_stack; in restorecontext() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 101 c->ctx_uc.uc_stack.ss_sp = c->ctx_stack; in mdb_context_create() 102 c->ctx_uc.uc_stack.ss_size = c->ctx_stacksize; in mdb_context_create() 103 c->ctx_uc.uc_stack.ss_flags = 0; in mdb_context_create()
|
/titanic_50/usr/src/lib/libc/sparcv9/gen/ |
H A D | makectxt.c | 81 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp - size) & in makecontext() 128 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp + in __makecontext_v2() 129 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1)); in __makecontext_v2()
|
H A D | siglongjmp.c | 62 uc.uc_stack = bp->sjs_stack; in siglongjmp()
|
/titanic_50/usr/src/lib/libc/sparc/gen/ |
H A D | makectxt.c | 81 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp - size) & in makecontext() 128 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp + in __makecontext_v2() 129 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1)); in __makecontext_v2()
|
H A D | siglongjmp.c | 65 uc.uc_stack = bp->sjs_stack; in siglongjmp()
|
/titanic_50/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 181 ucp->uc_stack = self->ul_ustack; in __csigsetjmp() 183 ucp->uc_stack.ss_sp = in __csigsetjmp() 185 ucp->uc_stack.ss_size = self->ul_stksiz; in __csigsetjmp() 186 ucp->uc_stack.ss_flags = 0; in __csigsetjmp()
|
/titanic_50/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 87 tsp = (long *)(((uintptr_t)ucp->uc_stack.ss_sp + in makecontext() 88 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1)); in makecontext()
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | ucontext.h | 85 stack_t uc_stack; member 98 stack32_t uc_stack; member
|
/titanic_50/usr/src/uts/sparc/sys/ |
H A D | ucontext.h | 86 stack_t uc_stack; member 103 stack32_t uc_stack; member
|
/titanic_50/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 72 sp = (long *)(((uintptr_t)ucp->uc_stack.ss_sp + in makecontext() 73 ucp->uc_stack.ss_size - size) & ~(STACK_ENTRY_ALIGN - 1)); in makecontext()
|
/titanic_50/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 223 ucp->uc_stack = self->ul_ustack; in __csigsetjmp() 225 ucp->uc_stack.ss_sp = in __csigsetjmp() 227 ucp->uc_stack.ss_size = self->ul_stksiz; in __csigsetjmp() 228 ucp->uc_stack.ss_flags = 0; in __csigsetjmp()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | stack.c | 98 base = (uintptr_t)ucp->uc_stack.ss_sp; in stack_violation() 99 size = ucp->uc_stack.ss_size; in stack_violation()
|
/titanic_50/usr/src/cmd/csh/i386/ |
H A D | signal.c | 73 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); in sigvechandler() 102 ucp->uc_stack.ss_flags |= SS_ONSTACK; in sigvechandler() 104 ucp->uc_stack.ss_flags &= ~SS_ONSTACK; in sigvechandler()
|
/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | sigsetjmp.c | 62 bp->sjs_stack = uc.uc_stack; 125 bp->sjs_stack = uc.uc_stack;
|
H A D | ucontext.h | 101 stack_t uc_stack; member
|
/titanic_50/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 119 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); in ucbsigvechandler() 279 ucp->uc_stack.ss_flags |= SS_ONSTACK; in ucbsigvechandler() 281 ucp->uc_stack.ss_flags &= ~SS_ONSTACK; in ucbsigvechandler() 363 ucp->uc_stack.ss_flags |= SS_ONSTACK; in __sigcleanup() 365 ucp->uc_stack.ss_flags &= ~SS_ONSTACK; in __sigcleanup()
|
/titanic_50/usr/src/cmd/csh/sparc/ |
H A D | signal.c | 73 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); in sigvechandler() 114 ucp->uc_stack.ss_flags |= SS_ONSTACK; in sigvechandler() 116 ucp->uc_stack.ss_flags &= ~SS_ONSTACK; in sigvechandler()
|
/titanic_50/usr/src/ucblib/libucb/i386/sys/ |
H A D | signal.c | 101 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); in ucbsigvechandler() 171 ucp->uc_stack.ss_flags |= SS_ONSTACK; in ucbsigvechandler() 173 ucp->uc_stack.ss_flags &= ~SS_ONSTACK; in ucbsigvechandler()
|
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | setjmp.c | 61 bp->sjs_stack = uc.uc_stack;
|
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | setjmp.c | 64 bp->sjs_stack = uc.uc_stack;
|
/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | archdep.c | 548 dst->uc_stack.ss_sp = (void *)(uintptr_t)src->uc_stack.ss_sp; in ucontext_32ton() 549 dst->uc_stack.ss_size = (size_t)src->uc_stack.ss_size; in ucontext_32ton() 550 dst->uc_stack.ss_flags = src->uc_stack.ss_flags; in ucontext_32ton()
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 484 (uintptr_t)&ctxp->uc_stack) != sizeof (*stkp)) in Plwp_main_stack() 492 (uintptr_t)&ctxp->uc_stack) != sizeof (stk32)) in Plwp_main_stack()
|
/titanic_50/usr/src/uts/sparc/v9/os/ |
H A D | v9dep.c | 1790 dest->uc_stack.ss_sp = (void *)(uintptr_t)src->uc_stack.ss_sp; in ucontext_32ton() 1791 dest->uc_stack.ss_size = (size_t)src->uc_stack.ss_size; in ucontext_32ton() 1792 dest->uc_stack.ss_flags = src->uc_stack.ss_flags; in ucontext_32ton()
|