| /freebsd-13.1/lib/libc/i386/gen/ |
| H A D | makecontext.c | 71 char *stack_top; in __makecontext() local 114 stack_top = (char *)(ucp->uc_stack.ss_sp + in __makecontext() 123 stack_top = stack_top - (sizeof(intptr_t) * (1 + argc)); in __makecontext() 124 stack_top = (char *)((unsigned)stack_top & ~15); in __makecontext() 125 stack_top = stack_top - (2 * sizeof(intptr_t)); in __makecontext() 126 argp = (intptr_t *)stack_top; in __makecontext() 162 ucp->uc_mcontext.mc_esp = (int)stack_top + sizeof(caddr_t); in __makecontext()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace.cpp | 74 uptr stack_top, in GetCanonicFrame() argument 76 CHECK_GT(stack_top, stack_bottom); in GetCanonicFrame() 78 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame() 80 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame() 83 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame() 95 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast() argument 102 if (stack_top < 4096) return; // Sanity check for stack top. in UnwindFast() 103 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast() 108 while (IsValidFrame((uptr)frame, stack_top, bottom) && in UnwindFast() 116 if (!IsValidFrame((uptr)caller_frame, stack_top, bottom) || in UnwindFast() [all …]
|
| H A D | sanitizer_stacktrace_sparc.cpp | 28 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast() argument 41 if (stack_top < 4096) return; // Sanity check for stack top. in UnwindFast() 65 while (IsValidFrame(bp, stack_top, bottom) && IsAligned(bp, sizeof(uhwptr)) && in UnwindFast()
|
| H A D | sanitizer_stacktrace.h | 134 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top, 148 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, 171 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument 172 return frame > stack_bottom && frame < stack_top - kFrameSize; in IsValidFrame()
|
| H A D | sanitizer_linux_libcdep.cpp | 104 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 106 CHECK(stack_top); in GetThreadStackTopAndBottom() 116 *stack_top = *stack_bottom = 0; in GetThreadStackTopAndBottom() 136 *stack_top = segment.end; in GetThreadStackTopAndBottom() 155 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom() 564 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 565 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 567 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 137 uptr stack_top, uptr stack_bottom, in Unwind() argument 166 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
| H A D | sanitizer_win.cpp | 115 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 117 CHECK(stack_top); in GetThreadStackTopAndBottom() 124 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom() 866 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 867 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 869 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_mac.cpp | 399 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 401 CHECK(stack_top); in GetThreadStackTopAndBottom() 419 *stack_top = (uptr)stackaddr; in GetThreadStackTopAndBottom() 420 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom() 583 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local 584 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 586 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
| H A D | sanitizer_unwind_linux_libcdep.cpp | 36 uptr stack_top; member
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_error.cpp | 146 p->stack_top = 0; in __kmp_allocate_cons_stack() 167 int tos = p->stack_top; in dump_cons_stack() 203 tos = ++p->stack_top; in __kmp_push_parallel() 239 tos = ++p->stack_top; in __kmp_push_workshare() 352 tos = ++p->stack_top; 366 tos = p->stack_top; 379 p->stack_top = tos - 1; 388 tos = p->stack_top; 406 p->stack_top = tos - 1; 414 tos = p->stack_top; [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan.cpp | 37 uptr stack_top = 0, stack_bottom = 0; in UnwindImpl() local 39 stack_top = t->stack_end(); in UnwindImpl() 42 if (SANITIZER_MIPS && !IsValidFrame(bp, stack_top, stack_bottom)) in UnwindImpl() 45 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 57 uptr stack_bottom, stack_top; member 79 .stack_top = in InitThreads() 96 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook() 105 CHECK_NE(state->stack_top, 0); in InitStackAndTls() 107 stack_top_ = state->stack_top; in InitStackAndTls()
|
| H A D | hwasan_thread.h | 39 uptr stack_top() { return stack_top_; } in stack_top() function 41 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size()
|
| H A D | hwasan_thread.cpp | 112 unique_id_, this, stack_bottom(), stack_top(), in Print() 113 stack_top() - stack_bottom(), in Print()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_stack.cpp | 69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl() 75 !IsValidFrame(bp, t->stack_top(), t->stack_bottom())) in UnwindImpl() 77 Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
|
| /freebsd-13.1/sys/vm/ |
| H A D | vm_glue.c | 500 vm_offset_t stack_top; in intr_prof_stack_use() local 512 stack_top = td->td_kstack + td->td_kstack_pages * PAGE_SIZE; in intr_prof_stack_use() 513 current = (vm_offset_t)(uintptr_t)&stack_top; in intr_prof_stack_use() 519 if (stack_top <= current || current < td->td_kstack) in intr_prof_stack_use() 522 used = stack_top - current; in intr_prof_stack_use()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_stack.cpp | 43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
|
| H A D | memprof_thread.h | 71 uptr stack_top();
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-sysinfo.h | 81 uint64_t stack_top; /**< stack top address (virtual) */ member
|
| H A D | cvmx-app-init.c | 122 sys_info_ptr->stack_top = cvmx_bootinfo_ptr->stack_top; in process_boot_desc_ver_6()
|
| H A D | cvmx-app-init.h | 83 uint64_t stack_top; member 139 uint64_t stack_top;
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.h | 36 uptr stack_top();
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_thread.h | 30 uptr stack_top();
|
| H A D | msan_thread.cpp | 95 uptr MsanThread::stack_top() { return GetStackBounds().top; } in stack_top() function in __msan::MsanThread
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | bios.c | 323 char *p, *stack, *stack_top; in bios16() local 389 stack_top = stack; in bios16() 438 i = bios16_call(&args->r, stack_top); in bios16()
|