Home
last modified time | relevance | path

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

/virt/kvm/arm/vgic/
Dvgic-irqfd.c125 u32 nr = dist->nr_spis; in kvm_vgic_setup_default_irq_routing() local
128 entries = kcalloc(nr, sizeof(*entries), GFP_KERNEL); in kvm_vgic_setup_default_irq_routing()
132 for (i = 0; i < nr; i++) { in kvm_vgic_setup_default_irq_routing()
138 ret = kvm_set_irq_routing(kvm, entries, nr, 0); in kvm_vgic_setup_default_irq_routing()
/virt/kvm/
Dirqchip.c171 unsigned nr, in kvm_set_irq_routing() argument
179 for (i = 0; i < nr; ++i) { in kvm_set_irq_routing()
196 for (i = 0; i < nr; ++i) { in kvm_set_irq_routing()
Dkvm_main.c3401 if (routing.nr > KVM_MAX_IRQ_ROUTES) in kvm_vm_ioctl()
3405 if (routing.nr) { in kvm_vm_ioctl()
3408 routing.nr)); in kvm_vm_ioctl()
3414 routing.nr * sizeof(*entries))) in kvm_vm_ioctl()
3417 r = kvm_set_irq_routing(kvm, entries, routing.nr, in kvm_vm_ioctl()