Lines Matching refs:tls
105 struct bomp_tls *tls = calloc(1, sizeof(struct bomp_tls));
106 if (tls == NULL) {
110 tls->role = BOMP_THREAD_ROLE_MASTER;
111 tls->self = thread_self();
114 tls->r.master.nodes = calloc(node_count, sizeof(struct bomp_node));
115 if (tls->r.master.nodes == NULL) {
116 free(tls);
119 tls->r.master.num_nodes = node_count - 1;
121 tls->r.master.num_nodes = 0;
122 tls->r.master.nodes = NULL;
125 tls->icv.global = &g_omp_icv_global_default;
126 tls->icv.device = &g_omp_icv_device_default;
127 tls->icv.task = NULL;
129 thread_set_tls(tls);
157 stack_size, &tls->r.master.nodes[node]);
167 stack_size, &tls->r.master.local);
170 tls->r.master.local.threads_active = 1;
171 tls->r.master.nodes_active = 1;