Searched refs:entry_number (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/arch/x86/um/ |
D | tls_32.c | 34 "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() 108 curr->tls.entry_number = idx; in load_TLS() 232 idx = info.entry_number; in arch_copy_tls() 275 info->entry_number = idx; in get_tls_entry() 290 idx = info.entry_number; in SYSCALL_DEFINE1() 296 info.entry_number = idx; in SYSCALL_DEFINE1() 298 if (put_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1() 335 if (get_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
|
D | ldt.c | 138 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt() 153 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt() 154 ldt_info.entry_number >= LDT_DIRECT_ENTRIES) { in write_ldt() 156 i*LDT_ENTRIES_PER_PAGE <= ldt_info.entry_number; in write_ldt() 179 if (ldt->entry_count <= ldt_info.entry_number) in write_ldt() 180 ldt->entry_count = ldt_info.entry_number + 1; in write_ldt() 183 ldt_p = ldt->u.entries + ldt_info.entry_number; in write_ldt() 185 ldt_p = ldt->u.pages[ldt_info.entry_number/LDT_ENTRIES_PER_PAGE] + in write_ldt() 186 ldt_info.entry_number%LDT_ENTRIES_PER_PAGE; in write_ldt() 318 desc.entry_number = *num_p; in init_new_ldt()
|
/Linux-v4.19/tools/testing/selftests/x86/ |
D | sigreturn.c | 178 *var = LDT3(desc->entry_number); in add_ldt() 195 .entry_number = LDT_OFFSET + 0, in setup_ldt() 208 .entry_number = LDT_OFFSET + 1, in setup_ldt() 221 .entry_number = LDT_OFFSET + 3, in setup_ldt() 234 .entry_number = LDT_OFFSET + 4, in setup_ldt() 247 .entry_number = -1, in setup_ldt() 265 gdt_data16_desc.entry_number); in setup_ldt() 266 gdt_data16_idx = gdt_data16_desc.entry_number; in setup_ldt() 272 .entry_number = -1, in setup_ldt() 288 gdt_npdata32_desc.entry_number); in setup_ldt() [all …]
|
D | ldt_gdt.c | 152 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 …]
|
D | fsgsbase.c | 220 .entry_number = 0, in do_unexpected_base() 242 low_desc->entry_number = -1; in do_unexpected_base() 256 printf("\tother thread: using GDT slot %d\n", desc.entry_number); in do_unexpected_base() 257 asm volatile ("mov %0, %%gs" : : "rm" ((unsigned short)((desc.entry_number << 3) | 0x3))); in do_unexpected_base()
|
/Linux-v4.19/arch/x86/um/os-Linux/ |
D | tls.c | 30 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-v4.19/arch/x86/kernel/ |
D | tls.c | 127 idx = info.entry_number; in do_set_thread_area() 137 if (put_user(idx, &u_info->entry_number)) in do_set_thread_area() 205 info->entry_number = idx; in fill_user_desc() 224 if (idx == -1 && get_user(idx, &u_info->entry_number)) in do_get_thread_area()
|
D | ldt.c | 465 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt() 494 new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries); in write_ldt() 504 new_ldt->entries[ldt_info.entry_number] = ldt; in write_ldt()
|
/Linux-v4.19/arch/x86/include/uapi/asm/ |
D | ldt.h | 22 unsigned int entry_number; member
|
/Linux-v4.19/arch/x86/um/shared/sysdep/ |
D | tls.h | 12 unsigned int entry_number; member
|