Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/um/
Dtls_32.c69 return GDT_ENTRY_TLS_MIN; in get_free_idx()
73 return idx + GDT_ENTRY_TLS_MIN; in get_free_idx()
97 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) { in load_TLS()
99 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS()
137 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) { in needs_TLS_update()
139 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update()
161 for (i = GDT_ENTRY_TLS_MIN; i < GDT_ENTRY_TLS_MAX; i++) { in clear_flushed_tls()
163 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls()
208 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in set_tls_entry()
211 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtls.c28 return idx + GDT_ENTRY_TLS_MIN; in get_free_idx()
88 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc()
142 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in do_set_thread_area()
229 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in do_get_thread_area()
232 index = idx - GDT_ENTRY_TLS_MIN; in do_get_thread_area()
234 GDT_ENTRY_TLS_MAX - GDT_ENTRY_TLS_MIN + 1); in do_get_thread_area()
266 fill_user_desc(&v, GDT_ENTRY_TLS_MIN + pos, tls); in regset_tls_get()
297 GDT_ENTRY_TLS_MIN + (pos / sizeof(struct user_desc)), in regset_tls_set()
Dprocess_64.c377 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in x86_fsgsbase_read_task()
380 idx -= GDT_ENTRY_TLS_MIN; in x86_fsgsbase_read_task()
Dptrace.c1275 .n = GDT_ENTRY_TLS_ENTRIES, .bias = GDT_ENTRY_TLS_MIN,
/kernel/linux/linux-5.10/arch/x86/um/asm/
Dsegment.h8 #define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min macro
9 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsegment.h103 #define GDT_ENTRY_TLS_MIN 6 macro
104 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
198 #define GDT_ENTRY_TLS_MIN 12 macro
Ddesc.h277 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dbugs.c430 GDT_ENTRY_TLS_MIN, &d, DESCTYPE_S); in lkdtm_DOUBLE_FAULT()
441 "r" ((unsigned short)(GDT_ENTRY_TLS_MIN << 3))); in lkdtm_DOUBLE_FAULT()
/kernel/linux/linux-5.10/arch/x86/xen/
Denlighten_pv.c518 maddr = arbitrary_virt_to_machine(&gdt[GDT_ENTRY_TLS_MIN+i]); in load_TLS_descriptor()