Lines Matching refs:GDT_ENTRY_TLS_MIN
64 return GDT_ENTRY_TLS_MIN;
68 return idx + GDT_ENTRY_TLS_MIN;
91 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) {
92 struct uml_tls_struct* curr = &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN];
127 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) {
128 struct uml_tls_struct* curr = &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN];
147 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) {
148 struct uml_tls_struct* curr = &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN];
198 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX)
201 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info;
202 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present = 1;
203 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed = flushed;
236 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX)
239 if (!t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present)
242 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls;
248 if (unlikely(task == current && !t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed)) {