Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp117 uptr stack_bottom, stack_size; member
142 CHECK_NE(options->stack_size, 0); in SetThreadStackAndTls()
144 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
175 uptr stack_size) { in BeforeThreadCreateHook() argument
189 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
258 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
261 reinterpret_cast<uptr>(stack_base), stack_size); in __sanitizer_before_thread_create_hook()
H A Dasan_thread.cpp213 uptr AsanThread::stack_size() { in stack_size() function in __asan::AsanThread
221 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local
222 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack()
234 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
252 CHECK_EQ(this->stack_size(), 0U); in Init()
255 CHECK_GT(this->stack_size(), 0U); in Init()
305 uptr stack_size = 0; in SetThreadStackAndTls() local
306 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
308 stack_top_ = RoundDownTo(stack_bottom_ + stack_size, ASAN_SHADOW_GRANULARITY); in SetThreadStackAndTls()
H A Dasan_posix.cpp62 uptr default_bottom, tls_addr, tls_size, stack_size; in PlatformUnpoisonStacks() local
63 GetThreadStackAndTls(/*main=*/false, &default_bottom, &stack_size, &tls_addr, in PlatformUnpoisonStacks()
65 UnpoisonStack(default_bottom, default_bottom + stack_size, "default"); in PlatformUnpoisonStacks()
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.cpp584 uptr tls_addr, tls_size, stack_size; in UnpoisonDefaultStack() local
585 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in UnpoisonDefaultStack()
587 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()
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()
368 stack_size = m_plans.size(); in GetPreviousPlan()
369 for (int i = stack_size - 1; i > 0; i--) { in GetPreviousPlan()
378 int stack_size = m_plans.size(); in GetInnermostExpression() local
[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.h171 stats_.total_stack_size += t->stack_size(); in AddThreadStats()
177 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
H A Dhwasan_linux.cpp493 uptr stack_size; in InitStackAndTls() local
494 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in InitStackAndTls()
496 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() argument
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()
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()
1203 (SIZE_T)stack_size, (LPTHREAD_START_ROUTINE)&__kmp_launch_worker, in __kmp_create_worker()
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c469 uint32_t stack_size = in print_encoding_x86_64() local
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
703 stack_size += stack_adjust * 4; in print_encoding_i386()
710 stack_size, register_count); in print_encoding_i386()
713 stack_size * 4, register_count); in print_encoding_i386()
[all …]
/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/lsan/
H A Dlsan_posix.cpp53 uptr stack_size = 0; in ThreadStart() local
55 GetThreadStackAndTls(tid == kMainTid, &args.stack_begin, &stack_size, in ThreadStart()
57 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
H A Dlsan_fuchsia.cpp97 size_t stack_size) { in __sanitizer_before_thread_create_hook() argument
102 args.stack_end = args.stack_begin + stack_size; in __sanitizer_before_thread_create_hook()
/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/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/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/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 *);

12