| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_fuchsia.cpp | 120 uptr stack_bottom, stack_size; member 144 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls() 146 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls() 177 uptr stack_size) { in BeforeThreadCreateHook() argument 191 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook() 260 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 263 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
|
| H A D | asan_thread.cpp | 216 uptr AsanThread::stack_size() { in stack_size() function in __asan::AsanThread 224 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local 225 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack() 237 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack() 255 CHECK_EQ(this->stack_size(), 0U); in Init() 258 CHECK_GT(this->stack_size(), 0U); in Init()
|
| H A D | asan_win.cpp | 152 SIZE_T stack_size, LPTHREAD_START_ROUTINE start_routine, in INTERCEPTOR_WINAPI() argument 164 return REAL(CreateThread)(security, stack_size, asan_thread_start, t, in INTERCEPTOR_WINAPI()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadPlanStack.cpp | 187 int stack_size = m_plans.size(); in DiscardPlansUpToPlan() local 190 for (int i = stack_size - 1; i > 0; i--) in DiscardPlansUpToPlan() 196 for (int i = stack_size - 1; i > 0; i--) { in DiscardPlansUpToPlan() 205 for (int i = stack_size - 1; i > 0 && !last_one; i--) { in DiscardPlansUpToPlan() 215 int stack_size = m_plans.size(); in DiscardAllPlans() local 216 for (int i = stack_size - 1; i > 0; i--) { in DiscardAllPlans() 365 int stack_size = m_completed_plans.size(); in GetPreviousPlan() local 366 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan() 373 if (stack_size > 0 && m_completed_plans[0].get() == current_plan) { in GetPreviousPlan() 378 stack_size = m_plans.size(); in GetPreviousPlan() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 105 uptr stack_size) { in BeforeThreadCreateHook() argument 108 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook() 226 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 229 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
|
| H A D | hwasan_thread_list.h | 173 stats_.total_stack_size += t->stack_size(); in AddThreadStats() 179 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
|
| H A D | hwasan_thread.h | 46 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size() function
|
| /freebsd/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_Windows_NT_util.cpp | 1144 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) { in __kmp_create_worker() 1181 ("__kmp_create_worker: stack_size = %" KMP_SIZE_T_SPEC " bytes\n", in __kmp_create_worker() 1182 stack_size)); in __kmp_create_worker() 1184 stack_size += gtid * __kmp_stkoffset; in __kmp_create_worker() 1186 TCW_PTR(th->th.th_info.ds.ds_stacksize, stack_size); in __kmp_create_worker() 1190 ("__kmp_create_worker: (before) stack_size = %" KMP_SIZE_T_SPEC in __kmp_create_worker() 1192 (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)&__kmp_launch_worker, in __kmp_create_worker() 1196 NULL, (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)__kmp_launch_worker, in __kmp_create_worker() 1200 ("__kmp_create_worker: (after) stack_size = %" KMP_SIZE_T_SPEC in __kmp_create_worker() 1203 (SIZE_T)stack_size, (LPTHREAD_START_ROUTIN in __kmp_create_worker() 1143 __kmp_create_worker(int gtid,kmp_info_t * th,size_t stack_size) __kmp_create_worker() argument [all...] |
| H A D | z_Linux_util.cpp | 781 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) { in __kmp_create_worker() argument 836 stack_size += gtid * __kmp_stkoffset * 2; in __kmp_create_worker() 840 gtid, KMP_DEFAULT_STKSIZE, __kmp_stksize, stack_size)); in __kmp_create_worker() 843 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 847 stack_size = KMP_BACKUP_STKSIZE + gtid * __kmp_stkoffset; in __kmp_create_worker() 852 gtid, KMP_DEFAULT_STKSIZE, __kmp_stksize, stack_size)); in __kmp_create_worker() 853 status = pthread_attr_setstacksize(&thread_attr, stack_size); in __kmp_create_worker() 858 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker() 870 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker() 874 __kmp_fatal(KMP_MSG(CantSetWorkerStackSize, stack_size), KMP_ERR(status), in __kmp_create_worker()
|
| /freebsd/contrib/llvm-project/lldb/tools/compact-unwind/ |
| H A D | compact-unwind-dumper.c | 469 uint32_t stack_size = in print_encoding_x86_64() local 485 stack_size = *((uint32_t *)(function_start + offset_to_subl_insn)); in print_encoding_x86_64() 487 stack_size += stack_adjust * 8; in print_encoding_x86_64() 494 stack_size * 8, register_count); in print_encoding_x86_64() 497 stack_size, register_count); in print_encoding_x86_64() 586 printf(" CFA is rsp+%d ", stack_size); in print_encoding_x86_64() 588 printf(" CFA is rsp+%d ", stack_size * 8); in print_encoding_x86_64() 685 uint32_t stack_size = in print_encoding_i386() local 701 stack_size = *((uint32_t *)(function_start + offset_to_subl_insn)); in print_encoding_i386() 703 stack_size += stack_adjust * 4; in print_encoding_i386() [all …]
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_fork.h | 76 uint64_t stack_size; member 92 l_ulong stack_size; member
|
| H A D | linux_fork.c | 401 if (uca->stack == 0 && uca->stack_size > 0) in linux_clone3_args_valid() 403 if (uca->stack != 0 && uca->stack_size == 0) in linux_clone3_args_valid() 458 ca->stack = uca->stack + uca->stack_size; in linux_clone3() 459 ca->stack_size = uca->stack_size; in linux_clone3()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 114 uptr MemprofThread::stack_size() { in stack_size() function in __memprof::MemprofThread 120 CHECK_EQ(this->stack_size(), 0U); in Init() 123 CHECK_GT(this->stack_size(), 0U); in Init()
|
| H A D | memprof_thread.h | 67 uptr stack_size();
|
| /freebsd/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/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_fuchsia.cpp | 102 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument 107 args.stack_end = args.stack_begin + stack_size; in __sanitizer_before_thread_create_hook()
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | CompactUnwindInfo.cpp | 797 uint32_t stack_size = EXTRACT_BITS(function_info.encoding, in CreateUnwindPlan_x86_64() local 825 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_x86_64() 838 ? stack_size in CreateUnwindPlan_x86_64() 839 : stack_size * wordsize; in CreateUnwindPlan_x86_64() 1057 uint32_t stack_size = in CreateUnwindPlan_i386() local 1085 stack_size = large_stack_size + (stack_adjust * wordsize); in CreateUnwindPlan_i386() 1098 mode == UNWIND_X86_MODE_STACK_IND ? stack_size : stack_size * wordsize; in CreateUnwindPlan_i386() 1312 uint32_t stack_size = in CreateUnwindPlan_arm64() local 1318 row.GetCFAValue().SetIsRegisterPlusOffset(arm64_eh_regnum::sp, stack_size); in CreateUnwindPlan_arm64()
|
| H A D | SymbolFileOnDemand.cpp | 516 llvm::Expected<lldb::addr_t> stack_size = in GetParameterStackSize() local 518 if (stack_size) { in GetParameterStackSize() 520 *stack_size, symbol.GetName()); in GetParameterStackSize()
|
| /freebsd/sys/sys/ |
| H A D | thr.h | 52 size_t stack_size; /* stack size. */ member
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 234 explicit ScopedStackSpaceWithGuard(uptr stack_size) { in ScopedStackSpaceWithGuard() argument 235 stack_size_ = stack_size; in ScopedStackSpaceWithGuard()
|
| H A D | sanitizer_unwind_linux_libcdep.cpp | 37 uptr stack_size; member
|
| H A D | sanitizer_posix_libcdep.cpp | 132 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited() local 133 return (stack_size == RLIM_INFINITY); in StackSizeIsUnlimited()
|
| /freebsd/contrib/googletest/googletest/src/ |
| H A D | gtest-death-test.cc | 1309 const auto stack_size = static_cast<size_t>(getpagesize() * 2); in ExecDeathTestSpawnChild() local 1311 void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild() 1324 (stack_grows_down ? stack_size - kMaxStackAlignment : 0); in ExecDeathTestSpawnChild() 1326 static_cast<size_t>(stack_size) > kMaxStackAlignment && in ExecDeathTestSpawnChild() 1331 GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1); in ExecDeathTestSpawnChild()
|