Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/
Ddesc_defs.h88 typedef struct gate_struct gate_desc; typedef
90 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset()
100 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment()
Ddesc.h44 extern gate_desc idt_table[];
46 extern gate_desc debug_idt_table[];
84 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate()
141 static inline void native_write_idt_entry(gate_desc *idt, int entry, const gate_desc *gate) in native_write_idt_entry()
Dparavirt_types.h136 void (*write_idt_entry)(gate_desc *,
137 int entrynum, const gate_desc *gate);
Dparavirt.h293 static inline void write_idt_entry(gate_desc *dt, int entry, const gate_desc *g) in write_idt_entry()
/Linux-v5.4/arch/x86/kernel/
Didt.c169 gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
178 gate_desc debug_idt_table[IDT_ENTRIES] __page_aligned_bss;
203 static inline void idt_init_desc(gate_desc *gate, const struct idt_data *d) in idt_init_desc()
218 idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys) in idt_setup_from_table()
220 gate_desc desc; in idt_setup_from_table()
/Linux-v5.4/arch/x86/xen/
Denlighten_pv.c670 static int cvt_gate_to_trap(int vector, const gate_desc *val, in cvt_gate_to_trap()
701 static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) in xen_write_idt_entry()
735 count = (desc->size+1) / sizeof(gate_desc); in xen_convert_trap_info()
739 gate_desc *entry = (gate_desc *)(desc->address) + in; in xen_convert_trap_info()
/Linux-v5.4/include/trace/events/
Dxen.h416 TP_PROTO(gate_desc *dt, int entrynum, const gate_desc *ent),
419 __field(gate_desc *, dt)
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c6236 gate_desc *desc; in handle_external_interrupt_irqoff()
6245 desc = (gate_desc *)host_idt_base + vector; in handle_external_interrupt_irqoff()