Home
last modified time | relevance | path

Searched refs:kvm_pit_state (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/x86/include/asm/
Dkvm.h243 struct kvm_pit_state { struct
/linux-3.4.99/include/linux/
Dkvm.h752 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
753 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
/linux-3.4.99/arch/x86/kvm/
Dx86.c2975 static int kvm_vm_ioctl_get_pit(struct kvm *kvm, struct kvm_pit_state *ps) in kvm_vm_ioctl_get_pit()
2980 memcpy(ps, &kvm->arch.vpit->pit_state, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_get_pit()
2985 static int kvm_vm_ioctl_set_pit(struct kvm *kvm, struct kvm_pit_state *ps) in kvm_vm_ioctl_set_pit()
2990 memcpy(&kvm->arch.vpit->pit_state, ps, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_set_pit()
3159 struct kvm_pit_state ps; in kvm_arch_vm_ioctl()
3327 if (copy_from_user(&u.ps, argp, sizeof(struct kvm_pit_state))) in kvm_arch_vm_ioctl()
3336 if (copy_to_user(argp, &u.ps, sizeof(struct kvm_pit_state))) in kvm_arch_vm_ioctl()