Home
last modified time | relevance | path

Searched refs:uc_stack (Results 1 – 25 of 28) sorted by relevance

12

/titanic_50/usr/src/uts/intel/ia32/syscall/
H A Dgetcontext.c78 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 Dgetcontext.c73 (&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 Dmdb_context.c101 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 Dmakectxt.c81 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 Dsiglongjmp.c62 uc.uc_stack = bp->sjs_stack; in siglongjmp()
/titanic_50/usr/src/lib/libc/sparc/gen/
H A Dmakectxt.c81 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 Dsiglongjmp.c65 uc.uc_stack = bp->sjs_stack; in siglongjmp()
/titanic_50/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c181 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 Dmakectxt.c87 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 Ducontext.h85 stack_t uc_stack; member
98 stack32_t uc_stack; member
/titanic_50/usr/src/uts/sparc/sys/
H A Ducontext.h86 stack_t uc_stack; member
103 stack32_t uc_stack; member
/titanic_50/usr/src/lib/libc/amd64/gen/
H A Dmakectxt.c72 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 Dmachdep.c223 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 Dstack.c98 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 Dsignal.c73 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 Dsigsetjmp.c62 bp->sjs_stack = uc.uc_stack;
125 bp->sjs_stack = uc.uc_stack;
H A Ducontext.h101 stack_t uc_stack; member
/titanic_50/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c119 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 Dsignal.c73 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 Dsignal.c101 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 Dsetjmp.c61 bp->sjs_stack = uc.uc_stack;
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/
H A Dsetjmp.c64 bp->sjs_stack = uc.uc_stack;
/titanic_50/usr/src/uts/intel/ia32/os/
H A Darchdep.c548 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 DPlwpregs.c484 (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 Dv9dep.c1790 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()

12