/freebsd-12-stable/sys/mips/include/ |
H A D | tls.h | 45 #define TLS_TCB_SIZE 16 macro 50 #define TLS_TCB_SIZE 8 macro
|
/freebsd-12-stable/lib/libc/mips/ |
H A D | static_tls.h | 50 tlsbase -= TLS_TP_OFFSET + TLS_TCB_SIZE; 58 tlsbase -= TLS_TP_OFFSET + TLS_TCB_SIZE;
|
/freebsd-12-stable/lib/libthr/arch/mips/include/ |
H A D | pthread_md.h | 98 return (struct tcb *)(_rv - TLS_TP_OFFSET - TLS_TCB_SIZE); 120 return (struct tcb *)(_rv - TLS_TP_OFFSET - TLS_TCB_SIZE);
|
/freebsd-12-stable/libexec/rtld-elf/aarch64/ |
H A D | rtld_machdep.h | 81 round(TLS_TCB_SIZE, align) - TLS_TCB_SIZE 83 #define TLS_TCB_SIZE 16 macro
|
H A D | reloc.c | 552 tp = (Elf_Addr **) allocate_tls(objs, NULL, TLS_TCB_SIZE, 16);
|
/freebsd-12-stable/libexec/rtld-elf/arm/ |
H A D | rtld_machdep.h | 59 #define TLS_TCB_SIZE 8 macro 73 round(TLS_TCB_SIZE, align) - TLS_TCB_SIZE
|
H A D | reloc.c | 513 (*_tp) = (void *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); 515 sysarch(ARM_SET_TP, allocate_tls(objs, NULL, TLS_TCB_SIZE, 8));
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | tls.c | 192 #define TLS_TCB_SIZE (2 * sizeof(void *)) macro 203 extra_size = tcbsize - TLS_TCB_SIZE; 205 post_size = roundup2(TLS_TCB_SIZE, tls_init_align) - TLS_TCB_SIZE; 241 * | pre_size | extra_size | TLS_TCB_SIZE | post_size | tls_static_space | 245 * extra_size is tcbsize - TLS_TCB_SIZE 259 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE) 266 extra_size = tcbsize - TLS_TCB_SIZE; 268 post_size = roundup2(TLS_TCB_SIZE, tls_init_align) - TLS_TCB_SIZE; 317 #define TLS_TCB_SIZE macro [all...] |
/freebsd-12-stable/libexec/rtld-elf/powerpc/ |
H A D | rtld_machdep.h | 73 #define TLS_TCB_SIZE 8 macro 78 TLS_TCB_SIZE
|
H A D | reloc.c | 262 + defobj->tlsoffset - TLS_TP_OFFSET - TLS_TCB_SIZE); 663 tp = (Elf_Addr **)((char *) allocate_tls(list, NULL, TLS_TCB_SIZE, 8) 664 + TLS_TP_OFFSET + TLS_TCB_SIZE); 681 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset);
|
/freebsd-12-stable/libexec/rtld-elf/powerpc64/ |
H A D | rtld_machdep.h | 65 #define TLS_TCB_SIZE 16 macro 70 TLS_TCB_SIZE
|
H A D | reloc.c | 259 + defobj->tlsoffset - TLS_TP_OFFSET - TLS_TCB_SIZE); 568 tp = (Elf_Addr **)((char *)allocate_tls(list, NULL, TLS_TCB_SIZE, 16) 569 + TLS_TP_OFFSET + TLS_TCB_SIZE); 582 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset);
|
/freebsd-12-stable/libexec/rtld-elf/riscv/ |
H A D | rtld_machdep.h | 87 #define TLS_TCB_SIZE 16 macro 92 TLS_TCB_SIZE
|
H A D | reloc.c | 406 tp = (Elf_Addr **)((char *)allocate_tls(objs, NULL, TLS_TCB_SIZE, 16) 407 + TLS_TP_OFFSET + TLS_TCB_SIZE); 421 - TLS_TCB_SIZE), ti->ti_module, ti->ti_offset);
|
/freebsd-12-stable/libexec/rtld-elf/mips/ |
H A D | rtld_machdep.h | 70 TLS_TCB_SIZE
|
H A D | reloc.c | 623 - TLS_TP_OFFSET - TLS_TCB_SIZE); 780 tls = (char *) allocate_tls(objs, NULL, TLS_TCB_SIZE, 8); 804 _rv = _rv - TLS_TP_OFFSET - TLS_TCB_SIZE; 829 _rv = _rv - TLS_TP_OFFSET - TLS_TCB_SIZE;
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | pm_machdep.c | 475 td->td_md.md_tls_tcb_offset = TLS_TP_OFFSET + TLS_TCB_SIZE;
|
H A D | vm_machdep.c | 493 td->td_md.md_tls_tcb_offset = TLS_TP_OFFSET + TLS_TCB_SIZE;
|
/freebsd-12-stable/libexec/rtld-elf/ |
H A D | rtld.c | 4886 extra_size = tcbsize - TLS_TCB_SIZE; 4899 * NB: rtld's tls_static_space variable includes TLS_TCB_SIZE and post_size as 4915 if (oldtcb != NULL && tcbsize == TLS_TCB_SIZE) 4918 assert(tcbsize >= TLS_TCB_SIZE); 4923 extra_size = tcbsize - TLS_TCB_SIZE; 4927 tls_block_size += pre_size + tls_static_space - TLS_TCB_SIZE - post_size; 4983 assert(tcbsize >= TLS_TCB_SIZE); 4989 tlsstart = (Elf_Addr)tcb + TLS_TCB_SIZE + post_size;
|