Searched refs:entry_number (Results 1 – 7 of 7) sorted by relevance
/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() 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()
|
D | ldt.c | 140 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()
|
/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()
|
/arch/x86/kernel/ |
D | tls.c | 128 idx = info.entry_number; in do_set_thread_area() 138 if (put_user(idx, &u_info->entry_number)) in do_set_thread_area() 206 info->entry_number = idx; in fill_user_desc() 226 if (idx == -1 && get_user(idx, &u_info->entry_number)) in do_get_thread_area()
|
D | ldt.c | 481 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt() 510 new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries); in write_ldt() 520 new_ldt->entries[ldt_info.entry_number] = ldt; in write_ldt()
|
/arch/x86/include/uapi/asm/ |
D | ldt.h | 22 unsigned int entry_number; member
|
/arch/x86/um/shared/sysdep/ |
D | tls.h | 12 unsigned int entry_number; member
|