| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_fuchsia.cpp | 88 uptr stack_bottom, stack_size; member 115 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls() 117 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 148 uptr stack_size) { in BeforeThreadCreateHook() argument 162 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook() 219 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 222 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
|
| H A D | asan_thread.cpp | 195 uptr AsanThread::stack_size() { in stack_size() function in __asan::AsanThread 203 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local 204 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack() 216 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack() 234 CHECK_EQ(this->stack_size(), 0U); in Init() 237 CHECK_GT(this->stack_size(), 0U); in Init() 306 uptr stack_size = 0; in SetThreadStackAndTls() local 307 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls() 309 stack_top_ = RoundDownTo(stack_bottom_ + stack_size, SHADOW_GRANULARITY); in SetThreadStackAndTls()
|
| H A D | asan_posix.cpp | 61 uptr default_bottom, tls_addr, tls_size, stack_size; in PlatformUnpoisonStacks() local 62 GetThreadStackAndTls(/*main=*/false, &default_bottom, &stack_size, &tls_addr, in PlatformUnpoisonStacks() 64 UnpoisonStack(default_bottom, default_bottom + stack_size, "default"); in PlatformUnpoisonStacks()
|
| H A D | asan_rtl.cpp | 577 uptr tls_addr, tls_size, stack_size; in UnpoisonDefaultStack() local 578 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in UnpoisonDefaultStack() 580 top = bottom + stack_size; in UnpoisonDefaultStack()
|
| H A D | asan_win.cpp | 141 SIZE_T stack_size, LPTHREAD_START_ROUTINE start_routine, in INTERCEPTOR_WINAPI() argument 153 return REAL(CreateThread)(security, stack_size, asan_thread_start, t, in INTERCEPTOR_WINAPI()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadPlanStack.cpp | 175 int stack_size = m_plans.size(); in DiscardPlansUpToPlan() local 178 for (int i = stack_size - 1; i > 0; i--) in DiscardPlansUpToPlan() 184 for (int i = stack_size - 1; i > 0; i--) { in DiscardPlansUpToPlan() 203 int stack_size = m_plans.size(); in DiscardAllPlans() local 204 for (int i = stack_size - 1; i > 0; i--) { in DiscardAllPlans() 350 int stack_size = m_completed_plans.size(); in GetPreviousPlan() local 351 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan() 363 stack_size = m_plans.size(); in GetPreviousPlan() 364 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan() 373 int stack_size = m_plans.size(); in GetInnermostExpression() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 118 uptr MemprofThread::stack_size() { in stack_size() function in __memprof::MemprofThread 124 CHECK_EQ(this->stack_size(), 0U); in Init() 127 CHECK_GT(this->stack_size(), 0U); in Init() 173 uptr stack_size = 0; in SetThreadStackAndTls() local 174 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls() 176 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 93 uptr stack_size) { in BeforeThreadCreateHook() argument 96 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook() 193 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 196 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
|
| H A D | hwasan_thread_list.h | 160 stats_.total_stack_size += t->stack_size(); in AddThreadStats() 166 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
|
| H A D | hwasan_linux.cpp | 407 uptr stack_size; in InitStackAndTls() local 408 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in InitStackAndTls() 410 stack_top_ = stack_bottom_ + stack_size; in InitStackAndTls()
|
| H A D | hwasan_thread.h | 41 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size() function
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_posix.cpp | 49 uptr stack_size = 0; in ThreadStart() local 51 GetThreadStackAndTls(tid == kMainTid, &args.stack_begin, &stack_size, in ThreadStart() 53 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
|
| H A D | lsan_fuchsia.cpp | 88 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 94 args.stack_end = args.stack_begin + stack_size; in __sanitizer_before_thread_create_hook()
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_stats.cpp | 293 size_t stack_size; in push() local 296 stack_size = timer_stack.size(); in push() 297 current_timer = &(timer_stack[stack_size - 2]); in push() 298 new_timer = &(timer_stack[stack_size - 1]); in push() 311 size_t stack_size = timer_stack.size(); in pop() local 312 KMP_DEBUG_ASSERT(stack_size > 1); in pop() 313 old_timer = &(timer_stack[stack_size - 1]); in pop() 314 new_timer = &(timer_stack[stack_size - 2]); in pop() 327 size_t stack_size; in exchange() local 330 stack_size = timer_stack.size(); in exchange() [all …]
|
| H A D | kmp_error.cpp | 68 p->stack_size = (p->stack_size * 2) + 100; in __kmp_expand_cons_stack() 72 (p->stack_size + 1)); in __kmp_expand_cons_stack() 145 p->stack_size = MIN_STACK; in __kmp_allocate_cons_stack() 200 if (p->stack_top >= p->stack_size) { in __kmp_push_parallel() 218 if (p->stack_top >= p->stack_size) { in __kmp_check_workshare() 259 if (p->stack_top >= p->stack_size)
|
| H A D | z_Linux_util.cpp | 711 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) { in __kmp_create_worker() argument 766 stack_size += gtid * __kmp_stkoffset * 2; in __kmp_create_worker() 772 stack_size = (stack_size + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1); in __kmp_create_worker() 777 gtid, KMP_DEFAULT_STKSIZE, __kmp_stksize, stack_size)); in __kmp_create_worker() 780 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 784 stack_size = KMP_BACKUP_STKSIZE + gtid * __kmp_stkoffset; in __kmp_create_worker() 789 gtid, KMP_DEFAULT_STKSIZE, __kmp_stksize, stack_size)); in __kmp_create_worker() 790 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 795 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker() 807 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/ |
| H A D | compact-unwind-dumper.c | 512 uint32_t stack_size = in print_encoding_x86_64() local 530 stack_size += stack_adjust * 8; in print_encoding_x86_64() 537 stack_size * 8, register_count); in print_encoding_x86_64() 540 stack_size, register_count); in print_encoding_x86_64() 629 printf(" CFA is rsp+%d ", stack_size); in print_encoding_x86_64() 631 printf(" CFA is rsp+%d ", stack_size * 8); in print_encoding_x86_64() 728 uint32_t stack_size = in print_encoding_i386() local 746 stack_size += stack_adjust * 4; in print_encoding_i386() 753 stack_size, register_count); in print_encoding_i386() 756 stack_size * 4, register_count); in print_encoding_i386() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_thread.cpp | 24 uptr stack_size = 0; in SetThreadStackAndTls() local 25 GetThreadStackAndTls(IsMainThread(), &stack_.bottom, &stack_size, &tls_begin_, in SetThreadStackAndTls() 27 stack_.top = stack_.bottom + stack_size; in SetThreadStackAndTls()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.cpp | 27 uptr stack_size = 0; in SetThreadStackAndTls() local 28 GetThreadStackAndTls(IsMainThread(), &stack_.bottom, &stack_size, &tls_begin_, in SetThreadStackAndTls() 30 stack_.top = stack_.bottom + stack_size; in SetThreadStackAndTls()
|
| /freebsd-13.1/contrib/diff/lib/ |
| H A D | c-stack.c | 187 size_t stack_size = user_context->uc_stack.ss_size; in segv_handler() 193 if (s < stack_size + page_size) in segv_handler() 201 faulting_address, stack_base, (unsigned long) stack_size, in segv_handler()
|
| /freebsd-13.1/cddl/contrib/opensolaris/head/ |
| H A D | thread.h | 76 thr_create(void *stack_base, size_t stack_size, void *(*start_func) (void*), in thr_create() argument 83 assert(stack_size == 0); in thr_create()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | CompactUnwindInfo.cpp | 801 uint32_t stack_size = EXTRACT_BITS(function_info.encoding, in CreateUnwindPlan_x86_64() local 829 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_x86_64() 842 ? stack_size in CreateUnwindPlan_x86_64() 843 : stack_size * wordsize; in CreateUnwindPlan_x86_64() 1066 uint32_t stack_size = in CreateUnwindPlan_i386() local 1094 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_i386() 1107 mode == UNWIND_X86_MODE_STACK_IND ? stack_size : stack_size * wordsize; in CreateUnwindPlan_i386() 1327 uint32_t stack_size = in CreateUnwindPlan_arm64() local 1333 row->GetCFAValue().SetIsRegisterPlusOffset(arm64_eh_regnum::sp, stack_size); in CreateUnwindPlan_arm64()
|
| /freebsd-13.1/sys/sys/ |
| H A D | thr.h | 53 size_t stack_size; /* stack size. */ member
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-sysinfo.h | 83 uint32_t stack_size; /**< stack size in bytes */ member
|
| /freebsd-13.1/usr.bin/dc/ |
| H A D | extern.h | 49 size_t stack_size(const struct stack *);
|