Lines Matching refs:tls_index
46 static int tls_index = TLS_OUT_OF_INDEXES; /* Index for the TLS functions. */
93 if (tls_index == TLS_OUT_OF_INDEXES)
95 tls_index = TlsAlloc ();
96 if (tls_index == TLS_OUT_OF_INDEXES)
126 tls = TlsGetValue (tls_index);
129 TlsSetValue (tls_index, NULL);
135 TlsFree (tls_index);
136 tls_index = TLS_OUT_OF_INDEXES;
294 tls = TlsGetValue (tls_index);
306 TlsSetValue (tls_index, tls);
383 tls_index = TlsAlloc ();
384 if (tls_index == TLS_OUT_OF_INDEXES)
392 TlsSetValue (tls_index, tls);
400 tls = TlsGetValue (tls_index);
406 tls = TlsGetValue (tls_index);
409 TlsFree (tls_index);