| /illumos-gate/usr/src/uts/intel/sys/ |
| H A D | stack.h | 109 #define STACK_ALIGN STACK_ALIGN64 macro 118 #define STACK_ALIGN STACK_ALIGN32 130 #if STACK_ALIGN == 4 134 ASSERT((((uintptr_t)&__tmp) & (STACK_ALIGN - 1)) == 0); \ 136 #elif (STACK_ALIGN == 16) && (_LONG_DOUBLE_ALIGNMENT == 16) 140 ASSERT((((uintptr_t)&__tmp) & (STACK_ALIGN - 1)) == 0); \
|
| /illumos-gate/usr/src/uts/sparc/sys/ |
| H A D | stack.h | 119 #define STACK_ALIGN STACK_ALIGN64 macro 130 #define STACK_ALIGN STACK_ALIGN32 141 #if STACK_ALIGN == 8 145 ASSERT((((uintptr_t)&__tmp) & (STACK_ALIGN - 1)) == 0); \ 147 #elif (STACK_ALIGN == 16) && (_LONG_DOUBLE_ALIGNMENT == 16) 151 ASSERT((((uintptr_t)&__tmp) & (STACK_ALIGN - 1)) == 0); \
|
| /illumos-gate/usr/src/test/os-tests/tests/stackalign/ |
| H A D | stackalign.c | 35 #undef STACK_ALIGN 36 #define STACK_ALIGN 16 macro 42 #define ALIGN_ERR(text) ALIGN_ERR_HELP(STACK_ALIGN, text) 56 if ((stack & (STACK_ALIGN - 1)) != 0) { in teststack()
|
| /illumos-gate/usr/src/lib/libc/i386/gen/ |
| H A D | makectxt.c | 77 #undef STACK_ALIGN 78 #define STACK_ALIGN 16 macro 95 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1)); in makecontext()
|
| /illumos-gate/usr/src/lib/libc/sparc/gen/ |
| H A D | makectxt.c | 82 ~(STACK_ALIGN - 1)); in makecontext() 129 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1)); in __makecontext_v2()
|
| H A D | _stack_grow.S | 91 sub %o3, STACK_ALIGN, %sp
|
| /illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
| H A D | makectxt.c | 82 ~(STACK_ALIGN - 1)); in makecontext() 129 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1)); in __makecontext_v2()
|
| /illumos-gate/usr/src/lib/libc/i386/threads/ |
| H A D | machdep.c | 42 #undef STACK_ALIGN 43 #define STACK_ALIGN 16 macro 68 stack = (uint32_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); in setup_top_frame()
|
| /illumos-gate/usr/src/lib/libc/amd64/unwind/ |
| H A D | unwind_wrap.S | 27 andq $-STACK_ALIGN, %rsp /* adjust stack alignment */
|
| /illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/ |
| H A D | kmdb_start.S | 51 andq $_BITNOT(STACK_ALIGN-1), %rsp
|
| H A D | kmdb_makecontext.c | 45 ~(STACK_ALIGN - 1)); in kmdb_makecontext()
|
| /illumos-gate/usr/src/uts/intel/os/ |
| H A D | sendsig.c | 156 #if STACK_ALIGN != 16 || STACK_ENTRY_ALIGN != 8 in sendsig() 209 SA(lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN); in sendsig() 236 if (((uintptr_t)sp & (STACK_ALIGN - 1ul)) == 0) { in sendsig()
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| H A D | findstack_subr.c | 83 if ((frame & (STACK_ALIGN - 1)) != 0) in crawl() 194 if ((ktop & (STACK_ALIGN - 1)) != 0) in stacks_findstack()
|
| /illumos-gate/usr/src/uts/common/disp/ |
| H A D | thread_intr.c | 80 tp->t_stk -= STACK_ALIGN; in thread_create_intr()
|
| /illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
| H A D | kmdb_fault_isadep.c | 61 if (addr & (STACK_ALIGN - 1)) { in valid_frame()
|
| /illumos-gate/usr/src/lib/libc/amd64/gen/ |
| H A D | makectxt.c | 80 if (((uintptr_t)sp & (STACK_ALIGN - 1ul)) == 0) in makecontext()
|
| /illumos-gate/usr/src/lib/libc/sparc/threads/ |
| H A D | machdep.c | 47 stack = (((uintptr_t)stk + stksize) & ~(STACK_ALIGN - 1)) - in setup_top_frame()
|
| /illumos-gate/usr/src/lib/libc/amd64/threads/ |
| H A D | machdep.c | 50 stack = (uint64_t *)(((uintptr_t)stk + stksize) & ~(STACK_ALIGN-1)); in setup_top_frame()
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | panic.c | 158 #pragma align STACK_ALIGN(panic_stack)
|
| /illumos-gate/usr/src/uts/i86pc/os/ |
| H A D | machdep.c | 818 ASSERT(((uintptr_t)stk & (STACK_ALIGN - 1)) == 0); in thread_stk_init() 879 stk = (caddr_t)((uintptr_t)stk & ~(STACK_ALIGN - 1ul)); in lwp_stk_init()
|
| /illumos-gate/usr/src/uts/sparc/os/ |
| H A D | archdep.c | 326 if ((uintptr_t)nextfp & (STACK_ALIGN - 1)) { in traceback()
|
| /illumos-gate/usr/src/uts/intel/ml/ |
| H A D | swtch.S | 435 andq $_BITNOT(STACK_ALIGN-1), %rsp
|
| /illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
| H A D | mdb_ia32util.c | 235 if (fp & (STACK_ALIGN - 1)) { in mdb_ia32_kvm_stack_iter()
|
| /illumos-gate/usr/src/uts/sparc/dtrace/ |
| H A D | dtrace_isa.c | 379 !IS_P2ALIGNED((uintptr_t)fr, STACK_ALIGN)) in dtrace_getustack_common()
|
| /illumos-gate/usr/src/uts/sparc/v9/os/ |
| H A D | v9dep.c | 980 tos = (caddr_t)((uintptr_t)tos & ~(STACK_ALIGN - 1ul)); in sendsig() 985 SA((int)lwp->lwp_sigaltstack.ss_size) - STACK_ALIGN - in sendsig()
|