Home
last modified time | relevance | path

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

/linux/arch/x86/um/
H A Dtls_32.c35 "index = %d\n", ret, info->entry_number); in do_set_thread_area()
90 curr->tls.entry_number = idx; in load_TLS()
212 idx = info.entry_number; in arch_set_tls()
251 info->entry_number = idx; in get_tls_entry()
266 idx = info.entry_number; in SYSCALL_DEFINE1()
272 info.entry_number = idx; in SYSCALL_DEFINE1()
274 if (put_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
311 if (get_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
/linux/tools/testing/selftests/x86/
H A Dsigreturn.c167 *var = LDT3(desc->entry_number); in add_ldt()
184 .entry_number = LDT_OFFSET + 0, in setup_ldt()
197 .entry_number = LDT_OFFSET + 1, in setup_ldt()
210 .entry_number = LDT_OFFSET + 3, in setup_ldt()
223 .entry_number = LDT_OFFSET + 4, in setup_ldt()
236 .entry_number = -1, in setup_ldt()
254 gdt_data16_desc.entry_number); in setup_ldt()
255 gdt_data16_idx = gdt_data16_desc.entry_number; in setup_ldt()
261 .entry_number = -1, in setup_ldt()
277 gdt_npdata32_desc.entry_number); in setup_ldt()
[all …]
H A Dldt_gdt.c152 desc.entry_number = gdt_entry_num; in install_valid_mode()
172 check_valid_segment(desc.entry_number, ldt, ar, limit, true); in install_valid_mode()
209 check_invalid_segment(desc->entry_number, 1); in install_invalid()
247 .entry_number = 0, in do_simple_tests()
265 desc.entry_number = 2; in do_simple_tests()
335 check_valid_segment(desc.entry_number, 1, in do_simple_tests()
358 desc.entry_number = i; in do_simple_tests()
376 desc.entry_number = 8192; in do_simple_tests()
573 .entry_number = 0, in do_multicpu_tests()
642 .entry_number = 0, in do_exec_test()
[all …]
H A Dfsgsbase_restore.c62 .entry_number = 0, in init_seg()
84 low_desc->entry_number = -1; in init_seg()
102 printf("\tusing GDT slot %d\n", desc.entry_number); in init_seg()
104 unsigned short sel = (unsigned short)((desc.entry_number << 3) | 0x3); in init_seg()
H A Dfsgsbase.c254 .entry_number = 0, in load_gs()
277 low_desc->entry_number = set_thread_area_entry_number; in load_gs()
292 printf("\tusing GDT slot %d\n", desc.entry_number); in load_gs()
293 set_thread_area_entry_number = desc.entry_number; in load_gs()
295 unsigned short gs = (unsigned short)((desc.entry_number << 3) | 0x3); in load_gs()
/linux/arch/x86/kernel/
H A Dtls.c129 idx = info.entry_number; in do_set_thread_area()
139 if (put_user(idx, &u_info->entry_number)) in do_set_thread_area()
201 info->entry_number = idx; in fill_user_desc()
221 if (idx == -1 && get_user(idx, &u_info->entry_number)) in do_get_thread_area()
H A Dldt.c595 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt()
624 new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries); in write_ldt()
634 new_ldt->entries[ldt_info.entry_number] = ldt; in write_ldt()
/linux/arch/x86/include/uapi/asm/
H A Dldt.h22 unsigned int entry_number; member
/linux/arch/x86/um/shared/sysdep/
H A Dtls.h12 unsigned int entry_number; member