Searched defs:mmap_size (Results 1 - 2 of 2) sorted by path

/bionic/libc/bionic/
H A Dpthread_create.cpp115 static void* __create_thread_mapped_space(size_t mmap_size, size_t stack_guard_size) { argument
119 void* space = mmap(NULL, mmap_size, prot, flags, -1, 0);
124 mmap_size, strerror(errno));
134 munmap(space, mmap_size);
143 size_t mmap_size; local
149 mmap_size = BIONIC_ALIGN(attr->stack_size + sizeof(pthread_internal_t), PAGE_SIZE);
151 attr->stack_base = __create_thread_mapped_space(mmap_size, attr->guard_size);
155 stack_top = reinterpret_cast<uint8_t*>(attr->stack_base) + mmap_size;
158 mmap_size = 0;
171 if (mmap_size
[all...]
H A Dpthread_internal.h99 size_t mmap_size; member in class:pthread_internal_t

Completed in 50 milliseconds