Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/arch/x86/power/
Dcpu.c98 ctxt->gdt_desc.address = (unsigned long)get_cpu_gdt_rw(smp_processor_id()); in __save_processor_state()
154 struct desc_struct *desc = get_cpu_gdt_rw(cpu); in fix_processor_context()
/linux-6.6.21/arch/x86/kernel/
Dsetup_percpu.c112 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.c600 gdt = get_cpu_gdt_rw(cpu); in __apm_bios_call()
681 gdt = get_cpu_gdt_rw(cpu); in __apm_bios_call_simple()
2341 gdt = get_cpu_gdt_rw(0); in apm_init()
Dsmpboot.c999 early_gdt_descr.address = (unsigned long)get_cpu_gdt_rw(cpu); in do_boot_cpu()
/linux-6.6.21/arch/x86/xen/
Dsmp_pv.c268 gdt = get_cpu_gdt_rw(cpu); in cpu_initialize_context()
Denlighten_pv.c583 gdt = get_cpu_gdt_rw(cpu); in load_TLS_descriptor()
/linux-6.6.21/drivers/misc/lkdtm/
Dbugs.c579 write_gdt_entry(get_cpu_gdt_rw(smp_processor_id()), in lkdtm_DOUBLE_FAULT()
/linux-6.6.21/arch/x86/kernel/cpu/
Dcommon.c720 gdt_descr.address = (long)get_cpu_gdt_rw(cpu); in load_direct_gdt()
2172 write_gdt_entry(get_cpu_gdt_rw(cpu), GDT_ENTRY_CPUNODE, &d, DESCTYPE_S); in setup_getcpu()