Lines Matching defs:tcbsize
60 void *_rtld_allocate_tls(void *oldtls, size_t tcbsize, size_t tcbalign);
61 void _rtld_free_tls(void *tls, size_t tcbsize, size_t tcbalign);
62 void *__libc_allocate_tls(void *oldtls, size_t tcbsize, size_t tcbalign);
63 void __libc_free_tls(void *tls, size_t tcbsize, size_t tcbalign);
121 __libc_free_tls(void *tcb, size_t tcbsize, size_t tcbalign __unused)
126 tls = (Elf_Addr **)((Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE);
136 __libc_allocate_tls(void *oldtcb, size_t tcbsize, size_t tcbalign __unused)
142 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE)
145 tcb = __jemalloc_a0calloc(1, tls_static_space + tcbsize - TLS_TCB_SIZE);
146 tls = (Elf_Addr **)(tcb + tcbsize - TLS_TCB_SIZE);
182 __libc_free_tls(void *tcb, size_t tcbsize __unused, size_t tcbalign)
205 __libc_allocate_tls(void *oldtls, size_t tcbsize, size_t tcbalign)
214 if (tcbsize < 2 * sizeof(Elf_Addr))
215 tcbsize = 2 * sizeof(Elf_Addr);
216 tls = __jemalloc_a0calloc(1, size + tcbsize);
256 __libc_allocate_tls(void *oldtls __unused, size_t tcbsize __unused,
263 __libc_free_tls(void *tcb __unused, size_t tcbsize __unused,