Lines Matching defs:ioctl
57 #include <asm/ioctl.h>
120 static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
123 static long kvm_vcpu_compat_ioctl(struct file *file, unsigned int ioctl,
134 static long kvm_no_compat_ioctl(struct file *file, unsigned int ioctl,
1160 /* KVM is pinned via open("/dev/kvm"), the fd passed to this ioctl(). */
4116 unsigned int ioctl, unsigned long arg)
4127 if (unlikely(_IOC_TYPE(ioctl) != KVMIO))
4134 r = kvm_arch_vcpu_async_ioctl(filp, ioctl, arg);
4140 switch (ioctl) {
4317 r = kvm_arch_vcpu_ioctl(filp, ioctl, arg);
4328 unsigned int ioctl, unsigned long arg)
4337 switch (ioctl) {
4361 r = kvm_vcpu_ioctl(filp, ioctl, arg);
4395 static long kvm_device_ioctl(struct file *filp, unsigned int ioctl,
4403 switch (ioctl) {
4411 if (dev->ops->ioctl)
4412 return dev->ops->ioctl(dev, ioctl, arg);
4792 unsigned int ioctl, unsigned long arg)
4800 switch (ioctl) {
4903 ioctl == KVM_IRQ_LINE_STATUS);
4908 if (ioctl == KVM_IRQ_LINE_STATUS) {
4977 r = kvm_arch_vm_ioctl(filp, ioctl, arg);
5003 long __weak kvm_arch_vm_compat_ioctl(struct file *filp, unsigned int ioctl,
5010 unsigned int ioctl, unsigned long arg)
5018 r = kvm_arch_vm_compat_ioctl(filp, ioctl, arg);
5022 switch (ioctl) {
5057 r = kvm_vm_ioctl(filp, ioctl, arg);
5120 unsigned int ioctl, unsigned long arg)
5124 switch (ioctl) {
5153 return kvm_arch_dev_ioctl(filp, ioctl, arg);