KVM_REG_SIZE 869 arch/arm/kvm/coproc.c if (copy_from_user(val, uaddr, KVM_REG_SIZE(id)) != 0) KVM_REG_SIZE 880 arch/arm/kvm/coproc.c if (copy_to_user(uaddr, val, KVM_REG_SIZE(id)) != 0) KVM_REG_SIZE 899 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) == 4) { KVM_REG_SIZE 903 arch/arm/kvm/coproc.c } else if (KVM_REG_SIZE(id) == 8) { KVM_REG_SIZE 923 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) == 4) { KVM_REG_SIZE 929 arch/arm/kvm/coproc.c } else if (KVM_REG_SIZE(id) == 8) { KVM_REG_SIZE 997 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) != 4) KVM_REG_SIZE 1022 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) != 4) KVM_REG_SIZE 1097 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) != 8) KVM_REG_SIZE 1104 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) != 4) KVM_REG_SIZE 1141 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) != 8) KVM_REG_SIZE 1148 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(id) != 4) KVM_REG_SIZE 1222 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(reg->id) == 8) { KVM_REG_SIZE 1227 arch/arm/kvm/coproc.c } else if (KVM_REG_SIZE(reg->id) == 4) { KVM_REG_SIZE 1251 arch/arm/kvm/coproc.c if (KVM_REG_SIZE(reg->id) == 8) { KVM_REG_SIZE 1257 arch/arm/kvm/coproc.c } else if (KVM_REG_SIZE(reg->id) == 4) { KVM_REG_SIZE 49 arch/arm/kvm/guest.c if (KVM_REG_SIZE(reg->id) != 4) KVM_REG_SIZE 54 arch/arm/kvm/guest.c if (off >= sizeof(*regs) / KVM_REG_SIZE(reg->id)) KVM_REG_SIZE 66 arch/arm/kvm/guest.c if (KVM_REG_SIZE(reg->id) != 4) KVM_REG_SIZE 71 arch/arm/kvm/guest.c if (off >= sizeof(*regs) / KVM_REG_SIZE(reg->id)) KVM_REG_SIZE 139 arch/arm/kvm/guest.c ret = copy_from_user(&val, uaddr, KVM_REG_SIZE(reg->id)); KVM_REG_SIZE 152 arch/arm/kvm/guest.c return copy_to_user(uaddr, &val, KVM_REG_SIZE(reg->id)) ? -EFAULT : 0; KVM_REG_SIZE 116 arch/arm64/kvm/guest.c if (KVM_REG_SIZE(reg->id) != size) KVM_REG_SIZE 138 arch/arm64/kvm/guest.c (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) KVM_REG_SIZE 144 arch/arm64/kvm/guest.c if (copy_to_user(uaddr, ((u32 *)regs) + off, KVM_REG_SIZE(reg->id))) KVM_REG_SIZE 163 arch/arm64/kvm/guest.c (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) KVM_REG_SIZE 169 arch/arm64/kvm/guest.c if (KVM_REG_SIZE(reg->id) > sizeof(tmp)) KVM_REG_SIZE 172 arch/arm64/kvm/guest.c if (copy_from_user(valp, uaddr, KVM_REG_SIZE(reg->id))) { KVM_REG_SIZE 204 arch/arm64/kvm/guest.c memcpy((u32 *)regs + off, valp, KVM_REG_SIZE(reg->id)); KVM_REG_SIZE 303 arch/arm64/kvm/guest.c #define KVM_SVE_ZREG_SIZE KVM_REG_SIZE(KVM_REG_ARM64_SVE_ZREG(0, 0)) KVM_REG_SIZE 304 arch/arm64/kvm/guest.c #define KVM_SVE_PREG_SIZE KVM_REG_SIZE(KVM_REG_ARM64_SVE_PREG(0, 0)) KVM_REG_SIZE 538 arch/arm64/kvm/guest.c ret = copy_from_user(&val, uaddr, KVM_REG_SIZE(reg->id)); KVM_REG_SIZE 551 arch/arm64/kvm/guest.c return copy_to_user(uaddr, &val, KVM_REG_SIZE(reg->id)) ? -EFAULT : 0; KVM_REG_SIZE 452 arch/arm64/kvm/sys_regs.c if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 462 arch/arm64/kvm/sys_regs.c if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 494 arch/arm64/kvm/sys_regs.c if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 505 arch/arm64/kvm/sys_regs.c if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 538 arch/arm64/kvm/sys_regs.c if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 548 arch/arm64/kvm/sys_regs.c if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 580 arch/arm64/kvm/sys_regs.c if (copy_from_user(r, uaddr, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 590 arch/arm64/kvm/sys_regs.c if (copy_to_user(uaddr, r, KVM_REG_SIZE(reg->id)) != 0) KVM_REG_SIZE 2420 arch/arm64/kvm/sys_regs.c if (copy_from_user(val, uaddr, KVM_REG_SIZE(id)) != 0) KVM_REG_SIZE 2427 arch/arm64/kvm/sys_regs.c if (copy_to_user(uaddr, val, KVM_REG_SIZE(id)) != 0) KVM_REG_SIZE 2506 arch/arm64/kvm/sys_regs.c if (KVM_REG_SIZE(id) != 4) KVM_REG_SIZE 2531 arch/arm64/kvm/sys_regs.c if (KVM_REG_SIZE(id) != 4) KVM_REG_SIZE 2558 arch/arm64/kvm/sys_regs.c if (KVM_REG_SIZE(reg->id) != sizeof(__u64)) KVM_REG_SIZE 2583 arch/arm64/kvm/sys_regs.c if (KVM_REG_SIZE(reg->id) != sizeof(__u64)) KVM_REG_SIZE 519 virt/kvm/arm/psci.c if (copy_to_user(uaddr, &val, KVM_REG_SIZE(reg->id))) KVM_REG_SIZE 531 virt/kvm/arm/psci.c if (copy_from_user(&val, uaddr, KVM_REG_SIZE(reg->id)))