Searched refs:GDT_ENTRY_TLS_MIN (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/arch/x86/um/asm/
H A Dsegment.h7 #define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min macro
8 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
/linux-4.1.27/arch/x86/um/
H A Dtls_32.c68 return GDT_ENTRY_TLS_MIN; get_free_idx()
72 return idx + GDT_ENTRY_TLS_MIN; get_free_idx()
96 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) { load_TLS()
98 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; load_TLS()
136 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) { needs_TLS_update()
138 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; needs_TLS_update()
160 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) { clear_flushed_tls()
162 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; clear_flushed_tls()
207 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) set_tls_entry()
210 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; set_tls_entry()
211 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present = 1; set_tls_entry()
212 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed = flushed; set_tls_entry()
247 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) get_tls_entry()
250 if (!t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present) get_tls_entry()
253 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; get_tls_entry()
261 !t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed)) { get_tls_entry()
/linux-4.1.27/arch/x86/kernel/
H A Dtls.c26 return idx + GDT_ENTRY_TLS_MIN; get_free_idx()
86 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; set_tls_desc()
139 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) do_set_thread_area()
184 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) do_get_thread_area()
188 &p->thread.tls_array[idx - GDT_ENTRY_TLS_MIN]); do_get_thread_area()
229 fill_user_desc(info++, GDT_ENTRY_TLS_MIN + pos++, regset_tls_get()
235 fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); regset_tls_get()
269 GDT_ENTRY_TLS_MIN + (pos / sizeof(struct user_desc)), regset_tls_set()
H A Dptrace.c1357 .n = GDT_ENTRY_TLS_ENTRIES, .bias = GDT_ENTRY_TLS_MIN,
/linux-4.1.27/arch/x86/include/asm/
H A Dsegment.h89 #define GDT_ENTRY_TLS_MIN 6 macro
90 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
184 #define GDT_ENTRY_TLS_MIN 12 macro
214 #define GS_TLS_SEL ((GDT_ENTRY_TLS_MIN+GS_TLS)*8 + 3)
215 #define FS_TLS_SEL ((GDT_ENTRY_TLS_MIN+FS_TLS)*8 + 3)
H A Ddesc.h251 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; native_load_tls()
/linux-4.1.27/drivers/lguest/
H A Dsegments.c156 for (i = GDT_ENTRY_TLS_MIN; i <= GDT_ENTRY_TLS_MAX; i++) copy_gdt_tls()
212 struct desc_struct *tls = &cpu->arch.gdt[GDT_ENTRY_TLS_MIN]; guest_load_tls()
215 fixup_gdt_table(cpu, GDT_ENTRY_TLS_MIN, GDT_ENTRY_TLS_MAX+1); guest_load_tls()
/linux-4.1.27/arch/x86/xen/
H A Denlighten.c691 maddr = arbitrary_virt_to_machine(&gdt[GDT_ENTRY_TLS_MIN+i]); load_TLS_descriptor()

Completed in 294 milliseconds