HomeFreeBSD

xen/intr: rework xen_intr_alloc_isrc() call structure

Description

xen/intr: rework xen_intr_alloc_isrc() call structure

The call structure around xen_intr_alloc_isrc() was rather awful.
Notably finding a structure for reuse is part of allocation, but this
was done outside xen_intr_alloc_isrc(). Move this into
xen_intr_alloc_isrc() so the function handles all allocation steps.

Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D30726

Details

Provenance
ehem_freebsd_m5p.comAuthored on May 11 2021, 7:05 PM
roygerCommitted on Apr 14 2023, 1:58 PM
Reviewer
royger
Differential Revision
D30726: xen/intr: rework locking, prepare xen_intr_alloc_isrc() for split
Parents
rG149c58101811: xen/intr: adjust xenisrc types, adjust format strings to match
Branches
Unknown
Tags
Unknown