Home
last modified time | relevance | path

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

/third_party/musl/src/env/
D__init_tls.c44 uintptr_t *dtv; in __copy_tls() local
47 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
54 dtv[i] = (uintptr_t)(mem + p->offset) + DTP_OFFSET; in __copy_tls()
58 dtv = (uintptr_t *)mem; in __copy_tls()
65 dtv[i] = (uintptr_t)(mem - p->offset) + DTP_OFFSET; in __copy_tls()
69 dtv[0] = libc.tls_cnt; in __copy_tls()
70 td->dtv = dtv; in __copy_tls()
D__reset_tls.c9 size_t i, n = self->dtv[0]; in __reset_tls()
11 char *mem = (char *)(self->dtv[i] - DTP_OFFSET); in __reset_tls()
/third_party/musl/porting/linux/user/src/env/
D__init_tls.c44 uintptr_t *dtv; in __copy_tls() local
47 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
54 dtv[i] = (uintptr_t)(mem + p->offset) + DTP_OFFSET; in __copy_tls()
60 dtv = (uintptr_t *)mem; in __copy_tls()
67 dtv[i] = (uintptr_t)(mem - p->offset) + DTP_OFFSET; in __copy_tls()
73 dtv[0] = libc.tls_cnt; in __copy_tls()
74 td->dtv = dtv; in __copy_tls()
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c76 uintptr_t *dtv; in __copy_tls() local
79 dtv = (uintptr_t*)(mem + libc.tls_size) - (libc.tls_cnt + 1); in __copy_tls()
86 dtv[i] = (uintptr_t)(mem + p->offset) + DTP_OFFSET; in __copy_tls()
90 dtv = (uintptr_t *)mem; in __copy_tls()
97 dtv[i] = (uintptr_t)(mem - p->offset) + DTP_OFFSET; in __copy_tls()
101 dtv[0] = libc.tls_cnt; in __copy_tls()
102 td->dtv = dtv; in __copy_tls()
/third_party/musl/porting/liteos_a/user/src/internal/
Dpthread_impl.h23 uintptr_t *dtv; member
66 uintptr_t *dtv; member
/third_party/musl/src/internal/
Dpthread_impl.h23 uintptr_t *dtv; member
66 uintptr_t *dtv; member
/third_party/musl/src/thread/
D__tls_get_addr.c6 return (void *)(self->dtv[v[0]] + v[1]); in __tls_get_addr()
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h38 uintptr_t *dtv; member
87 uintptr_t *dtv; member
/third_party/musl/libc-test/src/regression/
Dtest_src_regression.gni73 "tls_get_new-dtv",
/third_party/musl/porting/liteos_m/user/src/internal/
Dpthread_impl.h21 uintptr_t *dtv; member
/third_party/musl/libc-test/
Dtest_template.gni208 if (target_name == "tls_get_new-dtv") {
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1606 size_t old_cnt = self->dtv[0]; in install_new_tls()
1612 memcpy(newdtv+i, td->dtv, in install_new_tls()
1641 td->dtv = newdtv[j]; in install_new_tls()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1605 size_t old_cnt = self->dtv[0]; in install_new_tls()
1611 memcpy(newdtv+i, td->dtv, in install_new_tls()
1640 td->dtv = newdtv[j]; in install_new_tls()
/third_party/musl/ldso/
Ddynlink.c1589 size_t old_cnt = self->dtv[0]; in install_new_tls()
1595 memcpy(newdtv+i, td->dtv, in install_new_tls()
1624 td->dtv = newdtv[j]; in install_new_tls()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c2653 size_t old_cnt = self->dtv[0]; in install_new_tls()
2659 memcpy(newdtv+i, td->dtv, in install_new_tls()
2688 td->dtv = newdtv[j]; in install_new_tls()
/third_party/musl/
DWHATSNEW1731 - thread structure/dtv corruption on powerpc at thread startup