Lines Matching refs:GDT_ENTRY_TLS_MIN
55 return idx + GDT_ENTRY_TLS_MIN; in get_free_idx()
79 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) { in load_TLS()
81 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS()
119 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) { in needs_TLS_update()
121 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update()
143 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) { in clear_flushed_tls()
145 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls()
190 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in set_tls_entry()
193 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
194 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present = 1; in set_tls_entry()
195 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed = flushed; in set_tls_entry()
224 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in get_tls_entry()
227 if (!t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present) in get_tls_entry()
230 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
238 !t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed)) { in get_tls_entry()