/illumos-gate/usr/src/uts/intel/ia32/syscall/ |
H A D | getcontext.c | 78 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, 79 sizeof (ucp->uc_stack)) != 0 || 80 ucp->uc_stack.ss_size == 0) { 83 ucp->uc_stack = lwp->lwp_sigaltstack; 85 ucp->uc_stack.ss_sp = p->p_usrstack - p->p_stksize; 86 ucp->uc_stack.ss_size = p->p_stksize; 87 ucp->uc_stack.ss_flags = 0; 143 if (ucp->uc_stack.ss_flags == SS_ONSTACK) 144 lwp->lwp_sigaltstack = ucp->uc_stack; 234 (void) copyout(&uc.uc_stack, (stack_ [all...] |
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 39 * call to getcontext(2), have the uc_stack member set to reflect the 44 * uc_stack, and which will return to the ucontext_t specified by uc_link. 87 tsp = (long *)(((uintptr_t)ucp->uc_stack.ss_sp + 88 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1));
|
/illumos-gate/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 73 (&ucp->uc_stack.ss_flags)[1] = 0; 91 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, 92 sizeof (ucp->uc_stack)) != 0 || 93 ucp->uc_stack.ss_size == 0) { 96 ucp->uc_stack = lwp->lwp_sigaltstack; 98 ucp->uc_stack.ss_sp = p->p_usrstack - p->p_stksize; 99 ucp->uc_stack.ss_size = p->p_stksize; 100 ucp->uc_stack.ss_flags = 0; 135 if (ucp->uc_stack.ss_flags == SS_ONSTACK) 136 lwp->lwp_sigaltstack = ucp->uc_stack; [all...] |
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 41 * call to getcontext(2), have the uc_stack member set to reflect the 46 * uc_stack, and which will return to the ucontext_t specified by uc_link. 72 sp = (long *)(((uintptr_t)ucp->uc_stack.ss_sp + 73 ucp->uc_stack.ss_size - size) & ~(STACK_ENTRY_ALIGN - 1));
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | ucontext.h | 85 stack_t uc_stack; member in struct:ucontext 98 stack32_t uc_stack; member in struct:ucontext32
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | ucontext.h | 86 stack_t uc_stack; member in struct:ucontext 103 stack32_t uc_stack; member in struct:ucontext32
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 101 c->ctx_uc.uc_stack.ss_sp = c->ctx_stack; 102 c->ctx_uc.uc_stack.ss_size = c->ctx_stacksize; 103 c->ctx_uc.uc_stack.ss_flags = 0;
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | makectxt.c | 44 * call to getcontext(2), have the uc_stack member set to reflect the 49 * uc_stack, and which will return to the ucontext_t specified by uc_link. 77 * interpret the uc_stack.ss_sp member incorrectly as the top of the 81 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp - size) & 128 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp + 129 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1));
|
H A D | siglongjmp.c | 65 uc.uc_stack = bp->sjs_stack;
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | makectxt.c | 44 * call to getcontext(2), have the uc_stack member set to reflect the 49 * uc_stack, and which will return to the ucontext_t specified by uc_link. 77 * interpret the uc_stack.ss_sp member incorrectly as the top of the 81 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp - size) & 128 sp = (char *)(((uintptr_t)ucp->uc_stack.ss_sp + 129 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1));
|
H A D | siglongjmp.c | 62 uc.uc_stack = bp->sjs_stack;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | stack.c | 98 base = (uintptr_t)ucp->uc_stack.ss_sp; 99 size = ucp->uc_stack.ss_size;
|
/illumos-gate/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 in struct:ucontext
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | setjmp.c | 61 bp->sjs_stack = uc.uc_stack;
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | setjmp.c | 64 bp->sjs_stack = uc.uc_stack;
|
/illumos-gate/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 181 ucp->uc_stack = self->ul_ustack; 183 ucp->uc_stack.ss_sp = 185 ucp->uc_stack.ss_size = self->ul_stksiz; 186 ucp->uc_stack.ss_flags = 0;
|
/illumos-gate/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 223 ucp->uc_stack = self->ul_ustack; 225 ucp->uc_stack.ss_sp = 227 ucp->uc_stack.ss_size = self->ul_stksiz; 228 ucp->uc_stack.ss_flags = 0;
|
/illumos-gate/usr/src/cmd/csh/i386/ |
H A D | signal.c | 73 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); 102 ucp->uc_stack.ss_flags |= SS_ONSTACK; 104 ucp->uc_stack.ss_flags &= ~SS_ONSTACK;
|
/illumos-gate/usr/src/cmd/csh/sparc/ |
H A D | signal.c | 73 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); 114 ucp->uc_stack.ss_flags |= SS_ONSTACK; 116 ucp->uc_stack.ss_flags &= ~SS_ONSTACK;
|
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 119 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); 279 ucp->uc_stack.ss_flags |= SS_ONSTACK; 281 ucp->uc_stack.ss_flags &= ~SS_ONSTACK; 363 ucp->uc_stack.ss_flags |= SS_ONSTACK; 365 ucp->uc_stack.ss_flags &= ~SS_ONSTACK;
|
/illumos-gate/usr/src/ucblib/libucb/i386/sys/ |
H A D | signal.c | 101 sc.sc_onstack = ((ucp->uc_stack.ss_flags & SS_ONSTACK) != 0); 171 ucp->uc_stack.ss_flags |= SS_ONSTACK; 173 ucp->uc_stack.ss_flags &= ~SS_ONSTACK;
|
/illumos-gate/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; 549 dst->uc_stack.ss_size = (size_t)src->uc_stack.ss_size; 550 dst->uc_stack.ss_flags = src->uc_stack.ss_flags;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 484 (uintptr_t)&ctxp->uc_stack) != sizeof (*stkp)) 492 (uintptr_t)&ctxp->uc_stack) != sizeof (stk32))
|
/illumos-gate/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; 1791 dest->uc_stack.ss_size = (size_t)src->uc_stack.ss_size; 1792 dest->uc_stack.ss_flags = src->uc_stack.ss_flags;
|