Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/um/
Dtls_32.c34 "index = %d\n", ret, info->entry_number); in do_set_thread_area()
50 "index = %d\n", ret, info->entry_number); in do_get_thread_area()
105 curr->tls.entry_number = idx; in load_TLS()
227 idx = info.entry_number; in arch_set_tls()
267 info->entry_number = idx; in get_tls_entry()
282 idx = info.entry_number; in SYSCALL_DEFINE1()
288 info.entry_number = idx; in SYSCALL_DEFINE1()
290 if (put_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
327 if (get_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
Dldt.c140 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt()
155 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt()
156 ldt_info.entry_number >= LDT_DIRECT_ENTRIES) { in write_ldt()
158 i*LDT_ENTRIES_PER_PAGE <= ldt_info.entry_number; in write_ldt()
181 if (ldt->entry_count <= ldt_info.entry_number) in write_ldt()
182 ldt->entry_count = ldt_info.entry_number + 1; in write_ldt()
185 ldt_p = ldt->u.entries + ldt_info.entry_number; in write_ldt()
187 ldt_p = ldt->u.pages[ldt_info.entry_number/LDT_ENTRIES_PER_PAGE] + in write_ldt()
188 ldt_info.entry_number%LDT_ENTRIES_PER_PAGE; in write_ldt()
320 desc.entry_number = *num_p; in init_new_ldt()
/linux-6.1.9/tools/testing/selftests/x86/
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 …]
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 …]
Dfsgsbase_restore.c63 .entry_number = 0, in init_seg()
85 low_desc->entry_number = -1; in init_seg()
103 printf("\tusing GDT slot %d\n", desc.entry_number); in init_seg()
105 unsigned short sel = (unsigned short)((desc.entry_number << 3) | 0x3); in init_seg()
Dfsgsbase.c260 .entry_number = 0, in load_gs()
283 low_desc->entry_number = set_thread_area_entry_number; in load_gs()
298 printf("\tusing GDT slot %d\n", desc.entry_number); in load_gs()
299 set_thread_area_entry_number = desc.entry_number; in load_gs()
301 unsigned short gs = (unsigned short)((desc.entry_number << 3) | 0x3); in load_gs()
/linux-6.1.9/arch/x86/um/os-Linux/
Dtls.c30 info.entry_number = val[i]; in check_host_supports_tls()
52 ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number, in os_set_thread_area()
63 ret = ptrace(PTRACE_GET_THREAD_AREA, pid, info->entry_number, in os_get_thread_area()
/linux-6.1.9/arch/x86/kernel/
Dtls.c128 idx = info.entry_number; in do_set_thread_area()
138 if (put_user(idx, &u_info->entry_number)) in do_set_thread_area()
200 info->entry_number = idx; in fill_user_desc()
220 if (idx == -1 && get_user(idx, &u_info->entry_number)) in do_get_thread_area()
Dldt.c593 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt()
622 new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries); in write_ldt()
632 new_ldt->entries[ldt_info.entry_number] = ldt; in write_ldt()
/linux-6.1.9/arch/x86/include/uapi/asm/
Dldt.h22 unsigned int entry_number; member
/linux-6.1.9/arch/x86/um/shared/sysdep/
Dtls.h12 unsigned int entry_number; member