Lines Matching refs:KVM_REG_SIZE
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()
637 return copy_to_user(uaddr, &val, KVM_REG_SIZE(reg->id)) ? -EFAULT : 0; in get_timer_reg()