Searched refs:x86_emulate_ctxt (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/arch/x86/kvm/ |
D | kvm_emulate.h | 18 struct x86_emulate_ctxt; 92 void (*vm_bugged)(struct x86_emulate_ctxt *ctxt); 98 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg); 105 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val); 114 int (*read_std)(struct x86_emulate_ctxt *ctxt, 126 int (*read_phys)(struct x86_emulate_ctxt *ctxt, unsigned long addr, 137 int (*write_std)(struct x86_emulate_ctxt *ctxt, 147 int (*fetch)(struct x86_emulate_ctxt *ctxt, 157 int (*read_emulated)(struct x86_emulate_ctxt *ctxt, 168 int (*write_emulated)(struct x86_emulate_ctxt *ctxt, [all …]
|
D | emulate.c | 197 int (*execute)(struct x86_emulate_ctxt *ctxt); 206 int (*check_perm)(struct x86_emulate_ctxt *ctxt); 245 static ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read() 257 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write() 270 static ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw() 276 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers() 285 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers() 321 static int fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop); 496 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept() 541 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask() [all …]
|
D | x86.c | 333 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() 334 unsigned int size = sizeof(struct x86_emulate_ctxt); in kvm_alloc_emulator_cache() 337 __alignof__(struct x86_emulate_ctxt), in kvm_alloc_emulator_cache() 342 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); 7227 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt() 7272 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std() 7287 static int kvm_read_guest_phys_system(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_phys_system() 7326 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std() 7524 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() 7565 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | kvm_host.h | 205 struct x86_emulate_ctxt; 782 struct x86_emulate_ctxt *emulate_ctxt;
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | svm.c | 2227 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in svm_instr_opcode()
|