Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libc/gen/
H A Dtls.c194 extra_size = tcbsize - TLS_TCB_SIZE; in get_tls_block_ptr()
196 post_size = roundup2(TLS_TCB_SIZE, libc_tls_init_align) - TLS_TCB_SIZE; in get_tls_block_ptr()
251 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE) in __libc_allocate_tls()
258 extra_size = tcbsize - TLS_TCB_SIZE; in __libc_allocate_tls()
260 post_size = roundup2(TLS_TCB_SIZE, libc_tls_init_align) - TLS_TCB_SIZE; in __libc_allocate_tls()
277 tls = (char *)tcb + TLS_TCB_SIZE + post_size; in __libc_allocate_tls()
310 #define TLS_TCB_SIZE (3 * sizeof(Elf_Addr)) macro
463 tls = _rtld_allocate_tls(NULL, TLS_TCB_SIZE, TLS_TCB_ALIGN); in _init_tls()
/freebsd-13.1/libexec/rtld-elf/arm/
H A Drtld_machdep.h59 #define TLS_TCB_SIZE 8 macro
72 round(TLS_TCB_SIZE, align) - TLS_TCB_SIZE
H A Dreloc.c507 (*_tp) = (void *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); in allocate_initial_tls()
509 sysarch(ARM_SET_TP, allocate_tls(objs, NULL, TLS_TCB_SIZE, 8)); in allocate_initial_tls()
/freebsd-13.1/libexec/rtld-elf/aarch64/
H A Drtld_machdep.h80 round(TLS_TCB_SIZE, align) - TLS_TCB_SIZE
82 #define TLS_TCB_SIZE 16 macro
H A Dreloc.c529 tp = (Elf_Addr **) allocate_tls(objs, NULL, TLS_TCB_SIZE, 16); in allocate_initial_tls()
/freebsd-13.1/sys/mips/include/
H A Dtls.h45 #define TLS_TCB_SIZE 16 macro
50 #define TLS_TCB_SIZE 8 macro
/freebsd-13.1/lib/libc/mips/
H A Dstatic_tls.h50 tlsbase -= TLS_TP_OFFSET + TLS_TCB_SIZE; in _libc_get_static_tls_base()
58 tlsbase -= TLS_TP_OFFSET + TLS_TCB_SIZE; in _libc_get_static_tls_base()
/freebsd-13.1/lib/libc/mips/gen/
H A D_get_tp.c61 _rv = _rv - TLS_TP_OFFSET - TLS_TCB_SIZE; in _mips_get_tls()
86 _rv = _rv - TLS_TP_OFFSET - TLS_TCB_SIZE; in _mips_get_tls()
/freebsd-13.1/lib/libthr/arch/mips/include/
H A Dpthread_md.h98 return (struct tcb *)(_rv - TLS_TP_OFFSET - TLS_TCB_SIZE); in _tcb_get()
120 return (struct tcb *)(_rv - TLS_TP_OFFSET - TLS_TCB_SIZE); in _tcb_get()
/freebsd-13.1/libexec/rtld-elf/powerpc64/
H A Drtld_machdep.h71 #define TLS_TCB_SIZE 16 macro
76 TLS_TCB_SIZE
H A Dreloc.c261 + defobj->tlsoffset - TLS_TP_OFFSET - TLS_TCB_SIZE); in reloc_nonplt_object()
722 tp = (Elf_Addr **)((char *)allocate_tls(list, NULL, TLS_TCB_SIZE, 16) in allocate_initial_tls()
723 + TLS_TP_OFFSET + TLS_TCB_SIZE); in allocate_initial_tls()
736 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset); in __tls_get_addr()
/freebsd-13.1/libexec/rtld-elf/riscv/
H A Drtld_machdep.h88 #define TLS_TCB_SIZE 16 macro
93 TLS_TCB_SIZE
H A Dreloc.c366 defobj->tlsoffset - TLS_TP_OFFSET - TLS_TCB_SIZE); in reloc_non_plt()
400 tp = (Elf_Addr **)((char *)allocate_tls(objs, NULL, TLS_TCB_SIZE, 16) in allocate_initial_tls()
401 + TLS_TP_OFFSET + TLS_TCB_SIZE); in allocate_initial_tls()
415 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset); in __tls_get_addr()
/freebsd-13.1/libexec/rtld-elf/powerpc/
H A Drtld_machdep.h79 #define TLS_TCB_SIZE 8 macro
84 TLS_TCB_SIZE
H A Dreloc.c266 + defobj->tlsoffset - TLS_TP_OFFSET - TLS_TCB_SIZE); in reloc_nonplt_object()
825 tp = (Elf_Addr **)((char *) allocate_tls(list, NULL, TLS_TCB_SIZE, 8) in allocate_initial_tls()
826 + TLS_TP_OFFSET + TLS_TCB_SIZE); in allocate_initial_tls()
843 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset); in __tls_get_addr()
/freebsd-13.1/lib/libc/riscv/gen/
H A D_get_tp.c46 return ((void *)(tp - TLS_TP_OFFSET - TLS_TCB_SIZE)); in _get_tp()
/freebsd-13.1/lib/libc/powerpc/gen/
H A D_get_tp.c46 return ((void *)(tp - TLS_TP_OFFSET - TLS_TCB_SIZE)); in _get_tp()
/freebsd-13.1/lib/libc/powerpc64/gen/
H A D_get_tp.c46 return ((void *)(tp - TLS_TP_OFFSET - TLS_TCB_SIZE)); in _get_tp()
/freebsd-13.1/libexec/rtld-elf/mips/
H A Drtld_machdep.h68 TLS_TCB_SIZE
H A Dreloc.c623 - TLS_TP_OFFSET - TLS_TCB_SIZE); in reloc_non_plt()
774 tls = (char *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); in allocate_initial_tls()
/freebsd-13.1/sys/mips/mips/
H A Dpm_machdep.c482 TLS_TCB_SIZE; in exec_setregs()
/freebsd-13.1/libexec/rtld-elf/
H A Drtld.c5221 extra_size = tcbsize - TLS_TCB_SIZE; in get_tls_block_ptr()
5250 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE) in allocate_tls()
5253 assert(tcbsize >= TLS_TCB_SIZE); in allocate_tls()
5258 extra_size = tcbsize - TLS_TCB_SIZE; in allocate_tls()
5262 tls_block_size += pre_size + tls_static_space - TLS_TCB_SIZE - post_size; in allocate_tls()
5318 assert(tcbsize >= TLS_TCB_SIZE); in free_tls()
5324 tlsstart = (Elf_Addr)tcb + TLS_TCB_SIZE + post_size; in free_tls()