msi_domain_...s_all_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– msi_domain_...s_all_locked(9) πŸ’–

✨ NAME ✨

msi_domain_free_irqs_all_locked β€” frees all interrupts from a MSI interrupt domain associated to a device. This is the Kernel API Manual entry for it, and it's giving β€œclean up every interrupt in this MSI domain” energy πŸ’….

πŸ’… SYNOPSIS πŸ’…

okay so the signature is literally:

void msi_domain_free_irqs_all_locked (struct device *dev , unsigned int
       domid );

It's a void function, bestie β€” it just does the freeing. ✨

🫢 ARGUMENTS 🫢

  • dev β€” pointer to the device struct of the device for which the interrupts are freed 🫢
  • domid β€” the id of the domain to operate on πŸ”₯

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe check: this must be invoked from within a msi_lock_descs / msi_unlock_descs pair. Like, literally do not call it outside that lock sandwich πŸ₯ͺ.

Use this for MSI irqdomains which implement their own vector allocation. That's the whole point, bestie β€” they handle vector allocation themselves πŸ‘‘.

🚨 Lock warning: the msi_lock_descs / msi_unlock_descs pair is mandatory. This is not a β€œmaybe lock it if you feel like it” situation, no cap πŸ’€

🌈 SEE ALSO 🌈

The whole SEE ALSO squad is here, starting with the kernel file β€” every ref, in order:


That's the whole page, bestie 🫢 β€” source/version ./kernel/irq, dated October 2026. Bye πŸ’–

πŸ“¦ where this page comes from