Home
last modified time | relevance | path

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

/bionic/libc/platform/bionic/
Dtls_defines.h101 #define MAX_TLS_SLOT 7 macro
122 #define MAX_TLS_SLOT 10 // update this value when reserving a slot macro
145 #define MAX_TLS_SLOT (-1) macro
149 #define BIONIC_TLS_SLOTS (MAX_TLS_SLOT - MIN_TLS_SLOT + 1)
/bionic/libc/bionic/
Dbionic_elf_tls.cpp141 static_assert(MIN_TLS_SLOT <= 0 && MAX_TLS_SLOT >= 1); in reserve_exe_segment_and_tcb()
142 static_assert(sizeof(bionic_tcb) == (MAX_TLS_SLOT - MIN_TLS_SLOT + 1) * sizeof(void*)); in reserve_exe_segment_and_tcb()
149 const size_t tcb_size_post = (MAX_TLS_SLOT + 1) * sizeof(void*); in reserve_exe_segment_and_tcb()
180 static_assert(MAX_TLS_SLOT == -1, "Last slot of bionic_tcb must be slot #(-1) on riscv"); in reserve_exe_segment_and_tcb()