Searched refs:KVM_REG_SIZE (Results 1 – 4 of 4) sorted by relevance
/arch/arm64/kvm/ |
D | guest.c | 128 if (KVM_REG_SIZE(reg->id) != size) in core_reg_addr() 201 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in get_core_reg() 208 if (copy_to_user(uaddr, addr, KVM_REG_SIZE(reg->id))) in get_core_reg() 226 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in set_core_reg() 233 if (KVM_REG_SIZE(reg->id) > sizeof(tmp)) in set_core_reg() 236 if (copy_from_user(valp, uaddr, KVM_REG_SIZE(reg->id))) { in set_core_reg() 268 memcpy(addr, valp, KVM_REG_SIZE(reg->id)); in set_core_reg() 389 #define KVM_SVE_ZREG_SIZE KVM_REG_SIZE(KVM_REG_ARM64_SVE_ZREG(0, 0)) 390 #define KVM_SVE_PREG_SIZE KVM_REG_SIZE(KVM_REG_ARM64_SVE_PREG(0, 0)) 624 ret = copy_from_user(&val, uaddr, KVM_REG_SIZE(reg->id)); in set_timer_reg() [all …]
|
D | psci.c | 508 if (copy_to_user(uaddr, &val, KVM_REG_SIZE(reg->id))) in kvm_arm_get_fw_reg() 520 if (KVM_REG_SIZE(reg->id) != sizeof(val)) in kvm_arm_set_fw_reg() 522 if (copy_from_user(&val, uaddr, KVM_REG_SIZE(reg->id))) in kvm_arm_set_fw_reg()
|
D | sys_regs.c | 395 if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) in set_bvr() 405 if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) in get_bvr() 437 if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) in set_bcr() 448 if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) in get_bcr() 481 if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) in set_wvr() 491 if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) in get_wvr() 523 if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) in set_wcr() 533 if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) in get_wcr() 2487 if (copy_from_user(val, uaddr, KVM_REG_SIZE(id)) != 0) in reg_from_user() 2494 if (copy_to_user(uaddr, val, KVM_REG_SIZE(id)) != 0) in reg_to_user() [all …]
|
/arch/arm64/include/uapi/asm/ |
D | kvm.h | 47 #define KVM_REG_SIZE(id) \ macro
|