Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp115 uptr stack_bottom, stack_size; member
140 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls()
142 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
173 uptr stack_size) { in BeforeThreadCreateHook() argument
187 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
256 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
259 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
H A Dasan_thread.cpp218 uptr AsanThread::stack_size() { in stack_size() function in __asan::AsanThread
226 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local
227 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack()
239 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
257 CHECK_EQ(this->stack_size(), 0U); in Init()
260 CHECK_GT(this->stack_size(), 0U); in Init()
310 uptr stack_size = 0; in SetThreadStackAndTls() local
311 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
313 stack_top_ = RoundDownTo(stack_bottom_ + stack_size, ASAN_SHADOW_GRANULARITY); in SetThreadStackAndTls()
H A Dasan_win.cpp153 SIZE_T stack_size, LPTHREAD_START_ROUTINE start_routine, in INTERCEPTOR_WINAPI() argument
165 return REAL(CreateThread)(security, stack_size, asan_thread_start, t, in INTERCEPTOR_WINAPI()
H A Dasan_rtl.cpp583 uptr tls_addr, tls_size, stack_size; in UnpoisonDefaultStack() local
584 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in UnpoisonDefaultStack()
586 top = bottom + stack_size; in UnpoisonDefaultStack()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanStack.cpp181 int stack_size = m_plans.size(); in DiscardPlansUpToPlan() local
184 for (int i = stack_size - 1; i > 0; i--) in DiscardPlansUpToPlan()
190 for (int i = stack_size - 1; i > 0; i--) { in DiscardPlansUpToPlan()
199 for (int i = stack_size - 1; i > 0 && !last_one; i--) { in DiscardPlansUpToPlan()
209 int stack_size = m_plans.size(); in DiscardAllPlans() local
210 for (int i = stack_size - 1; i > 0; i--) { in DiscardAllPlans()
355 int stack_size = m_completed_plans.size(); in GetPreviousPlan() local
356 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan()
363 if (stack_size > 0 && m_completed_plans[0].get() == current_plan) { in GetPreviousPlan()
368 stack_size = m_plans.size(); in GetPreviousPlan()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp117 uptr MemprofThread::stack_size() { in stack_size() function in __memprof::MemprofThread
123 CHECK_EQ(this->stack_size(), 0U); in Init()
126 CHECK_GT(this->stack_size(), 0U); in Init()
172 uptr stack_size = 0; in SetThreadStackAndTls() local
173 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
175 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp96 uptr stack_size) { in BeforeThreadCreateHook() argument
99 .stack_top = stack_bottom + stack_size, in BeforeThreadCreateHook()
217 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
220 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
H A Dhwasan_thread_list.h173 stats_.total_stack_size += t->stack_size(); in AddThreadStats()
179 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
H A Dhwasan_linux.cpp503 uptr stack_size; in InitStackAndTls() local
504 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in InitStackAndTls()
506 stack_top_ = stack_bottom_ + stack_size; in InitStackAndTls()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats.cpp293 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 Dkmp_error.cpp68 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 Dz_Windows_NT_util.cpp1144 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...]
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c469 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/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_posix.cpp53 uptr stack_size = 0; in ThreadStart()
55 GetThreadStackAndTls(tid == kMainTid, &args.stack_begin, &stack_size, in ThreadStart()
57 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
51 uptr stack_size = 0; ThreadStart() local
H A Dlsan_fuchsia.cpp97 size_t stack_size) { in __sanitizer_before_thread_create_hook()
102 args.stack_end = args.stack_begin + stack_size; in __sanitizer_before_thread_create_hook()
96 __sanitizer_before_thread_create_hook(thrd_t thread,bool detached,const char * name,void * stack_base,size_t stack_size) __sanitizer_before_thread_create_hook() argument
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp25 uptr stack_size = 0; in SetThreadStackAndTls() local
26 GetThreadStackAndTls(IsMainThread(), &stack_.bottom, &stack_size, &tls_begin_, in SetThreadStackAndTls()
28 stack_.top = stack_.bottom + stack_size; in SetThreadStackAndTls()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.cpp24 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/contrib/diff/lib/
H A Dc-stack.c187 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/sys/compat/linux/
H A Dlinux_fork.h76 uint64_t stack_size; member
92 l_ulong stack_size; member
H A Dlinux_fork.c403 if (uca->stack == 0 && uca->stack_size > 0) in linux_clone3_args_valid()
405 if (uca->stack != 0 && uca->stack_size == 0) in linux_clone3_args_valid()
460 ca->stack = uca->stack + uca->stack_size; in linux_clone3()
461 ca->stack_size = uca->stack_size; in linux_clone3()
/freebsd/cddl/contrib/opensolaris/head/
H A Dthread.h76 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/lldb/source/Symbol/
H A DCompactUnwindInfo.cpp801 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/sys/sys/
H A Dthr.h51 size_t stack_size; /* stack size. */ member
/freebsd/usr.bin/dc/
H A Dextern.h48 size_t stack_size(const struct stack *);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp234 explicit ScopedStackSpaceWithGuard(uptr stack_size) { in ScopedStackSpaceWithGuard() argument
235 stack_size_ = stack_size; in ScopedStackSpaceWithGuard()

12