Home
last modified time | relevance | path

Searched refs:tcb (Results 1 – 25 of 44) sorted by relevance

12

/glibc-2.36/sysdeps/mach/hurd/i386/
Dtls.h33 void *tcb; /* Points to this structure. */ member
95 # define HURD_TLS_DESC_DECL(desc, tcb) \ argument
99 | (((unsigned int) (tcb)) << 16) /* base 0..15 */ \
101 ((((unsigned int) (tcb)) >> 16) & 0xff) /* base 16..23 */ \
105 | (((unsigned int) (tcb)) & 0xff000000) /* base 24..31 */ \
111 _hurd_tls_init (tcbhead_t *tcb) in _hurd_tls_init() argument
113 HURD_TLS_DESC_DECL (desc, tcb); in _hurd_tls_init()
119 tcb->tcb = tcb; in _hurd_tls_init()
121 tcb->multiple_threads = 1; in _hurd_tls_init()
163 : "i" (offsetof (tcbhead_t, tcb))); \
[all …]
/glibc-2.36/sysdeps/mach/hurd/i386/htl/
Dpt-setup.c79 tcbhead_t *tcb; in __pthread_setup() local
95 tcb = THREAD_SELF; in __pthread_setup()
101 1, thread->tcb); in __pthread_setup()
103 tcb = thread->tcb; in __pthread_setup()
107 tcb->self = thread->kernel_thread; in __pthread_setup()
Dpt-machdep.c27 #define HURD_TLS_DESC_DECL(desc, tcb) \ argument
31 | (((unsigned int) (tcb)) << 16) /* base 0..15 */ \
33 ((((unsigned int) (tcb)) >> 16) & 0xff) /* base 16..23 */ \
37 | (((unsigned int) (tcb)) & 0xff000000) /* base 24..31 */ \
/glibc-2.36/htl/
Dpt-create.c180 pthread->tcb = _dl_allocate_tls (NULL); in weak_alias()
181 if (pthread->tcb == NULL) in weak_alias()
186 pthread->tcb->tcb = pthread->tcb; in weak_alias()
269 _dl_deallocate_tls (pthread->tcb, 1); in weak_alias()
270 pthread->tcb = NULL; in weak_alias()
Dpt-alloc.c61 new->tcb = NULL; in initialize_pthread()
101 if (new->tcb) in __pthread_alloc()
104 _dl_deallocate_tls (new->tcb, 1); in __pthread_alloc()
220 void *dest = (char *) t->tcb - map->l_tls_offset; in __pthread_init_static_tls()
222 void *dest = (char *) t->tcb + map->l_tls_offset + TLS_PRE_TCB_SIZE; in __pthread_init_static_tls()
Dpt-internal.h115 tcbhead_t *tcb; member
/glibc-2.36/mach/
Dsetup-thread.c89 tcbhead_t *tcb; in weak_alias() local
91 tcb = _dl_allocate_tls (NULL); in weak_alias()
92 if (tcb == NULL) in weak_alias()
100 _hurd_tls_new (thread, &ts, tcb); in weak_alias()
/glibc-2.36/sysdeps/htl/
Ddl-thread_gscope_wait.c36 if (t == NULL || t->tcb->gscope_flag == THREAD_GSCOPE_FLAG_UNUSED) in __thread_gscope_wait()
39 gscope_flagp = &t->tcb->gscope_flag; in __thread_gscope_wait()
/glibc-2.36/sysdeps/s390/nptl/
Dtls.h34 void *tcb; /* Pointer to the TCB. Not necessary the member
108 _head->tcb = _thrdescr; \
DMakefile19 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/x86_64/nptl/
Dtls.h44 void *tcb; /* Pointer to the TCB. Not necessarily the member
147 _head->tcb = _thrdescr; \
DMakefile19 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/elf/
Ddl-tls.c406 tcb_to_pointer_to_free_location (void *tcb) in tcb_to_pointer_to_free_location() argument
411 void **original_pointer_location = tcb + TLS_TCB_SIZE; in tcb_to_pointer_to_free_location()
415 void **original_pointer_location = tcb - TLS_PRE_TCB_SIZE - sizeof (void *); in tcb_to_pointer_to_free_location()
640 _dl_deallocate_tls (void *tcb, bool dealloc_tcb) in rtld_hidden_def()
642 dtv_t *dtv = GET_DTV (tcb); in rtld_hidden_def()
653 free (*tcb_to_pointer_to_free_location (tcb)); in rtld_hidden_def()
/glibc-2.36/sysdeps/i386/nptl/
Dtls.h35 void *tcb; /* Pointer to the TCB. Not necessarily the member
183 _head->tcb = _thrdescr; \
DMakefile19 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/powerpc/nptl/
DMakefile19 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/sparc/nptl/
DMakefile2 gen-as-const-headers += tcb-offsets.sym
Dtls.h34 void *tcb; /* Pointer to the TCB. Not necessary the member
/glibc-2.36/sysdeps/nios2/nptl/
DMakefile21 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/i386/htl/
DMakefile19 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/ia64/nptl/
DMakefile19 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/sh/
DMakefile2 gen-as-const-headers += tcb-offsets.sym
/glibc-2.36/sysdeps/mach/hurd/htl/
Dpt-sysdep.c73 thread->tcb = THREAD_SELF; in _init_routine()
/glibc-2.36/ChangeLog.old/
DChangeLog.nptl131 * nptl/sysdeps/powerpc/tcb-offsets.sym: Likewise.
2326 * sysdeps/x86_64/tcb-offsets.sym: Add cancellation-related bits
2343 * sysdeps/x86_64/tcb-offsets.sym: Add RTLD_SAVESPACE_SSE.
2739 * sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET): Guard symbol
3101 kernel-features.h and tcb-offsets.h.
3106 tcb-offsets.h.
4123 * sysdeps/sh/tcb-offsets.sym: Add PRIVATE_FUTEX.
4344 * sysdeps/powerpc/tcb-offsets.sym: Add PRIVATE_FUTEX_OFFSET.
4440 * sysdeps/x86_64/tcb-offsets.sym: Add PRIVATE_FUTEX.
4441 * sysdeps/i386/tcb-offsets.sym: Likewise.
[all …]
DChangeLog.245014 Remove ununsed tcb-offset
5017 * sysdeps/aarch64/nptl/tcb-offsets.sym: Delete file.
5019 [__ASSEMBLER__](tcb-offsets.h): Remove.
5021 * sysdeps/alpha/nptl/tcb-offsets.sym: Delete file.
5023 [__ASSEMBLER__](tcb-offsets.h): Remove.
5025 * sysdeps/arc/nptl/tcb-offsets.sym: Delete file.
5027 * sysdeps/arm/nptl/tcb-offsets.sym: Delete file.
5029 [__ASSEMBLER__](tcb-offsets.h): Remove.
5032 * sysdeps/csky/nptl/tcb-offsets.sym: Delete file.
5034 [__ASSEMBLER__](tcb-offsets.h): Remove include.
[all …]

12