Searched defs:mmap_size (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_create.cpp165 static void* __create_thread_mapped_space(size_t mmap_size, size_t stack_guard_size) { argument
169 void* space = mmap(NULL, mmap_size, prot, flags, -1, 0);
174 mmap_size, strerror(errno));
184 munmap(space, mmap_size);
193 size_t mmap_size; local
199 if (__builtin_add_overflow(attr->stack_size, attr->guard_size, &mmap_size)) return EAGAIN;
200 if (__builtin_add_overflow(mmap_size, sizeof(pthread_internal_t), &mmap_size)) return EAGAIN;
201 mmap_size = __BIONIC_ALIGN(mmap_size, PAGE_SIZ
[all...]
H A Dgrp_pwd_file.cpp241 auto mmap_size = fd_stat.st_size; local
243 void* map_result = mmap(nullptr, mmap_size, PROT_READ, MAP_SHARED, fd, 0);
251 end_ = start_ + mmap_size - 1;
254 munmap(map_result, mmap_size);
H A Dpthread_internal.h104 size_t mmap_size; member in class:pthread_internal_t

Completed in 147 milliseconds