Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Ddesc_defs.h95 typedef struct gate_struct gate_desc; typedef
97 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset()
107 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment()
Ddesc.h79 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate()
136 static inline void native_write_idt_entry(gate_desc *idt, int entry, const gate_desc *gate) in native_write_idt_entry()
399 static inline void idt_init_desc(gate_desc *gate, const struct idt_data *d) in idt_init_desc()
Dparavirt_types.h129 void (*write_idt_entry)(gate_desc *,
130 int entrynum, const gate_desc *gate);
Dparavirt.h295 static inline void write_idt_entry(gate_desc *dt, int entry, const gate_desc *g) in write_idt_entry()
/Linux-v5.10/arch/x86/kernel/
Didt.c49 #define IDT_TABLE_SIZE (IDT_ENTRIES * sizeof(gate_desc))
151 static gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
172 idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys) in idt_setup_from_table()
174 gate_desc desc; in idt_setup_from_table()
Dhead64.c541 static gate_desc bringup_idt_table[NUM_EXCEPTION_VECTORS] __page_aligned_data;
544 .size = (NUM_EXCEPTION_VECTORS * sizeof(gate_desc)) - 1,
548 static void set_bringup_idt_handler(gate_desc *idt, int n, void *handler) in set_bringup_idt_handler()
552 gate_desc desc; in set_bringup_idt_handler()
564 gate_desc *idt = fixup_pointer(bringup_idt_table, physbase); in startup_64_load_idt()
/Linux-v5.10/arch/x86/boot/compressed/
Didt_64.c10 gate_desc entry; in set_idt_entry()
Dmisc.h154 extern gate_desc boot_idt[BOOT_IDT_ENTRIES];
/Linux-v5.10/arch/x86/xen/
Denlighten_pv.c666 static int cvt_gate_to_trap(int vector, const gate_desc *val, in cvt_gate_to_trap()
695 static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) in xen_write_idt_entry()
729 count = (desc->size+1) / sizeof(gate_desc); in xen_convert_trap_info()
733 gate_desc *entry = (gate_desc *)(desc->address) + in; in xen_convert_trap_info()
/Linux-v5.10/include/trace/events/
Dxen.h400 TP_PROTO(gate_desc *dt, int entrynum, const gate_desc *ent),
403 __field(gate_desc *, dt)
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c6359 gate_desc *desc = (gate_desc *)host_idt_base + vector; in handle_interrupt_nmi_irqoff()