Home
last modified time | relevance | path

Searched refs:TLS_TCB_SIZE (Results 1 – 16 of 16) sorted by relevance

/NextBSD/lib/libc/gen/
HDtls.c115 #define TLS_TCB_SIZE (2 * sizeof(void *)) macro
126 tls = (Elf_Addr **)((Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE); in __libc_free_tls()
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()
154 dtv[2] = (Elf_Addr)tls + TLS_TCB_SIZE; in __libc_allocate_tls()
160 dtv[2] = (Elf_Addr)tls + TLS_TCB_SIZE; in __libc_allocate_tls()
176 #define TLS_TCB_SIZE (3 * sizeof(Elf_Addr)) macro
320 tls_static_space += TLS_TCB_SIZE; in _init_tls()
323 tls = _rtld_allocate_tls(NULL, TLS_TCB_SIZE, TLS_TCB_ALIGN); in _init_tls()
/NextBSD/sys/mips/include/
HDtls.h47 #define TLS_TCB_SIZE 16 macro
52 #define TLS_TCB_SIZE 8 macro
/NextBSD/libexec/rtld-elf/riscv/
HDreloc.c382 tp = (Elf_Addr **) ((char *)allocate_tls(objs, NULL, TLS_TCB_SIZE, 16) in allocate_initial_tls()
383 + TLS_TP_OFFSET + TLS_TCB_SIZE); in allocate_initial_tls()
397 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset); in __tls_get_addr()
HDrtld_machdep.h91 #define TLS_TCB_SIZE 16 macro
/NextBSD/libexec/rtld-elf/powerpc64/
HDreloc.c539 tp = (Elf_Addr **) ((char *)allocate_tls(list, NULL, TLS_TCB_SIZE, 16) in allocate_initial_tls()
540 + TLS_TP_OFFSET + TLS_TCB_SIZE); in allocate_initial_tls()
553 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset); in __tls_get_addr()
HDrtld_machdep.h65 #define TLS_TCB_SIZE 16 macro
/NextBSD/libexec/rtld-elf/arm/
HDreloc.c323 TLS_TCB_SIZE; in reloc_nonplt_object()
489 (*_tp) = (void *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); in allocate_initial_tls()
491 sysarch(ARM_SET_TP, allocate_tls(objs, NULL, TLS_TCB_SIZE, 8)); in allocate_initial_tls()
HDrtld_machdep.h54 #define TLS_TCB_SIZE 8 macro
/NextBSD/libexec/rtld-elf/powerpc/
HDreloc.c635 tp = (Elf_Addr **) ((char *) allocate_tls(list, NULL, TLS_TCB_SIZE, 8) in allocate_initial_tls()
636 + TLS_TP_OFFSET + TLS_TCB_SIZE); in allocate_initial_tls()
653 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset); in __tls_get_addr()
HDrtld_machdep.h73 #define TLS_TCB_SIZE 8 macro
/NextBSD/libexec/rtld-elf/mips/
HDrtld_machdep.h63 round(TLS_TCB_SIZE, align)
HDreloc.c527 - TLS_TP_OFFSET - TLS_TCB_SIZE); in reloc_non_plt()
632 tls = (char *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); in allocate_initial_tls()
/NextBSD/libexec/rtld-elf/aarch64/
HDrtld_machdep.h72 #define TLS_TCB_SIZE 16 macro
HDreloc.c412 tp = (Elf_Addr **) allocate_tls(objs, NULL, TLS_TCB_SIZE, 16); in allocate_initial_tls()
/NextBSD/libexec/rtld-elf/
HDrtld.c4433 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()
4481 assert(tcbsize >= TLS_TCB_SIZE); in free_tls()
4483 tlsstart = (Elf_Addr)tcb + tcbsize - TLS_TCB_SIZE; in free_tls()
/NextBSD/sys/mips/mips/
HDtrap.c907 frame_regs[inst.RType.rt] += TLS_TP_OFFSET + TLS_TCB_SIZE; in trap()