Home
last modified time | relevance | path

Searched refs:guardSize (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dthread.cpp163 int ThreadGetStackInfo(NativeHandleType thread, void **stackAddr, size_t *stackSize, size_t *guardSize) in ThreadGetStackInfo() argument
170 s += pthread_attr_getguardsize(&attr, guardSize); in ThreadGetStackInfo()
194 s += pthread_attr_getguardsize(&attr, guardSize); in ThreadGetStackInfo()
/arkcompiler/runtime_core/static_core/runtime/coroutines/
H A Dcoroutine.cpp122 bool Coroutine::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) in RetrieveStackInfo() argument
126 return context_->RetrieveStackInfo(stackAddr, stackSize, guardSize); in RetrieveStackInfo()
129 return ManagedThread::RetrieveStackInfo(stackAddr, stackSize, guardSize); in RetrieveStackInfo()
H A Dcoroutine_context.h60 virtual bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) = 0;
H A Dstackful_coroutine.cpp43 bool StackfulCoroutineContext::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) in RetrieveStackInfo() argument
47 guardSize = 0; in RetrieveStackInfo()
H A Dthreaded_coroutine.cpp83 bool ThreadedCoroutineContext::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) in RetrieveStackInfo() argument
85 int error = os::thread::ThreadGetStackInfo(GetCoroutineNativeHandle(), &stackAddr, &stackSize, &guardSize); in RetrieveStackInfo()
H A Dthreaded_coroutine.h51 bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) override;
H A Dstackful_coroutine.h59 bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) override;
H A Dcoroutine.h136 bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) override;
/arkcompiler/runtime_core/static_core/runtime/
H A Dthread.cpp317 bool ManagedThread::RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize) in RetrieveStackInfo() argument
319 int error = os::thread::ThreadGetStackInfo(os::thread::GetNativeHandle(), &stackAddr, &stackSize, &guardSize); in RetrieveStackInfo()
329 size_t guardSize; in InitForStackOverflowCheck() local
337 if (!RetrieveStackInfo(stackBase, stackSize, guardSize)) { in InitForStackOverflowCheck()
340 if (guardSize < ark::os::mem::GetPageSize()) { in InitForStackOverflowCheck()
341 guardSize = ark::os::mem::GetPageSize(); in InitForStackOverflowCheck()
343 if (stackSize <= nativeStackReservedSize + nativeStackProtectedSize + guardSize) { in InitForStackOverflowCheck()
345 << ", stack_size = " << stackSize << ", guard_size = " << guardSize; in InitForStackOverflowCheck() local
349 << ", guard_size = " << guardSize; in InitForStackOverflowCheck() local
350 nativeStackBegin_ = ToUintPtr(stackBase) + guardSize; in InitForStackOverflowCheck()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dthread.h153 size_t *guardSize);
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dmanaged_thread.h621 virtual bool RetrieveStackInfo(void *&stackAddr, size_t &stackSize, size_t &guardSize);

Completed in 7 milliseconds