Searched refs:tls_array (Results 1 – 9 of 9) sorted by relevance
/linux/arch/x86/um/asm/ |
H A D | processor_32.h | 22 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/arch/x86/um/ |
H A D | tls_32.c | 54 if (!t->arch.tls_array[idx].present) in get_free_idx() 81 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS() 121 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update() 145 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls() 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() 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()
|
/linux/arch/x86/kernel/ |
H A D | tls.c | 28 if (desc_empty(&t->tls_array[idx])) in get_free_idx() 89 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc() 231 fill_user_desc(&info, idx, &p->thread.tls_array[index]); in do_get_thread_area() 248 while (n > 0 && desc_empty(&t->tls_array[n - 1])) in regset_tls_active() 260 for (pos = 0, tls = target->thread.tls_array; to.left; pos++, tls++) { in regset_tls_get()
|
H A D | process.c | 277 memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); in flush_thread()
|
H A D | process_64.c | 430 base = get_desc_base(&task->thread.tls_array[idx]); in x86_fsgsbase_read_task()
|
/linux/arch/x86/xen/ |
H A D | enlighten_pv.c | 586 if (desc_equal(shadow, &t->tls_array[i])) in load_TLS_descriptor() 589 *shadow = t->tls_array[i]; in load_TLS_descriptor() 595 MULTI_update_descriptor(mc.mc, maddr.maddr, t->tls_array[i]); in load_TLS_descriptor()
|
/linux/arch/x86/include/asm/ |
H A D | desc.h | 299 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
|
H A D | processor.h | 438 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; member
|
/linux/arch/x86/kernel/cpu/ |
H A D | common.c | 2245 memset(cur->thread.tls_array, 0, GDT_ENTRY_TLS_ENTRIES * 8); in cpu_init()
|