Searched refs:x86_emulate_ctxt (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/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() 311 static int fastop(struct x86_emulate_ctxt *ctxt, fastop_t fop); 501 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept() 546 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask() [all …]
|
D | x86.c | 342 unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src); in kvm_alloc_emulator_cache() 343 unsigned int size = sizeof(struct x86_emulate_ctxt); in kvm_alloc_emulator_cache() 346 __alignof__(struct x86_emulate_ctxt), in kvm_alloc_emulator_cache() 351 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); 6931 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt() 6976 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std() 6991 static int kvm_read_guest_phys_system(struct x86_emulate_ctxt *ctxt, in kvm_read_guest_phys_system() 7030 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std() 7225 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() 7266 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write() [all …]
|
/linux-5.19.10/arch/x86/include/asm/ |
D | kvm_host.h | 203 struct x86_emulate_ctxt; 752 struct x86_emulate_ctxt *emulate_ctxt;
|
/linux-5.19.10/arch/x86/kvm/svm/ |
D | svm.c | 2136 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in svm_instr_opcode()
|