Home
last modified time | relevance | path

Searched refs:guard_size (Results 1 – 6 of 6) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread_manager.cc84 size_t* guard_size, in GetGuestThreadAttr() argument
88 thread->GetAttr(stack_base, stack_size, guard_size); in GetGuestThreadAttr()
167 size_t guard_size; in AttachCurrentThread() local
171 CHECK_EQ(0, pthread_attr_getguardsize(&attr, &guard_size)); in AttachCurrentThread()
172 thread = GuestThread::CreatePthread(nullptr, stack_size, guard_size); in AttachCurrentThread()
Dguest_thread.cc118 GuestThread* GuestThread::CreatePthread(void* stack, size_t stack_size, size_t guard_size) { in CreatePthread() argument
124 if (!thread->AllocStack(stack, stack_size, guard_size)) { in CreatePthread()
206 bool GuestThread::AllocStack(void* stack, size_t stack_size, size_t guard_size) { in AllocStack() argument
221 guard_size_ = guard_size; in AllocStack()
227 guard_size_ = AlignUpPageSize(guard_size); in AllocStack()
/frameworks/libs/native_bridge_support/android_api/libc/proxy/
Dpthread_translation.cc65 size_t guest_guard_size = attr.guard_size; in DoCustomTrampoline_pthread_create()
112 size_t guard_size; in DoCustomTrampoline_pthread_getattr_np() local
115 if (GetGuestThreadAttr(tid, &stack_base, &stack_size, &guard_size, &error)) { in DoCustomTrampoline_pthread_getattr_np()
122 guest_attr->guard_size = guard_size; in DoCustomTrampoline_pthread_getattr_np()
Dpthread_translation.h42 CHECK_FIELD_LAYOUT(pthread_attr_t, guard_size, 96, 32);
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_thread.h61 static GuestThread* CreatePthread(void* stack, size_t stack_size, size_t guard_size);
81 void GetAttr(GuestAddr* stack_base, size_t* stack_size, size_t* guard_size) const { in GetAttr() argument
84 *guard_size = guard_size_; in GetAttr()
113 bool AllocStack(void* stack, size_t stack_size, size_t guard_size);
Dguest_thread_manager.h33 size_t* guard_size,