Searched refs:uaddr (Results 1 – 2 of 2) sorted by relevance
779 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v2_set_attr() local782 if (get_user(reg, uaddr)) in vgic_v2_set_attr()805 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v2_get_attr() local811 return put_user(reg, uaddr); in vgic_v2_get_attr()
2268 u64 __user *uaddr = (u64 __user *)(long)attr->addr; in vgic_set_common_attr() local2272 if (copy_from_user(&addr, uaddr, sizeof(addr))) in vgic_set_common_attr()2279 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_set_common_attr() local2283 if (get_user(val, uaddr)) in vgic_set_common_attr()2327 u64 __user *uaddr = (u64 __user *)(long)attr->addr; in vgic_get_common_attr() local2335 if (copy_to_user(uaddr, &addr, sizeof(addr))) in vgic_get_common_attr()2340 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_get_common_attr() local2342 r = put_user(dev->kvm->arch.vgic.nr_irqs, uaddr); in vgic_get_common_attr()