Home
last modified time | relevance | path

Searched refs:tls_array (Results 1 – 9 of 9) sorted by relevance

/arch/x86/um/asm/
Dprocessor_32.h22 struct uml_tls_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; member
29 .tls_array = { [ 0 ... GDT_ENTRY_TLS_ENTRIES - 1 ] = \
41 memset(&thread->tls_array, 0, sizeof(thread->tls_array)); in arch_flush_thread()
47 memcpy(&to->tls_array, &from->tls_array, sizeof(from->tls_array)); in arch_copy_thread()
/arch/x86/um/
Dtls_32.c68 if (!t->arch.tls_array) in get_free_idx()
72 if (!t->arch.tls_array[idx].present) in get_free_idx()
99 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS()
139 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update()
163 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls()
211 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
212 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present = 1; in set_tls_entry()
213 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed = flushed; in set_tls_entry()
243 if (!t->arch.tls_array) in get_tls_entry()
249 if (!t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present) in get_tls_entry()
[all …]
/arch/x86/kernel/
Dtls.c27 if (desc_empty(&t->tls_array[idx])) in get_free_idx()
88 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc()
236 fill_user_desc(&info, idx, &p->thread.tls_array[index]); in do_get_thread_area()
253 while (n > 0 && desc_empty(&t->tls_array[n - 1])) in regset_tls_active()
272 tls = &target->thread.tls_array[pos]; in regset_tls_get()
Dprocess.c140 memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); in flush_thread()
Dprocess_64.c307 base = get_desc_base(&task->thread.tls_array[idx]); in x86_fsgsbase_read_task()
/arch/x86/xen/
Denlighten_pv.c524 if (desc_equal(shadow, &t->tls_array[i])) in load_TLS_descriptor()
527 *shadow = t->tls_array[i]; in load_TLS_descriptor()
533 MULTI_update_descriptor(mc.mc, maddr.maddr, t->tls_array[i]); in load_TLS_descriptor()
/arch/x86/include/asm/
Ddesc.h282 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
Dprocessor.h442 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; member
/arch/x86/kernel/cpu/
Dcommon.c1850 memset(me->thread.tls_array, 0, GDT_ENTRY_TLS_ENTRIES * 8); in cpu_init()