Home
last modified time | relevance | path

Searched refs:NR_EMULATOR_GPRS (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/x86/kvm/
Dkvm_emulate.h312 #define NR_EMULATOR_GPRS 16 macro
314 #define NR_EMULATOR_GPRS 8 macro
379 unsigned long _regs[NR_EMULATOR_GPRS];
Demulate.c247 if (KVM_EMULATOR_BUG_ON(nr >= NR_EMULATOR_GPRS, ctxt)) in reg_read()
248 nr &= NR_EMULATOR_GPRS - 1; in reg_read()
259 if (KVM_EMULATOR_BUG_ON(nr >= NR_EMULATOR_GPRS, ctxt)) in reg_write()
260 nr &= NR_EMULATOR_GPRS - 1; in reg_write()
262 BUILD_BUG_ON(sizeof(ctxt->regs_dirty) * BITS_PER_BYTE < NR_EMULATOR_GPRS); in reg_write()
263 BUILD_BUG_ON(sizeof(ctxt->regs_valid) * BITS_PER_BYTE < NR_EMULATOR_GPRS); in reg_write()
281 for_each_set_bit(reg, &dirty, NR_EMULATOR_GPRS) in writeback_registers()