Searched refs:tls_array (Results 1 – 11 of 11) sorted by relevance
/arch/x86/um/asm/ |
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()
|
/arch/x86/um/ |
D | tls_32.c | 67 if (!t->arch.tls_array) in get_free_idx() 71 if (!t->arch.tls_array[idx].present) in get_free_idx() 98 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS() 138 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update() 162 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls() 210 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry() 211 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present = 1; in set_tls_entry() 212 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].flushed = flushed; in set_tls_entry() 244 if (!t->arch.tls_array) in get_tls_entry() 250 if (!t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].present) in get_tls_entry() [all …]
|
/arch/x86/kernel/ |
D | tls.c | 25 if (desc_empty(&t->tls_array[idx])) in get_free_idx() 86 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc() 188 &p->thread.tls_array[idx - GDT_ENTRY_TLS_MIN]); in do_get_thread_area() 205 while (n > 0 && desc_empty(&t->tls_array[n - 1])) in regset_tls_active() 224 tls = &target->thread.tls_array[pos]; in regset_tls_get()
|
D | process.c | 120 memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); in flush_thread()
|
D | process_64.c | 145 struct desc_struct *desc = t->thread.tls_array; in set_32bit_tls() 152 return get_desc_base(&t->thread.tls_array[tls]); in read_32bit_tls()
|
D | ptrace.c | 490 return get_desc_base(&task->thread.tls_array[FS_TLS]); in getreg() 503 return get_desc_base(&task->thread.tls_array[GS_TLS]); in getreg()
|
/arch/x86/xen/ |
D | enlighten.c | 683 if (desc_equal(shadow, &t->tls_array[i])) in load_TLS_descriptor() 686 *shadow = t->tls_array[i]; in load_TLS_descriptor() 692 MULTI_update_descriptor(mc.mc, maddr.maddr, t->tls_array[i]); in load_TLS_descriptor()
|
/arch/x86/include/asm/ |
D | desc.h | 251 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
|
D | processor.h | 470 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; member
|
/arch/x86/lguest/ |
D | boot.c | 366 lazy_hcall2(LHCALL_LOAD_TLS, __pa(&t->tls_array), cpu); in lguest_load_tls()
|
/arch/x86/kernel/cpu/ |
D | common.c | 1343 memset(me->thread.tls_array, 0, GDT_ENTRY_TLS_ENTRIES * 8); in cpu_init()
|