Lines Matching defs:range
1988 * allocate from. To allocate LPIs, just pick the first range that
1990 * amount. Once empty, remove the range from the list.
1992 * To free a range of LPIs, add a free range to the list, sort it and
1993 * merge the result if the new range happens to be adjacent to an
2012 struct lpi_range *range;
2014 range = kmalloc(sizeof(*range), GFP_KERNEL);
2015 if (range) {
2016 range->base_id = base;
2017 range->span = span;
2020 return range;
2025 struct lpi_range *range, *tmp;
2030 list_for_each_entry_safe(range, tmp, &lpi_range_list, entry)
2032 if (range->span >= nr_lpis) {
2033 *base = range->base_id;
2034 range->base_id += nr_lpis;
2035 range->span -= nr_lpis;
2037 if (range->span == 0) {
2038 list_del(&range->entry);
2039 kfree(range);
2113 pr_info("ITS: Using hypervisor restricted LPI range [%u]\n", lpis);
2118 * full range of LPIs.
2223 pr_warn("GICv3: Expected reserved range [%pa:%pa], not found\n", &addr, &addr_end);
2431 * range of device IDs that the ITS can grok... The ID
3160 * as out of range and dropped by GIC.