Lines Matching defs:ioctl
56 #include <asm/ioctl.h>
119 static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
122 static long kvm_vcpu_compat_ioctl(struct file *file, unsigned int ioctl,
133 static long kvm_no_compat_ioctl(struct file *file, unsigned int ioctl,
879 * When the fd passed to this ioctl() is opened it pins the module,
3323 unsigned int ioctl, unsigned long arg)
3334 if (unlikely(_IOC_TYPE(ioctl) != KVMIO))
3341 r = kvm_arch_vcpu_async_ioctl(filp, ioctl, arg);
3347 switch (ioctl) {
3520 r = kvm_arch_vcpu_ioctl(filp, ioctl, arg);
3531 unsigned int ioctl, unsigned long arg)
3540 switch (ioctl) {
3564 r = kvm_vcpu_ioctl(filp, ioctl, arg);
3598 static long kvm_device_ioctl(struct file *filp, unsigned int ioctl,
3606 switch (ioctl) {
3614 if (dev->ops->ioctl)
3615 return dev->ops->ioctl(dev, ioctl, arg);
3816 unsigned int ioctl, unsigned long arg)
3824 switch (ioctl) {
3927 ioctl == KVM_IRQ_LINE_STATUS);
3932 if (ioctl == KVM_IRQ_LINE_STATUS) {
3995 r = kvm_arch_vm_ioctl(filp, ioctl, arg);
4021 long __weak kvm_arch_vm_compat_ioctl(struct file *filp, unsigned int ioctl,
4028 unsigned int ioctl, unsigned long arg)
4036 r = kvm_arch_vm_compat_ioctl(filp, ioctl, arg);
4040 switch (ioctl) {
4075 r = kvm_vm_ioctl(filp, ioctl, arg);
4135 unsigned int ioctl, unsigned long arg)
4139 switch (ioctl) {
4168 return kvm_arch_dev_ioctl(filp, ioctl, arg);