Home
last modified time | relevance | path

Searched refs:core_off (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/aarch64/
H A Dget-reg-list.c89 __u64 core_off = id & ~REG_MASK, idx; in core_id_to_str() local
92 * core_off is the offset into struct kvm_regs in core_id_to_str()
94 switch (core_off) { in core_id_to_str()
97 idx = (core_off - KVM_REG_ARM_CORE_REG(regs.regs[0])) / CORE_REGS_XX_NR_WORDS; in core_id_to_str()
112 idx = (core_off - KVM_REG_ARM_CORE_REG(spsr[0])) / CORE_SPSR_XX_NR_WORDS; in core_id_to_str()
117 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str()
251 __u64 id, core_off; in core_reg_fixup() local
264 core_off = id & ~REG_MASK; in core_reg_fixup()
266 switch (core_off) { in core_reg_fixup()
275 if (core_off in core_reg_fixup()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dget-reg-list.c108 __u64 core_off = id & ~REG_MASK, idx; in core_id_to_str() local
111 * core_off is the offset into struct kvm_regs in core_id_to_str()
113 switch (core_off) { in core_id_to_str()
116 idx = (core_off - KVM_REG_ARM_CORE_REG(regs.regs[0])) / CORE_REGS_XX_NR_WORDS; in core_id_to_str()
131 idx = (core_off - KVM_REG_ARM_CORE_REG(spsr[0])) / CORE_SPSR_XX_NR_WORDS; in core_id_to_str()
136 idx = (core_off - KVM_REG_ARM_CORE_REG(fp_regs.vregs[0])) / CORE_FPREGS_XX_NR_WORDS; in core_id_to_str()

Completed in 2 milliseconds