Home
last modified time | relevance | path

Searched refs:get_cpu_gdt_rw (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/pnp/pnpbios/
Dbioscalls.c58 struct desc_struct *gdt = get_cpu_gdt_rw((cpu)); \
99 save_desc_40 = get_cpu_gdt_rw(cpu)[0x40 / 8]; in call_pnp_bios()
100 get_cpu_gdt_rw(cpu)[0x40 / 8] = bad_bios_desc; in call_pnp_bios()
138 get_cpu_gdt_rw(cpu)[0x40 / 8] = save_desc_40; in call_pnp_bios()
480 struct desc_struct *gdt = get_cpu_gdt_rw(i); in pnpbios_calls_init()
/linux-6.1.9/arch/x86/include/asm/
Ddesc.h51 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu) in get_cpu_gdt_rw() function
77 return per_cpu_ptr_to_phys(get_cpu_gdt_rw(cpu)); in get_cpu_gdt_paddr()
182 struct desc_struct *d = get_cpu_gdt_rw(cpu); in __set_tss_desc()
202 write_gdt_entry(get_cpu_gdt_rw(cpu), GDT_ENTRY_LDT, in native_set_ldt()
294 struct desc_struct *gdt = get_cpu_gdt_rw(cpu); in native_load_tls()
/linux-6.1.9/arch/x86/power/
Dcpu.c97 ctxt->gdt_desc.address = (unsigned long)get_cpu_gdt_rw(smp_processor_id()); in __save_processor_state()
153 struct desc_struct *desc = get_cpu_gdt_rw(cpu); in fix_processor_context()
/linux-6.1.9/arch/x86/kernel/acpi/
Dsleep.c116 (unsigned long)get_cpu_gdt_rw(smp_processor_id()); in x86_acpi_suspend_lowlevel()
/linux-6.1.9/arch/x86/kernel/
Dsetup_percpu.c115 write_gdt_entry(get_cpu_gdt_rw(cpu), GDT_ENTRY_PERCPU, &d, DESCTYPE_S); in setup_percpu_segment()
Dhw_breakpoint.c288 if (within_area(addr, end, (unsigned long)get_cpu_gdt_rw(cpu), in within_cpu_entry()
Dapm_32.c606 gdt = get_cpu_gdt_rw(cpu); in __apm_bios_call()
687 gdt = get_cpu_gdt_rw(cpu); in __apm_bios_call_simple()
2347 gdt = get_cpu_gdt_rw(0); in apm_init()
Dsmpboot.c1087 early_gdt_descr.address = (unsigned long)get_cpu_gdt_rw(cpu); in do_boot_cpu()
/linux-6.1.9/arch/x86/xen/
Dsmp_pv.c269 gdt = get_cpu_gdt_rw(cpu); in cpu_initialize_context()
Denlighten_pv.c502 gdt = get_cpu_gdt_rw(cpu); in load_TLS_descriptor()
/linux-6.1.9/drivers/misc/lkdtm/
Dbugs.c538 write_gdt_entry(get_cpu_gdt_rw(smp_processor_id()), in lkdtm_DOUBLE_FAULT()
/linux-6.1.9/arch/x86/kernel/cpu/
Dcommon.c724 gdt_descr.address = (long)get_cpu_gdt_rw(cpu); in load_direct_gdt()
2150 write_gdt_entry(get_cpu_gdt_rw(cpu), GDT_ENTRY_CPUNODE, &d, DESCTYPE_S); in setup_getcpu()