Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/
Dkvm_emulate.h293 #define NR_EMULATOR_GPRS 16 macro
295 #define NR_EMULATOR_GPRS 8 macro
360 unsigned long _regs[NR_EMULATOR_GPRS];
512 if (KVM_EMULATOR_BUG_ON(nr >= NR_EMULATOR_GPRS, ctxt)) in reg_read()
513 nr &= NR_EMULATOR_GPRS - 1; in reg_read()
524 if (KVM_EMULATOR_BUG_ON(nr >= NR_EMULATOR_GPRS, ctxt)) in reg_write()
525 nr &= NR_EMULATOR_GPRS - 1; in reg_write()
527 BUILD_BUG_ON(sizeof(ctxt->regs_dirty) * BITS_PER_BYTE < NR_EMULATOR_GPRS); in reg_write()
528 BUILD_BUG_ON(sizeof(ctxt->regs_valid) * BITS_PER_BYTE < NR_EMULATOR_GPRS); in reg_write()
Demulate.c251 for_each_set_bit(reg, &dirty, NR_EMULATOR_GPRS) in writeback_registers()