msi_domain_free_irqs_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 device struct of the device whose interrupts are being freed 🫢 this is the main character of the operation, honestly
  • domid β€” the id of the interrupt domain you want to operate on ✨ pick your domain, bestie
  • first β€” 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 πŸ”₯ so first and last are both in the party, nobody's left out
ngl the inclusive-inclusive thing matters, first and last are 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:

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