Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/arch/x86/um/
Dtls_32.c69 if (!t->arch.tls_array[idx].present) in get_free_idx()
96 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS()
136 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update()
160 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls()
208 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
209 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present = 1; in set_tls_entry()
210 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed = flushed; in set_tls_entry()
243 if (!t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present) in get_tls_entry()
246 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
254 !t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed)) { in get_tls_entry()
/linux-6.1.9/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()
230 fill_user_desc(&info, idx, &p->thread.tls_array[index]); in do_get_thread_area()
247 while (n > 0 && desc_empty(&t->tls_array[n - 1])) in regset_tls_active()
259 for (pos = 0, tls = target->thread.tls_array; to.left; pos++, tls++) { in regset_tls_get()
Dprocess.c239 memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); in flush_thread()
Dprocess_64.c405 base = get_desc_base(&task->thread.tls_array[idx]); in x86_fsgsbase_read_task()
/linux-6.1.9/arch/x86/xen/
Denlighten_pv.c497 if (desc_equal(shadow, &t->tls_array[i])) in load_TLS_descriptor()
500 *shadow = t->tls_array[i]; in load_TLS_descriptor()
506 MULTI_update_descriptor(mc.mc, maddr.maddr, t->tls_array[i]); in load_TLS_descriptor()
/linux-6.1.9/arch/x86/include/asm/
Ddesc.h298 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
Dprocessor.h471 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; member
/linux-6.1.9/arch/x86/kernel/cpu/
Dcommon.c2259 memset(cur->thread.tls_array, 0, GDT_ENTRY_TLS_ENTRIES * 8); in cpu_init()