Searched refs:GDT_ENTRY_TLS_MIN (Results 1 – 8 of 8) 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()277 fill_user_desc(info++, GDT_ENTRY_TLS_MIN + pos++, in regset_tls_get()283 fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); in regset_tls_get()317 GDT_ENTRY_TLS_MIN + (pos / sizeof(struct user_desc)), in regset_tls_set()
303 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in x86_fsgsbase_read_task()306 idx -= GDT_ENTRY_TLS_MIN; in x86_fsgsbase_read_task()
1285 .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)
91 #define GDT_ENTRY_TLS_MIN 6 macro92 #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)186 #define GDT_ENTRY_TLS_MIN 12 macro
282 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; in native_load_tls()
530 maddr = arbitrary_virt_to_machine(&gdt[GDT_ENTRY_TLS_MIN+i]); in load_TLS_descriptor()