Home
last modified time | relevance | path

Searched refs:tcbp (Results 1 – 18 of 18) sorted by relevance

/glibc-2.36/sysdeps/arc/nptl/
Dtls.h61 # define INSTALL_DTV(tcbp, dtvp) \ argument
62 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
69 # define GET_DTV(tcbp) \ argument
70 (((tcbhead_t *) (tcbp))->dtv)
73 # define TLS_INIT_TP(tcbp) \ argument
76 __builtin_set_thread_pointer (tcbp); \
77 result_var = INTERNAL_SYSCALL_CALL (arc_settls, (tcbp));\
/glibc-2.36/sysdeps/alpha/nptl/
Dtls.h57 # define INSTALL_DTV(tcbp, dtvp) \ argument
58 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
65 # define GET_DTV(tcbp) \ argument
66 (((tcbhead_t *) (tcbp))->dtv)
71 # define TLS_INIT_TP(tcbp) \ argument
72 (__builtin_set_thread_pointer ((void *)(tcbp)), NULL)
/glibc-2.36/sysdeps/microblaze/nptl/
Dtls.h64 # define INSTALL_DTV(tcbp, dtvp) \ argument
65 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
72 # define GET_DTV(tcbp) \ argument
73 (((tcbhead_t *) (tcbp))->dtv)
77 # define TLS_INIT_TP(tcbp) \ argument
78 ({ __asm __volatile ("or r21,r0,%0" : : "r" ((void *)tcbp)); NULL; })
/glibc-2.36/sysdeps/aarch64/nptl/
Dtls.h60 # define INSTALL_DTV(tcbp, dtvp) \ argument
61 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
68 # define GET_DTV(tcbp) \ argument
69 (((tcbhead_t *) (tcbp))->dtv)
74 # define TLS_INIT_TP(tcbp) \ argument
75 ({ __asm __volatile ("msr tpidr_el0, %0" : : "r" (tcbp)); NULL; })
/glibc-2.36/sysdeps/riscv/nptl/
Dtls.h69 # define INSTALL_DTV(tcbp, dtvp) \ argument
70 (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
77 # define GET_DTV(tcbp) \ argument
78 (((tcbhead_t *) (tcbp))[-1].dtv)
81 # define TLS_INIT_TP(tcbp) \ argument
82 ({ __thread_self = (char*)tcbp + TLS_TCB_OFFSET; NULL; })
/glibc-2.36/sysdeps/m68k/nptl/
Dtls.h73 # define INSTALL_DTV(tcbp, dtvp) \ argument
74 ((tcbhead_t *) (tcbp))[-1].dtv = dtvp + 1
81 # define GET_DTV(tcbp) \ argument
82 (((tcbhead_t *) (tcbp))[-1].dtv)
87 # define TLS_INIT_TP(tcbp) \ argument
92 ((void *) (tcbp)) + TLS_TCB_OFFSET); \
/glibc-2.36/sysdeps/loongarch/nptl/
Dtls.h74 #define INSTALL_DTV(tcbp, dtvp) (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1) argument
80 #define GET_DTV(tcbp) (((tcbhead_t *) (tcbp))[-1].dtv) argument
83 #define TLS_INIT_TP(tcbp) \ argument
85 __thread_self = (char *) tcbp + TLS_TCB_OFFSET; \
/glibc-2.36/sysdeps/hppa/nptl/
Dtls.h60 # define INSTALL_DTV(tcbp, dtvp) \ argument
61 ((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1
70 # define GET_DTV(tcbp) \ argument
71 (((tcbhead_t *) (tcbp))->dtv)
76 # define TLS_INIT_TP(tcbp) \ argument
77 ({ __set_cr27(tcbp); NULL; })
/glibc-2.36/sysdeps/csky/nptl/
Dtls.h75 # define INSTALL_DTV(tcbp, dtvp) \ argument
76 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
83 # define GET_DTV(tcbp) \ argument
84 (((tcbhead_t *) (tcbp))->dtv)
91 # define TLS_INIT_TP(tcbp) \ argument
94 (char *) (tcbp) + TLS_TCB_OFFSET); \
/glibc-2.36/sysdeps/nios2/nptl/
Dtls.h78 # define INSTALL_DTV(tcbp, dtvp) \ argument
79 (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
86 # define GET_DTV(tcbp) \ argument
87 (((tcbhead_t *) (tcbp))[-1].dtv)
90 # define TLS_INIT_TP(tcbp) \ argument
91 (__thread_self = (struct pthread *) ((char *) tcbp + TLS_TCB_OFFSET), NULL)
/glibc-2.36/sysdeps/or1k/nptl/
Dtls.h91 # define INSTALL_DTV(tcbp, dtvp) \ argument
92 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
104 # define GET_DTV(tcbp) (((tcbhead_t *) (tcbp))->dtv) argument
114 # define TLS_INIT_TP(tcbp) \ argument
115 ({__thread_self = ((tcbhead_t *)tcbp + 1); NULL;})
/glibc-2.36/sysdeps/sh/nptl/
Dtls.h69 # define INSTALL_DTV(tcbp, dtvp) \ argument
70 ((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1
79 # define GET_DTV(tcbp) \ argument
80 (((tcbhead_t *) (tcbp))->dtv)
85 # define TLS_INIT_TP(tcbp) \ argument
86 ({ __asm __volatile ("ldc %0,gbr" : : "r" (tcbp)); NULL; })
/glibc-2.36/sysdeps/mips/nptl/
Dtls.h101 # define INSTALL_DTV(tcbp, dtvp) \ argument
102 (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
109 # define GET_DTV(tcbp) \ argument
110 (((tcbhead_t *) (tcbp))[-1].dtv)
115 # define TLS_INIT_TP(tcbp) \ argument
118 (char *) (tcbp) + TLS_TCB_OFFSET); \
/glibc-2.36/sysdeps/powerpc/nptl/
Dtls.h125 # define INSTALL_DTV(tcbp, dtvp) \ argument
126 ((tcbhead_t *) (tcbp))[-1].dtv = dtvp + 1
132 # define GET_DTV(tcbp) (((tcbhead_t *) (tcbp))[-1].dtv) argument
137 # define TLS_INIT_TP(tcbp) \ argument
139 __thread_register = (void *) (tcbp) + TLS_TCB_OFFSET; \
/glibc-2.36/sysdeps/arm/nptl/
Dtls.h58 # define INSTALL_DTV(tcbp, dtvp) \ argument
59 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
66 # define GET_DTV(tcbp) \ argument
67 (((tcbhead_t *) (tcbp))->dtv)
/glibc-2.36/sysdeps/unix/sysv/linux/arm/
Dtls.h33 # define TLS_INIT_TP(tcbp) \ argument
35 result_var = INTERNAL_SYSCALL_CALL (set_tls, (tcbp)); \
/glibc-2.36/elf/
Drtld.c789 void *tcbp = _dl_allocate_tls_storage (); in init_tls() local
790 if (tcbp == NULL) in init_tls()
796 GL(dl_initial_dtv) = GET_DTV (tcbp); in init_tls()
799 const char *lossage = TLS_INIT_TP (tcbp); in init_tls()
805 return tcbp; in init_tls()
1363 void *tcbp = NULL; in dl_main() local
1814 tcbp = init_tls (naudit); in dl_main()
2054 if (tcbp == NULL) in dl_main()
2055 tcbp = init_tls (0); in dl_main()
2341 _dl_allocate_tls_init (tcbp, false); in dl_main()
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.nptl9815 tcbp.