Home
last modified time | relevance | path

Searched refs:desc_ptr (Results 1 – 25 of 25) sorted by relevance

/arch/x86/include/asm/
Dsuspend_32.h25 struct desc_ptr gdt_desc;
26 struct desc_ptr idt;
Dsuspend_64.h46 struct desc_ptr gdt_desc;
48 struct desc_ptr idt;
Ddesc.h207 static inline void native_load_gdt(const struct desc_ptr *dtr) in native_load_gdt()
212 static __always_inline void native_load_idt(const struct desc_ptr *dtr) in native_load_idt()
217 static inline void native_store_gdt(struct desc_ptr *dtr) in native_store_gdt()
222 static inline void store_idt(struct desc_ptr *dtr) in store_idt()
235 struct desc_ptr gdt; in native_load_tr_desc()
Ddesc_defs.h112 struct desc_ptr { struct
Dparavirt_types.h50 struct desc_ptr;
119 void (*load_gdt)(const struct desc_ptr *);
120 void (*load_idt)(const struct desc_ptr *);
Dkvm_host.h1128 void (*get_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
1129 void (*set_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
1130 void (*get_gdt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
1131 void (*set_gdt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
Dparavirt.h255 static inline void load_gdt(const struct desc_ptr *dtr) in load_gdt()
259 static inline void load_idt(const struct desc_ptr *dtr) in load_idt()
Dprocessor.h678 extern struct desc_ptr early_gdt_descr;
/arch/x86/kvm/
Dkvm_emulate.h201 void (*get_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
202 void (*get_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
203 void (*set_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
204 void (*set_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
Demulate.c1596 struct desc_ptr dt; in read_interrupt_descriptor()
1609 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr()
1632 struct desc_ptr dt; in get_descriptor_ptr()
2131 struct desc_ptr dt; in __emulate_int_real()
2541 struct desc_ptr dt; in rsm_load_state_32()
2602 struct desc_ptr dt; in rsm_load_state_64()
3909 struct desc_ptr *ptr)) in emulate_store_desc_ptr()
3911 struct desc_ptr desc_ptr; in emulate_store_desc_ptr() local
3919 get(ctxt, &desc_ptr); in emulate_store_desc_ptr()
3922 desc_ptr.address &= 0x00ffffff; in emulate_store_desc_ptr()
[all …]
Dx86.c6861 static void emulator_get_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_get_gdt()
6866 static void emulator_get_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_get_idt()
6871 static void emulator_set_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_set_gdt()
6876 static void emulator_set_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_set_idt()
8727 struct desc_ptr dt; in enter_smm_save_state_32()
8778 struct desc_ptr dt; in enter_smm_save_state_64()
8833 struct desc_ptr dt; in enter_smm()
9764 struct desc_ptr dt; in __get_sregs()
9915 struct desc_ptr dt; in __set_sregs()
/arch/x86/boot/compressed/
Didt_64.c25 static void load_boot_idt(const struct desc_ptr *dtr) in load_boot_idt()
Dmisc.h156 extern struct desc_ptr boot_idt_desc;
/arch/x86/kernel/
Dhead64.c82 static struct desc_ptr startup_gdt_descr = {
545 static struct desc_ptr bringup_idt_descr = {
565 struct desc_ptr *desc = fixup_pointer(&bringup_idt_descr, physbase); in startup_64_load_idt()
Didt.c153 static struct desc_ptr idt_descr __ro_after_init = {
338 struct desc_ptr idt = { .address = (unsigned long) addr, .size = 0 }; in idt_invalidate()
Dmachine_kexec_32.c28 struct desc_ptr curgdt; in set_gdt()
Dmachine_kexec_64.c261 struct desc_ptr curidt; in set_idt()
276 struct desc_ptr curgdt; in set_gdt()
/arch/x86/platform/efi/
Defi_32.c100 struct desc_ptr gdt_descr; in efi_set_virtual_address_map()
/arch/x86/kernel/acpi/
Dsleep.c72 native_store_gdt((struct desc_ptr *)&header->pmode_gdt); in x86_acpi_suspend_lowlevel()
/arch/x86/xen/
Denlighten_pv.c438 static void xen_load_gdt(const struct desc_ptr *dtr) in xen_load_gdt()
475 static void __init xen_load_gdt_boot(const struct desc_ptr *dtr) in xen_load_gdt_boot()
706 static DEFINE_PER_CPU(struct desc_ptr, idt_desc);
739 static unsigned xen_convert_trap_info(const struct desc_ptr *desc, in xen_convert_trap_info()
759 const struct desc_ptr *desc = this_cpu_ptr(&idt_desc); in xen_copy_trap_info()
767 static void xen_load_idt(const struct desc_ptr *desc) in xen_load_idt()
/arch/x86/mm/
Dfault.c483 static void show_ldttss(const struct desc_ptr *gdt, const char *name, u16 index) in show_ldttss()
560 struct desc_ptr idt, gdt; in show_fault_oops()
/arch/x86/lib/
Dinsn-eval.c605 struct desc_ptr gdt_desc = {0, 0}; in get_desc()
/arch/x86/kernel/cpu/
Dcommon.c614 struct desc_ptr gdt_descr; in load_direct_gdt()
625 struct desc_ptr gdt_descr; in load_fixmap_gdt()
/arch/x86/kvm/svm/
Dsvm.c1605 static void svm_get_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_get_idt()
1613 static void svm_set_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_set_idt()
1622 static void svm_get_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_get_gdt()
1630 static void svm_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_set_gdt()
/arch/x86/kvm/vmx/
Dvmx.c3412 static void vmx_get_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_get_idt()
3418 static void vmx_set_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_set_idt()
3424 static void vmx_get_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_get_gdt()
3430 static void vmx_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_set_gdt()
7926 struct desc_ptr dt; in hardware_setup()