Searched refs:range (Results 1 – 2 of 2) sorted by relevance
/virt/kvm/ |
D | kvm_main.c | 3174 struct kvm_io_device *pos = bus->range[i].dev; in kvm_io_bus_destroy() 3214 bus->range[bus->dev_count++] = (struct kvm_io_range) { in kvm_io_bus_insert_dev() 3220 sort(bus->range, bus->dev_count, sizeof(struct kvm_io_range), in kvm_io_bus_insert_dev() 3229 struct kvm_io_range *range, key; in kvm_io_bus_get_first_dev() local 3237 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev() 3239 if (range == NULL) in kvm_io_bus_get_first_dev() 3242 off = range - bus->range; in kvm_io_bus_get_first_dev() 3244 while (off > 0 && kvm_io_bus_cmp(&key, &bus->range[off-1]) == 0) in kvm_io_bus_get_first_dev() 3251 struct kvm_io_range *range, const void *val) in __kvm_io_bus_write() argument 3255 idx = kvm_io_bus_get_first_dev(bus, range->addr, range->len); in __kvm_io_bus_write() [all …]
|
/virt/kvm/arm/ |
D | vgic.c | 749 const struct vgic_io_range *range, in vgic_validate_access() argument 754 if (!range->bits_per_irq) in vgic_validate_access() 757 irq = offset * 8 / range->bits_per_irq; in vgic_validate_access() 777 const struct vgic_io_range *range) in call_range_handler() argument 783 return range->handle_mmio(vcpu, mmio, offset); in call_range_handler() 796 ret = range->handle_mmio(vcpu, &mmio32, offset + 4); in call_range_handler() 800 ret |= range->handle_mmio(vcpu, &mmio32, offset); in call_range_handler() 824 const struct vgic_io_range *range; in vgic_handle_mmio_access() local 830 range = vgic_find_range(iodev->reg_ranges, len, offset); in vgic_handle_mmio_access() 831 if (unlikely(!range || !range->handle_mmio)) { in vgic_handle_mmio_access() [all …]
|