Searched refs:entry_number (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/arch/x86/um/ |
D | tls_32.c | 35 "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-6.12.1/tools/testing/selftests/x86/ |
D | sigreturn.c | 167 *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 …]
|
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_restore.c | 62 .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()
|
D | fsgsbase.c | 254 .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-6.12.1/arch/x86/um/os-Linux/ |
D | tls.c | 31 info.entry_number = val[i]; in check_host_supports_tls() 53 ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number, in os_set_thread_area() 64 ret = ptrace(PTRACE_GET_THREAD_AREA, pid, info->entry_number, in os_get_thread_area()
|
/linux-6.12.1/arch/x86/kernel/ |
D | tls.c | 129 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()
|
D | ldt.c | 595 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-6.12.1/arch/x86/include/uapi/asm/ |
D | ldt.h | 22 unsigned int entry_number; member
|
/linux-6.12.1/arch/x86/um/shared/sysdep/ |
D | tls.h | 12 unsigned int entry_number; member
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | slab-depot.c | 852 journal_entry_count_t entry_number = tail_header->entry_count++; in encode_slab_journal_entry() local 861 payload->full_entries.entry_types[entry_number / 8] |= in encode_slab_journal_entry() 862 ((u8)1 << (entry_number % 8)); in encode_slab_journal_entry() 865 vdo_pack_slab_journal_entry(&payload->entries[entry_number], sbn, increment); in encode_slab_journal_entry() 4484 slab_count_t entry_number; in combine_summaries() local 4486 for (entry_number = 0; entry_number < MAX_VDO_SLABS; entry_number++) { in combine_summaries() 4488 memcpy(entries + entry_number, in combine_summaries() 4489 entries + (zone * MAX_VDO_SLABS) + entry_number, in combine_summaries()
|