msi_domain_free_irqs_range(9)
πΈ msi_domain_free_irqs_range (9) β Kernel API Manual πΈ
okay bestie, gather round, because this one is short and sweet and honestly kind of a baddie π
β¨ NAME β¨
msi_domain_free_irqs_range β frees a whole range of interrupts from a MSI interrupt domain that's associated to @dev π
like, it's the cleanup queen. it takes them all back. periodt.
π¦ SYNOPSIS π¦
void msi_domain_free_irqs_range (struct device *dev , unsigned int domid
, unsigned int first , unsigned int last );
it returns void, so don't go looking for a return value, there isn't one, that's not the vibe π
π ARGUMENTS π
devβ pointer to the devicestructof the device whose interrupts are being freed π«Ά this is the main character of the operation, honestlydomidβ the id of the interrupt domain you want to operate on β¨ pick your domain, bestiefirstβ the first index to free, and yes it's inclusive (inclusive! don't forget! it's in the name of the game) βlastβ the last index to free, also inclusive π₯ sofirstandlastare both in the party, nobody's left out
ngl the inclusive-inclusive thing matters,firstandlastare both freed. inclusive means inclusive, no cap π
π SEE ALSO π
so like, the whole friend group, the Kernel file ./kernel/irq/msi.c, and then every single one of these icons:
struct msi_device_data(9)struct msi_ctrl(9)msi_alloc_desc(9)msi_domain_insert_msi_desc(9)msi_domain_free_msi_descs_range(9)msi_domain_add_simple_msi_descs(9)msi_setup_device_data(9)__msi_lock_descs(9)__msi_unlock_descs(9)msi_domain_first_desc(9)msi_next_desc(9)msi_domain_get_virq(9)msi_device_populate_sysfs(9)msi_device_destroy_sysfs(9)msi_domain_set_affinity(9)msi_create_irq_domain(9)msi_create_parent_irq_domain(9)msi_parent_init_dev_msi_info(9)msi_create_device_irq_domain(9)msi_remove_device_irq_domain(9)msi_match_device_irq_domain(9)msi_domain_alloc_irqs_range_locked(9)msi_domain_alloc_irqs_range(9)msi_domain_alloc_irqs_all_locked(9)msi_domain_alloc_irq_at(9)msi_device_domain_alloc_wired(9)msi_domain_free_irqs_range_locked(9)msi_domain_free_irqs_all_locked(9)msi_domain_free_irqs_all(9)msi_device_domain_free_wired(9)msi_get_domain_info(9)msi_device_has_isolated_msi(9)
like, that's the whole group chat and every one of them ate π go read them, iykyk π
anyway that's the tea π this page lives in ./kernel/irq, it's the October 2026 edition, and it's filed under msi_domain_free_irqs_range(9) β mwah, love u, go free those irqs responsibly π§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms