Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp88 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 Dasan_thread.cpp195 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 Dasan_posix.cpp61 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 Dasan_rtl.cpp577 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 Dasan_win.cpp141 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 DThreadPlanStack.cpp175 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 Dmemprof_thread.cpp118 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 Dhwasan_fuchsia.cpp93 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 Dhwasan_thread_list.h160 stats_.total_stack_size += t->stack_size(); in AddThreadStats()
166 stats_.total_stack_size -= t->stack_size(); in RemoveThreadStats()
H A Dhwasan_linux.cpp407 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 Dhwasan_thread.h41 uptr stack_size() { return stack_top() - stack_bottom(); } in stack_size() function
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_posix.cpp49 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 Dlsan_fuchsia.cpp88 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 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_Linux_util.cpp711 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 Dcompact-unwind-dumper.c512 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 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-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp27 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 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-13.1/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-13.1/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-13.1/sys/sys/
H A Dthr.h53 size_t stack_size; /* stack size. */ member
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-sysinfo.h83 uint32_t stack_size; /**< stack size in bytes */ member
/freebsd-13.1/usr.bin/dc/
H A Dextern.h49 size_t stack_size(const struct stack *);

123