Home
last modified time | relevance | path

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

123

/glibc-2.36/elf/
Ddl-tls.c366 dtv_t *dtv; in allocate_dtv() local
375 dtv = calloc (dtv_length + 2, sizeof (dtv_t)); in allocate_dtv()
376 if (dtv != NULL) in allocate_dtv()
379 dtv[0].counter = dtv_length; in allocate_dtv()
385 INSTALL_DTV (result, dtv); in allocate_dtv()
484 _dl_resize_dtv (dtv_t *dtv, size_t max_modid) in _dl_resize_dtv() argument
489 size_t oldsize = dtv[-1].counter; in _dl_resize_dtv()
491 if (dtv == GL(dl_initial_dtv)) in _dl_resize_dtv()
501 memcpy (newp, &dtv[-1], (2 + oldsize) * sizeof (dtv_t)); in _dl_resize_dtv()
505 newp = realloc (&dtv[-1], in _dl_resize_dtv()
[all …]
/glibc-2.36/sysdeps/hppa/nptl/
Dtls.h45 dtv_t *dtv; member
61 ((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1
64 # define INSTALL_NEW_DTV(dtv) \ argument
66 __tcbp->dtv = dtv; \
71 (((tcbhead_t *) (tcbp))->dtv)
85 __tcbp->dtv; \
/glibc-2.36/sysdeps/sh/nptl/
Dtls.h35 dtv_t *dtv; member
70 ((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1
73 # define INSTALL_NEW_DTV(dtv) \ argument
76 __tcbp->dtv = (dtv);})
80 (((tcbhead_t *) (tcbp))->dtv)
94 __tcbp->dtv;})
/glibc-2.36/sysdeps/s390/nptl/
Dtls.h36 dtv_t *dtv; member
84 ((tcbhead_t *) (descr))->dtv = (dtvp) + 1
87 # define INSTALL_NEW_DTV(dtv) \ argument
88 (((tcbhead_t *) __builtin_thread_pointer ())->dtv = (dtv))
92 (((tcbhead_t *) (descr))->dtv)
123 (((tcbhead_t *) __builtin_thread_pointer ())->dtv)
/glibc-2.36/sysdeps/arm/nptl/
Dtls.h43 dtv_t *dtv; member
59 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
62 # define INSTALL_NEW_DTV(dtv) \ argument
63 (THREAD_DTV() = (dtv))
67 (((tcbhead_t *) (tcbp))->dtv)
73 (((tcbhead_t *) __builtin_thread_pointer ())->dtv)
/glibc-2.36/sysdeps/alpha/nptl/
Dtls.h42 dtv_t *dtv; member
58 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
61 # define INSTALL_NEW_DTV(dtv) \ argument
62 (THREAD_DTV() = (dtv))
66 (((tcbhead_t *) (tcbp))->dtv)
79 (((tcbhead_t *) __builtin_thread_pointer ())->dtv)
/glibc-2.36/sysdeps/microblaze/nptl/
Dtls.h45 dtv_t *dtv; member
65 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
68 # define INSTALL_NEW_DTV(dtv) \ argument
69 (THREAD_DTV() = (dtv))
73 (((tcbhead_t *) (tcbp))->dtv)
84 (((tcbhead_t *) READ_THREAD_POINTER())->dtv)
/glibc-2.36/sysdeps/aarch64/nptl/
Dtls.h45 dtv_t *dtv; member
61 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
64 # define INSTALL_NEW_DTV(dtv) \ argument
65 (THREAD_DTV() = (dtv))
69 (((tcbhead_t *) (tcbp))->dtv)
82 (((tcbhead_t *) __builtin_thread_pointer ())->dtv)
/glibc-2.36/sysdeps/arc/nptl/
Dtls.h44 dtv_t *dtv; member
62 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
65 # define INSTALL_NEW_DTV(dtv) \ argument
66 (THREAD_DTV() = (dtv))
70 (((tcbhead_t *) (tcbp))->dtv)
87 (((tcbhead_t *) __builtin_thread_pointer ())->dtv)
/glibc-2.36/sysdeps/riscv/nptl/
Dtls.h45 dtv_t *dtv; member
70 (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
73 # define INSTALL_NEW_DTV(dtv) \ argument
74 (THREAD_DTV() = (dtv))
78 (((tcbhead_t *) (tcbp))[-1].dtv)
86 (((tcbhead_t *) (READ_THREAD_POINTER () - TLS_TCB_OFFSET))[-1].dtv)
/glibc-2.36/sysdeps/m68k/nptl/
Dtls.h45 dtv_t *dtv; member
74 ((tcbhead_t *) (tcbp))[-1].dtv = dtvp + 1
77 # define INSTALL_NEW_DTV(dtv) \ argument
78 (THREAD_DTV () = (dtv))
82 (((tcbhead_t *) (tcbp))[-1].dtv)
102 (((tcbhead_t *) (__m68k_read_tp () - TLS_TCB_OFFSET))[-1].dtv)
/glibc-2.36/sysdeps/loongarch/nptl/
Dtls.h45 dtv_t *dtv; member
74 #define INSTALL_DTV(tcbp, dtvp) (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
77 #define INSTALL_NEW_DTV(dtv) (THREAD_DTV () = (dtv)) argument
80 #define GET_DTV(tcbp) (((tcbhead_t *) (tcbp))[-1].dtv)
91 (((tcbhead_t *) (READ_THREAD_POINTER () - TLS_TCB_OFFSET))[-1].dtv)
/glibc-2.36/nptl_db/
Ddb_info.c37 union dtv dtv[UINT32_MAX / 2 / sizeof (union dtv)]; /* No constant bound. */ member
38 } dtv; typedef
61 # define dtvp header.dtv
67 TLS_PRE_TCB_SIZE + offsetof (tcbhead_t, dtv)
68 - (TLS_TCB_SIZE == 0 ? sizeof (tcbhead_t) : 0), union dtv *)
Dtd_thr_tlsbase.c126 psaddr_t dtv, dtvslot, dtvptr, temp; in td_thr_tlsbase() local
177 err = DB_GET_FIELD (dtv, th->th_ta_p, pd, pthread, dtvp, 0); in td_thr_tlsbase()
183 err = DB_GET_FIELD_ADDRESS (dtvgenloc, th->th_ta_p, dtv, dtv, dtv, 0); in td_thr_tlsbase()
222 err = DB_GET_FIELD_ADDRESS (dtvslot, th->th_ta_p, dtv, dtv, dtv, modid); in td_thr_tlsbase()
/glibc-2.36/sysdeps/csky/nptl/
Dtls.h56 dtv_t *dtv; member
76 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
79 # define INSTALL_NEW_DTV(dtv) \ argument
80 (THREAD_DTV() = (dtv))
84 (((tcbhead_t *) (tcbp))->dtv)
100 (((tcbhead_t *) (READ_THREAD_POINTER () - TLS_TCB_OFFSET))->dtv)
/glibc-2.36/sysdeps/nios2/nptl/
Dtls.h49 dtv_t *dtv; member
79 (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
82 # define INSTALL_NEW_DTV(dtv) \ argument
83 (THREAD_DTV() = (dtv))
87 (((tcbhead_t *) (tcbp))[-1].dtv)
99 (((tcbhead_t *) (READ_THREAD_POINTER () - TLS_TCB_OFFSET))[-1].dtv)
/glibc-2.36/sysdeps/or1k/nptl/
Dtls.h32 dtv_t *dtv; member
92 (((tcbhead_t *) (tcbp))->dtv = (dtvp) + 1)
101 # define INSTALL_NEW_DTV(dtv) (THREAD_DTV() = (dtv)) argument
104 # define GET_DTV(tcbp) (((tcbhead_t *) (tcbp))->dtv)
127 ((((tcbhead_t *)__thread_self)-1)->dtv)
/glibc-2.36/sysdeps/mips/nptl/
Dtls.h76 dtv_t *dtv; member
102 (((tcbhead_t *) (tcbp))[-1].dtv = (dtvp) + 1)
105 # define INSTALL_NEW_DTV(dtv) \ argument
106 (THREAD_DTV() = (dtv))
110 (((tcbhead_t *) (tcbp))[-1].dtv)
128 (((tcbhead_t *) (READ_THREAD_POINTER () - TLS_TCB_OFFSET))[-1].dtv)
/glibc-2.36/sysdeps/powerpc/nptl/
Dtls.h98 dtv_t *dtv; member
126 ((tcbhead_t *) (tcbp))[-1].dtv = dtvp + 1
129 # define INSTALL_NEW_DTV(dtv) (THREAD_DTV() = (dtv)) argument
132 # define GET_DTV(tcbp) (((tcbhead_t *) (tcbp))[-1].dtv)
155 (((tcbhead_t *) (__thread_register - TLS_TCB_OFFSET))[-1].dtv)
/glibc-2.36/sysdeps/sparc/nptl/
Dtls.h36 dtv_t *dtv; member
80 ((tcbhead_t *) (descr))->dtv = (dtvp) + 1
84 (((tcbhead_t *) __thread_self)->dtv = (DTV))
88 (((tcbhead_t *) (descr))->dtv)
99 (((tcbhead_t *) __thread_self)->dtv)
/glibc-2.36/sysdeps/ia64/nptl/
Dtls.h33 dtv_t *dtv; member
80 ((tcbhead_t *) (descr))->dtv = (dtvp) + 1
84 (((tcbhead_t *)__thread_self)->dtv = (DTV))
88 (((tcbhead_t *) (descr))->dtv)
116 (((tcbhead_t *)__thread_self)->dtv)
/glibc-2.36/sysdeps/x86_64/nptl/
Dtls.h46 dtv_t *dtv; member
124 ((tcbhead_t *) (descr))->dtv = (dtvp) + 1
129 THREAD_SETMEM (__pd, header.dtv, (dtvp)); })
133 (((tcbhead_t *) (descr))->dtv)
168 THREAD_GETMEM (__pd, header.dtv); })
/glibc-2.36/sysdeps/i386/nptl/
Dtls.h37 dtv_t *dtv; member
120 ((tcbhead_t *) (descr))->dtv = (dtvp) + 1
125 THREAD_SETMEM (__pd, header.dtv, (dtvp)); })
129 (((tcbhead_t *) (descr))->dtv)
222 THREAD_GETMEM (__pd, header.dtv); })
/glibc-2.36/sysdeps/x86_64/
Ddl-tls.c41 dtv_t *dtv = THREAD_DTV (); in hidden_ver() local
44 if (__glibc_unlikely (dtv[0].counter != gen)) in hidden_ver()
47 return tls_get_addr_tail (GET_ADDR_PARAM, dtv, NULL); in hidden_ver()
/glibc-2.36/sysdeps/nios2/
Dlibc-tls.c30 dtv_t *dtv = THREAD_DTV (); in __tls_get_addr() local
31 return (char *) dtv[1].pointer.val + GET_ADDR_OFFSET; in __tls_get_addr()

123