Lines Matching defs:tls
179 struct tls {
233 struct tls *tls = calloc(1, sizeof(tls));
234 thread_set_tls(tls);
267 struct tls *tls = thread_get_tls();
268 if(tls == NULL) {
269 tls = calloc(1, sizeof(struct tls));
270 thread_set_tls(tls);
272 env->tpool = tls->tpool;
280 tls->tpool = tpool;
286 tls->env = env;
341 struct tls *tls = thread_get_tls();
342 tpool = tls->tpool;
749 struct tls *tls = thread_get_tls();
750 if(tls == NULL) {
751 tls = calloc(1, sizeof(struct tls));
752 thread_set_tls(tls);
755 tls->env = env;
952 struct tls *tls = thread_get_tls();
953 if(tls == NULL) {
954 tls = calloc(1, sizeof(struct tls));
955 thread_set_tls(tls);
957 tls->env = env;
1029 struct tls *tls = thread_get_tls();
1030 if(tls == NULL) {
1031 tls = calloc(1, sizeof(struct tls));
1032 thread_set_tls(tls);
1034 tls->env = env;
1914 struct tls *tls = thread_get_tls();
1915 if(tls == NULL) {
1916 tls = calloc(1, sizeof(struct tls));
1917 thread_set_tls(tls);
1919 return tls->env;