| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_rtems.cc | 96 uptr stack_bottom, stack_size, tls_bottom, tls_size; member 102 uptr stack_bottom, uptr stack_size, in CreateAsanThread() argument 112 const AsanThread::InitOptions options = {stack_bottom, stack_size, in CreateAsanThread() 125 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls() 127 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 143 uptr stack_bottom, uptr stack_size, in BeforeThreadCreateHook() argument 153 stack_bottom, stack_size, tls_bottom, tls_size); in BeforeThreadCreateHook() 193 PoisonShadow(thread->stack_bottom(), thread->stack_size(), 0); in ThreadStartHook() 234 void *stack_base, size_t stack_size, in __sanitizer_before_thread_create_hook() argument 238 reinterpret_cast<uptr>(stack_base), stack_size, in __sanitizer_before_thread_create_hook()
|
| H A D | asan_fuchsia.cc | 87 uptr stack_bottom, stack_size; member 94 uptr stack_size) { in CreateAsanThread() argument 106 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in CreateAsanThread() 121 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls() 123 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 147 uptr stack_size) { in BeforeThreadCreateHook() argument 156 stack_bottom, stack_size); in BeforeThreadCreateHook() 207 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 210 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
|
| H A D | asan_thread.cc | 187 uptr AsanThread::stack_size() { in stack_size() function in __asan::AsanThread 195 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local 196 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack() 208 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack() 224 CHECK_EQ(this->stack_size(), 0U); in Init() 227 CHECK_GT(this->stack_size(), 0U); in Init() 293 uptr stack_size = 0; in SetThreadStackAndTls() local 294 GetThreadStackAndTls(tid() == 0, &stack_bottom_, &stack_size, &tls_begin_, in SetThreadStackAndTls() 296 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
|
| H A D | asan_win.cc | 140 void* security, uptr stack_size, in INTERCEPTOR_WINAPI() argument 153 return REAL(CreateThread)(security, stack_size, in INTERCEPTOR_WINAPI()
|
| H A D | asan_rtl.cc | 577 uptr tls_addr, tls_size, stack_size; in __asan_handle_no_return() local 578 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in __asan_handle_no_return() 580 top = bottom + stack_size; in __asan_handle_no_return()
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan_thread.cc | 24 uptr stack_size = 0; in SetThreadStackAndTls() local 25 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, in SetThreadStackAndTls() 27 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | ipa-utils.c | 67 int stack_size; member 98 env->stack[(env->stack_size)++] = v; in searchc() 134 x = env->stack[--(env->stack_size)]; in searchc() 165 env.stack_size = 0; in ipa_utils_reduced_inorder()
|
| H A D | ipa.c | 34 int stack_size = 0; in cgraph_postorder() local 70 stack[stack_size++] = node2; in cgraph_postorder() 78 if (stack_size) in cgraph_postorder() 79 node2 = stack[--stack_size]; in cgraph_postorder()
|
| /freebsd-12.1/contrib/openmp/runtime/src/ |
| H A D | kmp_stats.cpp | 291 size_t stack_size; in push() local 294 stack_size = timer_stack.size(); in push() 295 current_timer = &(timer_stack[stack_size - 2]); in push() 296 new_timer = &(timer_stack[stack_size - 1]); in push() 309 size_t stack_size = timer_stack.size(); in pop() local 310 KMP_DEBUG_ASSERT(stack_size > 1); in pop() 311 old_timer = &(timer_stack[stack_size - 1]); in pop() 312 new_timer = &(timer_stack[stack_size - 2]); in pop() 325 size_t stack_size; in exchange() local 328 stack_size = timer_stack.size(); in exchange() [all …]
|
| H A D | kmp_error.cpp | 65 p->stack_size = (p->stack_size * 2) + 100; in __kmp_expand_cons_stack() 69 (p->stack_size + 1)); in __kmp_expand_cons_stack() 142 p->stack_size = MIN_STACK; in __kmp_allocate_cons_stack() 197 if (p->stack_top >= p->stack_size) { in __kmp_push_parallel() 215 if (p->stack_top >= p->stack_size) { in __kmp_check_workshare() 258 if (p->stack_top >= p->stack_size)
|
| H A D | z_Windows_NT_util.cpp | 1044 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) { in __kmp_create_worker() argument 1082 stack_size)); in __kmp_create_worker() 1084 stack_size += gtid * __kmp_stkoffset; in __kmp_create_worker() 1086 TCW_PTR(th->th.th_info.ds.ds_stacksize, stack_size); in __kmp_create_worker() 1092 (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)&__kmp_launch_worker, in __kmp_create_worker() 1096 NULL, (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)__kmp_launch_worker, in __kmp_create_worker() 1103 (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)&__kmp_launch_worker, in __kmp_create_worker()
|
| H A D | z_Linux_util.cpp | 774 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) { in __kmp_create_worker() argument 829 stack_size += gtid * __kmp_stkoffset * 2; in __kmp_create_worker() 833 gtid, KMP_DEFAULT_STKSIZE, __kmp_stksize, stack_size)); in __kmp_create_worker() 836 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 840 stack_size = KMP_BACKUP_STKSIZE + gtid * __kmp_stkoffset; in __kmp_create_worker() 845 gtid, KMP_DEFAULT_STKSIZE, __kmp_stksize, stack_size)); in __kmp_create_worker() 846 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 851 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker() 863 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker() 867 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker()
|
| /freebsd-12.1/contrib/compiler-rt/lib/hwasan/ |
| H A D | hwasan_thread.cc | 47 uptr stack_size; in Init() local 48 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in Init() 50 stack_top_ = stack_bottom_ + stack_size; in Init()
|
| H A D | hwasan_thread_list.h | 162 stats_.total_stack_size += t->stack_size(); in AddThreadStats() 168 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
|
| /freebsd-12.1/contrib/llvm/tools/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-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | Thread.cpp | 1174 stack_size = m_plan_stack.size(); in GetPreviousPlan() 1213 int stack_size = m_plan_stack.size(); in EnableTracer() local 1214 for (int i = 0; i < stack_size; i++) { in EnableTracer() 1223 int stack_size = m_plan_stack.size(); in SetTracer() local 1224 for (int i = 0; i < stack_size; i++) in SetTracer() 1263 int stack_size = m_plan_stack.size(); in DiscardThreadPlansUpToPlan() local 1297 int stack_size = m_plan_stack.size(); in DiscardThreadPlans() local 1352 int stack_size = m_plan_stack.size(); in UnwindInnermostExpression() local 1542 uint32_t stack_size; in DumpThreadPlans() local 1567 if (stack_size > 0) { in DumpThreadPlans() [all …]
|
| /freebsd-12.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-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_thread.cc | 82 uptr stack_size = 0; in ThreadStart() local 84 GetThreadStackAndTls(tid == 0, &args.stack_begin, &stack_size, in ThreadStart() 86 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
|
| /freebsd-12.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-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | CompactUnwindInfo.cpp | 802 uint32_t stack_size = EXTRACT_BITS(function_info.encoding, in CreateUnwindPlan_x86_64() local 830 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_x86_64() 843 ? stack_size in CreateUnwindPlan_x86_64() 844 : 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() 1326 uint32_t stack_size = in CreateUnwindPlan_arm64() local 1332 row->GetCFAValue().SetIsRegisterPlusOffset(arm64_eh_regnum::sp, stack_size); in CreateUnwindPlan_arm64()
|
| /freebsd-12.1/sys/sys/ |
| H A D | thr.h | 53 size_t stack_size; /* stack size. */ member
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-sysinfo.h | 83 uint32_t stack_size; /**< stack size in bytes */ member
|
| H A D | cvmx-app-init.h | 89 uint32_t stack_size; member 144 uint32_t stack_size;
|
| H A D | cvmx-app-init.c | 123 sys_info_ptr->stack_size = cvmx_bootinfo_ptr->stack_size; in process_boot_desc_ver_6()
|
| /freebsd-12.1/usr.bin/dc/ |
| H A D | extern.h | 49 size_t stack_size(const struct stack *);
|