Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsys_thread_properties.cpp79 void** tp_reg = nullptr; in __get_bionic_tcb_for_thread() local
86 tp_reg = reinterpret_cast<void**>(fs_base); in __get_bionic_tcb_for_thread()
100 tp_reg = reinterpret_cast<void**>(u_info.base_addr); in __get_bionic_tcb_for_thread()
110 tp_reg = reinterpret_cast<void**>(reg); in __get_bionic_tcb_for_thread()
113 if (ptrace(PTRACE_GET_THREAD_AREA, tid, nullptr, &tp_reg) != 0) { in __get_bionic_tcb_for_thread()
115 tp_reg = nullptr; in __get_bionic_tcb_for_thread()
119 if (tp_reg == nullptr) { in __get_bionic_tcb_for_thread()
124 return reinterpret_cast<bionic_tcb*>(&tp_reg[MIN_TLS_SLOT]); in __get_bionic_tcb_for_thread()