Searched refs:x86_emulate_ctxt (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/arch/x86/kvm/ |
| D | kvm_emulate.h | 18 struct x86_emulate_ctxt; 97 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg); 104 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val); 113 int (*read_std)(struct x86_emulate_ctxt *ctxt, 125 int (*read_phys)(struct x86_emulate_ctxt *ctxt, unsigned long addr, 136 int (*write_std)(struct x86_emulate_ctxt *ctxt, 146 int (*fetch)(struct x86_emulate_ctxt *ctxt, 156 int (*read_emulated)(struct x86_emulate_ctxt *ctxt, 167 int (*write_emulated)(struct x86_emulate_ctxt *ctxt, 180 int (*cmpxchg_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() 254 static ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write() 261 static ulong *reg_rmw(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_rmw() 267 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers() 275 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers() 307 static int fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop); 486 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept() 531 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask() [all …]
|
| D | x86.c | 323 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() 324 unsigned int size = sizeof(struct x86_emulate_ctxt); in kvm_alloc_emulator_cache() 327 __alignof__(struct x86_emulate_ctxt), in kvm_alloc_emulator_cache() 332 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); 6409 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt() 6453 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std() 6466 static int kvm_read_guest_phys_system(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_phys_system() 6506 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std() 6691 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() 6732 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write() [all …]
|
| /Linux-v5.15/arch/x86/include/asm/ |
| D | kvm_host.h | 201 struct x86_emulate_ctxt; 737 struct x86_emulate_ctxt *emulate_ctxt;
|
| /Linux-v5.15/arch/x86/kvm/svm/ |
| D | svm.c | 2165 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in svm_instr_opcode()
|