Searched refs:GDT_ENTRY_TLS_MIN (Results 1 – 9 of 9) sorted by relevance
69 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 …]
28 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()
377 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()
1275 .n = GDT_ENTRY_TLS_ENTRIES, .bias = GDT_ENTRY_TLS_MIN,
8 #define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min macro9 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
103 #define GDT_ENTRY_TLS_MIN 6 macro104 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)198 #define GDT_ENTRY_TLS_MIN 12 macro
277 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
430 GDT_ENTRY_TLS_MIN, &d, DESCTYPE_S); in lkdtm_DOUBLE_FAULT()441 "r" ((unsigned short)(GDT_ENTRY_TLS_MIN << 3))); in lkdtm_DOUBLE_FAULT()
518 maddr = arbitrary_virt_to_machine(&gdt[GDT_ENTRY_TLS_MIN+i]); in load_TLS_descriptor()