Searched refs:nr_lpis (Results 1 – 2 of 2) sorted by relevance
28 int nr_lpis; member49 if (iter->lpi_idx < iter->nr_lpis) in iter_next()65 iter->nr_lpis = vgic_copy_lpi_list(kvm, NULL, &iter->lpi_array); in iter_init()66 if (iter->nr_lpis < 0) in iter_init()67 iter->nr_lpis = 0; in iter_init()80 iter->lpi_idx > iter->nr_lpis; in end_of_vgic()
150 int nr_lpis; member245 if (WARN_ON_ONCE(event >= its_dev->event_map.nr_lpis)) in dev_event_to_vlpi_map()1825 maps = kcalloc(its_dev->event_map.nr_lpis, sizeof(*maps), in its_vlpi_map()2033 static int alloc_lpi_range(u32 nr_lpis, u32 *base) in alloc_lpi_range() argument2041 if (range->span >= nr_lpis) { in alloc_lpi_range()2043 range->base_id += nr_lpis; in alloc_lpi_range()2044 range->span -= nr_lpis; in alloc_lpi_range()2058 pr_debug("ITS: alloc %u:%u\n", *base, nr_lpis); in alloc_lpi_range()2074 static int free_lpi_range(u32 base, u32 nr_lpis) in free_lpi_range() argument2078 new = mk_lpi_range(base, nr_lpis); in free_lpi_range()[all …]