Searched refs:stack_top (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/lib/libc/i386/gen/
H A Dmakecontext.c69 char *stack_top; local
112 stack_top = (char *)(ucp->uc_stack.ss_sp +
121 stack_top = stack_top - (sizeof(intptr_t) * (1 + argc));
122 stack_top = (char *)((unsigned)stack_top & ~15);
123 stack_top = stack_top - (2 * sizeof(intptr_t));
124 argp = (intptr_t *)stack_top;
160 ucp->uc_mcontext.mc_esp = (int)stack_top
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cpp49 uptr stack_top,
51 CHECK_GT(stack_top, stack_bottom);
53 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0;
55 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev;
58 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom))
70 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, argument
72 // TODO(yln): add arg sanity check for stack_top/stack_bottom
77 if (stack_top < 4096) return; // Sanity check for stack top.
78 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom);
83 while (IsValidFrame((uptr)frame, stack_top, botto
48 GetCanonicFrame(uptr bp, uptr stack_top, uptr stack_bottom) argument
[all...]
H A Dsanitizer_stacktrace_sparc.cpp28 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, argument
30 // TODO(yln): add arg sanity check for stack_top/stack_bottom
41 if (stack_top < 4096) return; // Sanity check for stack top.
65 while (IsValidFrame(bp, stack_top, bottom) && IsAligned(bp, sizeof(uhwptr)) &&
H A Dsanitizer_stacktrace.h118 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
132 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
147 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { argument
148 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr);
H A Dsanitizer_rtems.cpp75 uptr *stack_top, uptr *stack_bottom) {
85 *stack_top = *stack_bottom + size;
90 uptr stack_top, stack_bottom; local
91 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
93 *stk_size = stack_top - stack_bottom;
74 GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, uptr *stack_bottom) argument
H A Dsanitizer_linux_libcdep.cpp94 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, argument
96 CHECK(stack_top);
106 *stack_top = *stack_bottom = 0;
126 *stack_top = segment.end;
150 *stack_top = (uptr)stackaddr + stacksize;
506 uptr stack_top, stack_bottom;
507 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
509 *stk_size = stack_top - stack_bottom;
H A Dsanitizer_stacktrace_libcdep.cpp58 uptr stack_top, uptr stack_bottom,
83 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth);
57 Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top, uptr stack_bottom, bool request_fast_unwind) argument
H A Dsanitizer_mac.cpp377 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, argument
379 CHECK(stack_top);
397 *stack_top = (uptr)stackaddr;
398 *stack_bottom = *stack_top - stacksize;
554 uptr stack_top, stack_bottom; local
555 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
557 *stk_size = stack_top - stack_bottom;
H A Dsanitizer_unwind_linux_libcdep.cpp36 uptr stack_top; member in struct:__sanitizer::__anon1034::__anon1035
H A Dsanitizer_win.cpp108 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, argument
110 CHECK(stack_top);
117 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize;
831 uptr stack_top, stack_bottom;
832 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
834 *stk_size = stack_top - stack_bottom;
H A Dsanitizer_fuchsia.cpp81 void GetThreadStackTopAndBottom(bool, uptr *stack_top, uptr *stack_bottom) { argument
90 *stack_top = *stack_bottom + size;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan.cpp38 uptr stack_top = 0, stack_bottom = 0;
42 stack_top = t->stack_end();
45 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) {
47 Unwind(max_depth, pc, bp, nullptr, stack_top, stack_bottom, true);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_stack.cpp69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(),
75 !IsValidFrame(bp, t->stack_top(), t->stack_bottom()))
H A Dasan_thread.h75 uptr stack_top();
H A Dasan_thread.cpp178 uptr AsanThread::stack_top() { function in class:__asan::AsanThread
473 *stack_end = t->stack_top();
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-sysinfo.h81 uint64_t stack_top; /**< stack top address (virtual) */ member in struct:cvmx_sysinfo
H A Dcvmx-app-init.c122 sys_info_ptr->stack_top = cvmx_bootinfo_ptr->stack_top;
H A Dcvmx-app-init.h83 uint64_t stack_top; member in struct:cvmx_bootinfo
139 uint64_t stack_top;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.h30 uptr stack_top() { return stack_top_; } function in class:__msan::MsanThread
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.h30 uptr stack_top() { return stack_top_; } function in class:__hwasan::Thread
32 uptr stack_size() { return stack_top() - stack_bottom(); }
H A Dhwasan_thread.cpp97 unique_id_, this, stack_bottom(), stack_top(),
98 stack_top() - stack_bottom(),
H A Dhwasan.cpp214 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true);
571 uptr top = t->stack_top();
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_error.cpp68 for (i = p->stack_top; i >= 0; --i)
140 p->stack_top = 0;
161 int tos = p->stack_top;
170 __kmp_str_buf_print(&buffer, " stack_top=%d { P=%d, W=%d, S=%d }\n", tos,
194 if (p->stack_top >= p->stack_size) {
197 tos = ++p->stack_top;
212 if (p->stack_top >= p->stack_size) {
233 tos = ++p->stack_top;
253 if (p->stack_top >= p->stack_size)
346 tos = ++p->stack_top;
[all...]
/freebsd-11-stable/sys/vm/
H A Dvm_glue.c489 vm_offset_t stack_top; local
501 stack_top = td->td_kstack + td->td_kstack_pages * PAGE_SIZE;
502 current = (vm_offset_t)(uintptr_t)&stack_top;
508 if (stack_top <= current || current < td->td_kstack)
511 used = stack_top - current;
/freebsd-11-stable/sys/i386/i386/
H A Dbios.c325 char *p, *stack, *stack_top; local
414 stack_top = stack;
463 i = bios16_call(&args->r, stack_top);

Completed in 300 milliseconds

12