Searched refs:nr_lpis (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/arm64/kvm/vgic/ |
D | vgic-debug.c | 28 int nr_lpis; member 49 iter->nr_lpis) { in iter_next() 50 if (iter->lpi_idx < iter->nr_lpis) in iter_next() 69 int nr_lpis = 0; in iter_mark_lpis() local 76 nr_lpis++; in iter_mark_lpis() 79 return nr_lpis; in iter_mark_lpis() 104 iter->nr_lpis = iter_mark_lpis(kvm); in iter_init() 116 (!iter->nr_lpis || iter->lpi_idx > iter->nr_lpis); in end_of_vgic() 189 seq_printf(s, "nr_lpis:\t%d\n", iter->nr_lpis); in print_dist_state()
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vgic_lpi_stress.c | 123 static void guest_code(size_t nr_lpis) in guest_code() argument 170 size_t nr_lpis = test_data.nr_devices * test_data.nr_event_ids; in configure_lpis() local 174 for (i = 0; i < nr_lpis; i++) { in configure_lpis() 287 double nr_lpis; in report_stats() local 290 nr_lpis = test_data.nr_devices * test_data.nr_event_ids * nr_iterations; in report_stats() 295 pr_info("Rate: %.2f LPIs/sec\n", nr_lpis / time); in report_stats()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-gic-v3-its.c | 149 int nr_lpis; member 249 if (WARN_ON_ONCE(event >= its_dev->event_map.nr_lpis)) in dev_event_to_vlpi_map() 1845 maps = kcalloc(its_dev->event_map.nr_lpis, sizeof(*maps), in its_vlpi_map() 2036 static int alloc_lpi_range(u32 nr_lpis, u32 *base) in alloc_lpi_range() argument 2044 if (range->span >= nr_lpis) { in alloc_lpi_range() 2046 range->base_id += nr_lpis; in alloc_lpi_range() 2047 range->span -= nr_lpis; in alloc_lpi_range() 2061 pr_debug("ITS: alloc %u:%u\n", *base, nr_lpis); in alloc_lpi_range() 2077 static int free_lpi_range(u32 base, u32 nr_lpis) in free_lpi_range() argument 2081 new = mk_lpi_range(base, nr_lpis); in free_lpi_range() [all …]
|