Searched refs:tcbsize (Results 1 – 3 of 3) sorted by relevance
| /NextBSD/lib/libc/gen/ |
| HD | tls.c | 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) in __libc_free_tls() argument 126 tls = (Elf_Addr **)((Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE); in __libc_free_tls() 136 __libc_allocate_tls(void *oldtcb, size_t tcbsize, size_t tcbalign __unused) in __libc_allocate_tls() argument 142 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE) in __libc_allocate_tls() 145 tcb = __je_bootstrap_calloc(1, tls_static_space + tcbsize - TLS_TCB_SIZE); in __libc_allocate_tls() 146 tls = (Elf_Addr **)(tcb + tcbsize - TLS_TCB_SIZE); in __libc_allocate_tls() [all …]
|
| /NextBSD/libexec/rtld-elf/ |
| HD | rtld_tls.h | 60 void *_rtld_allocate_tls(void* oldtls, size_t tcbsize, size_t tcbalign) 68 void _rtld_free_tls(void *tcb, size_t tcbsize, size_t tcbalign) __exported;
|
| HD | rtld.c | 4424 allocate_tls(Obj_Entry *objs, void *oldtcb, size_t tcbsize, size_t tcbalign) in allocate_tls() argument 4433 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE) in allocate_tls() 4436 assert(tcbsize >= TLS_TCB_SIZE); in allocate_tls() 4437 tcb = xcalloc(1, tls_static_space - TLS_TCB_SIZE + tcbsize); in allocate_tls() 4438 tls = (Elf_Addr **)(tcb + tcbsize - TLS_TCB_SIZE); in allocate_tls() 4475 free_tls(void *tcb, size_t tcbsize, size_t tcbalign) in free_tls() argument 4481 assert(tcbsize >= TLS_TCB_SIZE); in free_tls() 4483 tlsstart = (Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE; in free_tls() 4505 allocate_tls(Obj_Entry *objs, void *oldtls, size_t tcbsize, size_t tcbalign) in allocate_tls() argument 4517 size = round(tls_static_space, ralign) + round(tcbsize, ralign); in allocate_tls() [all …]
|