Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dsuspend_32.h23 struct desc_ptr gdt_desc;
24 struct desc_ptr idt;
Dsuspend_64.h46 struct desc_ptr gdt_desc;
48 struct desc_ptr idt;
Ddesc.h208 static inline void native_load_gdt(const struct desc_ptr *dtr) in native_load_gdt()
213 static __always_inline void native_load_idt(const struct desc_ptr *dtr) in native_load_idt()
218 static inline void native_store_gdt(struct desc_ptr *dtr) in native_store_gdt()
223 static inline void store_idt(struct desc_ptr *dtr) in store_idt()
230 const struct desc_ptr invalid_gdt = { in native_gdt_invalidate()
240 const struct desc_ptr invalid_idt = { in native_idt_invalidate()
256 struct desc_ptr gdt; in native_load_tr_desc()
Ddesc_defs.h112 struct desc_ptr { struct
Dparavirt_types.h44 struct desc_ptr;
95 void (*load_gdt)(const struct desc_ptr *);
96 void (*load_idt)(const struct desc_ptr *);
Dparavirt.h272 static inline void load_gdt(const struct desc_ptr *dtr) in load_gdt()
276 static inline void load_idt(const struct desc_ptr *dtr) in load_idt()
Dkvm_host.h1342 void (*get_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
1343 void (*set_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
1344 void (*get_gdt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
1345 void (*set_gdt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
Dprocessor.h671 extern struct desc_ptr early_gdt_descr;
/arch/x86/kvm/
Dkvm_emulate.h202 void (*get_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
203 void (*get_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
204 void (*set_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
205 void (*set_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
Demulate.c1493 struct desc_ptr dt; in read_interrupt_descriptor()
1506 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr()
1529 struct desc_ptr dt; in get_descriptor_ptr()
2028 struct desc_ptr dt; in __emulate_int_real()
2438 struct desc_ptr dt; in rsm_load_state_32()
2499 struct desc_ptr dt; in rsm_load_state_64()
3813 struct desc_ptr *ptr)) in emulate_store_desc_ptr()
3815 struct desc_ptr desc_ptr; in emulate_store_desc_ptr() local
3823 get(ctxt, &desc_ptr); in emulate_store_desc_ptr()
3826 desc_ptr.address &= 0x00ffffff; in emulate_store_desc_ptr()
[all …]
Dx86.c7356 static void emulator_get_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_get_gdt()
7361 static void emulator_get_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_get_idt()
7366 static void emulator_set_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_set_gdt()
7371 static void emulator_set_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) in emulator_set_idt()
9312 struct desc_ptr dt; in enter_smm_save_state_32()
9363 struct desc_ptr dt; in enter_smm_save_state_64()
9418 struct desc_ptr dt; in enter_smm()
10439 struct desc_ptr dt; in __get_sregs_common()
10624 struct desc_ptr dt; in __set_sregs_common()
/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.c81 static struct desc_ptr startup_gdt_descr = {
544 static struct desc_ptr bringup_idt_descr = {
564 struct desc_ptr *desc = fixup_pointer(&bringup_idt_descr, physbase); in startup_64_load_idt()
Didt.c161 static struct desc_ptr idt_descr __ro_after_init = {
321 static const struct desc_ptr idt = { .address = 0, .size = 0 }; in idt_invalidate()
/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.c409 static void xen_load_gdt(const struct desc_ptr *dtr) in xen_load_gdt()
446 static void __init xen_load_gdt_boot(const struct desc_ptr *dtr) in xen_load_gdt_boot()
697 static DEFINE_PER_CPU(struct desc_ptr, idt_desc);
730 static unsigned xen_convert_trap_info(const struct desc_ptr *desc, in xen_convert_trap_info()
750 const struct desc_ptr *desc = this_cpu_ptr(&idt_desc); in xen_copy_trap_info()
758 static void xen_load_idt(const struct desc_ptr *desc) in xen_load_idt()
/arch/x86/mm/
Dfault.c475 static void show_ldttss(const struct desc_ptr *gdt, const char *name, u16 index) in show_ldttss()
552 struct desc_ptr idt, gdt; in show_fault_oops()
/arch/x86/kernel/cpu/
Dcommon.c618 struct desc_ptr gdt_descr; in load_direct_gdt()
629 struct desc_ptr gdt_descr; in load_fixmap_gdt()
/arch/x86/lib/
Dinsn-eval.c624 struct desc_ptr gdt_desc = {0, 0}; in get_desc()
/arch/x86/kvm/svm/
Dsvm.c1707 static void svm_get_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_get_idt()
1715 static void svm_set_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_set_idt()
1724 static void svm_get_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_get_gdt()
1732 static void svm_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in svm_set_gdt()
/arch/x86/kvm/vmx/
Dvmx.c3447 static void vmx_get_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_get_idt()
3453 static void vmx_set_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_set_idt()
3459 static void vmx_get_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_get_gdt()
3465 static void vmx_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) in vmx_set_gdt()
7917 struct desc_ptr dt; in hardware_setup()