Searched refs:BIONIC_TLS_SIZE (Results 1 – 3 of 3) sorted by relevance
105 #define BIONIC_TLS_SIZE (BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE)) macro
60 size_t allocation_size = BIONIC_TLS_SIZE + 2 * PAGE_SIZE; in __init_tls()68 if (mprotect(thread->bionic_tls, BIONIC_TLS_SIZE, PROT_READ | PROT_WRITE) != 0) { in __init_tls()71 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, thread->bionic_tls, BIONIC_TLS_SIZE, "bionic TLS"); in __init_tls()
97 munmap(allocation, BIONIC_TLS_SIZE + 2 * PAGE_SIZE); in pthread_exit()