Home
last modified time | relevance | path

Searched refs:gate_desc (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
H A 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()
H A 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()
H A Dparavirt_types.h129 void (*write_idt_entry)(gate_desc *,
130 int entrynum, const gate_desc *gate);
H A Dparavirt.h295 static inline void write_idt_entry(gate_desc *dt, int entry, const gate_desc *g) in write_idt_entry()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A 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()
H A Ddesc.h80 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate()
137 static inline void native_write_idt_entry(gate_desc *idt, int entry, const gate_desc *gate) in native_write_idt_entry()
420 static inline void idt_init_desc(gate_desc *gate, const struct idt_data *d) in idt_init_desc()
H A Dparavirt_types.h85 void (*write_idt_entry)(gate_desc *,
86 int entrynum, const gate_desc *gate);
H A Dparavirt.h320 static inline void write_idt_entry(gate_desc *dt, int entry, const gate_desc *g) in write_idt_entry()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A 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()
H A Dhead64.c543 static gate_desc bringup_idt_table[NUM_EXCEPTION_VECTORS] __page_aligned_data;
546 .size = (NUM_EXCEPTION_VECTORS * sizeof(gate_desc)) - 1,
550 static void set_bringup_idt_handler(gate_desc *idt, int n, void *handler) in set_bringup_idt_handler()
554 gate_desc desc; in set_bringup_idt_handler()
566 gate_desc *idt = fixup_pointer(bringup_idt_table, physbase); in startup_64_load_idt()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Didt.c54 #define IDT_TABLE_SIZE (IDT_ENTRIES * sizeof(gate_desc))
166 static gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
187 idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys) in idt_setup_from_table()
189 gate_desc desc; in idt_setup_from_table()
H A Dhead64.c571 static gate_desc bringup_idt_table[NUM_EXCEPTION_VECTORS] __page_aligned_data;
574 .size = (NUM_EXCEPTION_VECTORS * sizeof(gate_desc)) - 1,
578 static void set_bringup_idt_handler(gate_desc *idt, int n, void *handler) in set_bringup_idt_handler()
582 gate_desc desc; in set_bringup_idt_handler()
594 gate_desc *idt = fixup_pointer(bringup_idt_table, physbase); in startup_64_load_idt()
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A Didt_64.c10 gate_desc entry; in set_idt_entry()
H A Dmisc.h154 extern gate_desc boot_idt[BOOT_IDT_ENTRIES];
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A Didt_64.c10 gate_desc entry; in set_idt_entry()
H A Dmisc.h189 extern gate_desc boot_idt[BOOT_IDT_ENTRIES];
/kernel/linux/linux-5.10/include/trace/events/
H A Dxen.h400 TP_PROTO(gate_desc *dt, int entrynum, const gate_desc *ent),
403 __field(gate_desc *, dt)
/kernel/linux/linux-6.6/include/trace/events/
H A Dxen.h400 TP_PROTO(gate_desc *dt, int entrynum, const gate_desc *ent),
403 __field(gate_desc *, dt)
/kernel/linux/linux-5.10/arch/x86/xen/
H A Denlighten_pv.c681 static int cvt_gate_to_trap(int vector, const gate_desc *val, in cvt_gate_to_trap()
710 static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) in xen_write_idt_entry()
744 count = (desc->size+1) / sizeof(gate_desc); in xen_convert_trap_info()
748 gate_desc *entry = (gate_desc *)(desc->address) + in; in xen_convert_trap_info()
/kernel/linux/linux-6.6/arch/x86/xen/
H A Denlighten_pv.c770 static int cvt_gate_to_trap(int vector, const gate_desc *val, in cvt_gate_to_trap()
799 static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) in xen_write_idt_entry()
833 count = (desc->size+1) / sizeof(gate_desc); in xen_convert_trap_info()
837 gate_desc *entry = (gate_desc *)(desc->address) + in; in xen_convert_trap_info()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dvmx.c6529 gate_desc *desc = (gate_desc *)host_idt_base + vector; in handle_external_interrupt_irqoff()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dvmx.c6974 gate_desc *desc = (gate_desc *)host_idt_base + vector; in handle_external_interrupt_irqoff()

Completed in 38 milliseconds