Home
last modified time | relevance | path

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

/virt/kvm/
Dcoalesced_mmio.c36 if (addr < dev->zone.addr) in coalesced_mmio_in_range()
38 if (addr + len > dev->zone.addr + dev->zone.size) in coalesced_mmio_in_range()
89 ring->coalesced_mmio[insert].pio = dev->zone.pio; in coalesced_mmio_write()
138 struct kvm_coalesced_mmio_zone *zone) in kvm_vm_ioctl_register_coalesced_mmio() argument
143 if (zone->pio != 1 && zone->pio != 0) in kvm_vm_ioctl_register_coalesced_mmio()
153 dev->zone = *zone; in kvm_vm_ioctl_register_coalesced_mmio()
157 zone->pio ? KVM_PIO_BUS : KVM_MMIO_BUS, in kvm_vm_ioctl_register_coalesced_mmio()
158 zone->addr, zone->size, &dev->dev); in kvm_vm_ioctl_register_coalesced_mmio()
174 struct kvm_coalesced_mmio_zone *zone) in kvm_vm_ioctl_unregister_coalesced_mmio() argument
179 if (zone->pio != 1 && zone->pio != 0) in kvm_vm_ioctl_unregister_coalesced_mmio()
[all …]
Dcoalesced_mmio.h22 struct kvm_coalesced_mmio_zone zone; member
28 struct kvm_coalesced_mmio_zone *zone);
30 struct kvm_coalesced_mmio_zone *zone);
Dkvm_main.c4517 struct kvm_coalesced_mmio_zone zone; in kvm_vm_ioctl() local
4520 if (copy_from_user(&zone, argp, sizeof(zone))) in kvm_vm_ioctl()
4522 r = kvm_vm_ioctl_register_coalesced_mmio(kvm, &zone); in kvm_vm_ioctl()
4526 struct kvm_coalesced_mmio_zone zone; in kvm_vm_ioctl() local
4529 if (copy_from_user(&zone, argp, sizeof(zone))) in kvm_vm_ioctl()
4531 r = kvm_vm_ioctl_unregister_coalesced_mmio(kvm, &zone); in kvm_vm_ioctl()