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

12

/freebsd-13-stable/lib/libc/i386/gen/
H A Dmakecontext.c71 char *stack_top; local
114 stack_top = (char *)(ucp->uc_stack.ss_sp +
123 stack_top = stack_top - (sizeof(intptr_t) * (1 + argc));
124 stack_top = (char *)((unsigned)stack_top & ~15);
125 stack_top = stack_top - (2 * sizeof(intptr_t));
126 argp = (intptr_t *)stack_top;
162 ucp->uc_mcontext.mc_esp = (int)stack_top
[all...]
/freebsd-13-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.cpp79 uptr *stack_top, uptr *stack_bottom) {
89 *stack_top = *stack_bottom + size;
94 uptr stack_top, stack_bottom; local
95 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
97 *stk_size = stack_top - stack_bottom;
78 GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, uptr *stack_bottom) argument
H A Dsanitizer_linux_libcdep.cpp98 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, argument
100 CHECK(stack_top);
110 *stack_top = *stack_bottom = 0;
130 *stack_top = segment.end;
154 *stack_top = (uptr)stackaddr + stacksize;
510 uptr stack_top, stack_bottom;
511 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
513 *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.cpp382 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, argument
384 CHECK(stack_top);
402 *stack_top = (uptr)stackaddr;
403 *stack_bottom = *stack_top - stacksize;
559 uptr stack_top, stack_bottom; local
560 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
562 *stk_size = stack_top - stack_bottom;
H A Dsanitizer_unwind_linux_libcdep.cpp36 uptr stack_top; member in struct:__sanitizer::__anon2568::__anon2569
H A Dsanitizer_win.cpp112 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, argument
114 CHECK(stack_top);
121 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize;
835 uptr stack_top, stack_bottom;
836 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom);
838 *stk_size = stack_top - stack_bottom;
H A Dsanitizer_fuchsia.cpp85 void GetThreadStackTopAndBottom(bool, uptr *stack_top, uptr *stack_bottom) { argument
94 *stack_top = *stack_bottom + size;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan.cpp37 uptr stack_top = 0, stack_bottom = 0;
41 stack_top = t->stack_end();
44 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) {
46 Unwind(max_depth, pc, bp, nullptr, stack_top, stack_bottom, true);
/freebsd-13-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-13-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.cpp103 unique_id_, this, stack_bottom(), stack_top(),
104 stack_top() - stack_bottom(),
H A Dhwasan.cpp195 Unwind(max_depth, pc, bp, context, t->stack_top(), t->stack_bottom(),
479 uptr top = t->stack_top();
/freebsd-13-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-13-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-13-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-13-stable/sys/vm/
H A Dvm_glue.c497 vm_offset_t stack_top; local
509 stack_top = td->td_kstack + td->td_kstack_pages * PAGE_SIZE;
510 current = (vm_offset_t)(uintptr_t)&stack_top;
516 if (stack_top <= current || current < td->td_kstack)
519 used = stack_top - current;
/freebsd-13-stable/sys/i386/i386/
H A Dbios.c323 char *p, *stack, *stack_top; local
389 stack_top = stack;
438 i = bios16_call(&args->r, stack_top);

Completed in 119 milliseconds

12