Lines Matching refs:events
1415 struct kvm_vcpu_events *events) in kvm_arm_vcpu_get_events() argument
1417 memset(events, 0, sizeof(*events)); in kvm_arm_vcpu_get_events()
1419 return __kvm_arm_vcpu_get_events(vcpu, events); in kvm_arm_vcpu_get_events()
1423 struct kvm_vcpu_events *events) in kvm_arm_vcpu_set_events() argument
1428 for (i = 0; i < ARRAY_SIZE(events->reserved); i++) in kvm_arm_vcpu_set_events()
1429 if (events->reserved[i]) in kvm_arm_vcpu_set_events()
1433 for (i = 0; i < ARRAY_SIZE(events->exception.pad); i++) in kvm_arm_vcpu_set_events()
1434 if (events->exception.pad[i]) in kvm_arm_vcpu_set_events()
1437 return __kvm_arm_vcpu_set_events(vcpu, events); in kvm_arm_vcpu_set_events()
1533 struct kvm_vcpu_events events; in kvm_arch_vcpu_ioctl() local
1535 if (kvm_arm_vcpu_get_events(vcpu, &events)) in kvm_arch_vcpu_ioctl()
1538 if (copy_to_user(argp, &events, sizeof(events))) in kvm_arch_vcpu_ioctl()
1544 struct kvm_vcpu_events events; in kvm_arch_vcpu_ioctl() local
1546 if (copy_from_user(&events, argp, sizeof(events))) in kvm_arch_vcpu_ioctl()
1549 return kvm_arm_vcpu_set_events(vcpu, &events); in kvm_arch_vcpu_ioctl()