Searched refs:nr (Results 1 – 3 of 3) sorted by relevance
125 u32 nr = dist->nr_spis; in kvm_vgic_setup_default_irq_routing() local128 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()
171 unsigned nr, in kvm_set_irq_routing() argument179 for (i = 0; i < nr; ++i) { in kvm_set_irq_routing()196 for (i = 0; i < nr; ++i) { in kvm_set_irq_routing()
3401 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()