Lines Matching defs:tls
56 memset(&thread->tls[0], 0, BIONIC_TLS_SLOTS * sizeof(void*));
60 thread->tls[TLS_SLOT_SELF] = thread->tls;
61 thread->tls[TLS_SLOT_THREAD_ID] = thread;
63 thread->tls[TLS_SLOT_STACK_GUARD] = (void*) __stack_chk_guard;
194 thread->tls = reinterpret_cast<void**>(reinterpret_cast<uint8_t*>(thread->attr.stack_base) +
196 void* child_stack = thread->tls;
215 void* tls = thread->tls;
220 __init_user_desc(&tls_descriptor, false, tls);
221 tls = &tls_descriptor;
223 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));