Searched refs:nr_rt_entries (Results 1 – 1 of 1) sorted by relevance
31 if (irq_rt && gsi < irq_rt->nr_rt_entries) { in kvm_irq_map_gsi()107 for (i = 0; i < rt->nr_rt_entries; ++i) { in free_irq_routing_table()176 u32 i, j, nr_rt_entries = 0; in kvm_set_irq_routing() local182 nr_rt_entries = max(nr_rt_entries, ue[i].gsi); in kvm_set_irq_routing()185 nr_rt_entries += 1; in kvm_set_irq_routing()187 new = kzalloc(struct_size(new, map, nr_rt_entries), GFP_KERNEL_ACCOUNT); in kvm_set_irq_routing()191 new->nr_rt_entries = nr_rt_entries; in kvm_set_irq_routing()