msi_domain_free_irqs_all(9)
πΈ msi_domain_free_irqs_all(9) πΈ
okay bestie, welcome to the Kernel API Manual β this one's msi_domain_free_irqs_all(9) and it's literally the "clean up after yourself" girlie of the MSI world π
β¨ NAME β¨
msi_domain_free_irqs_all β free all the interrupts from a MSI interrupt domain that's associated to a device π
like, all of them. every last one. bye π
π¦ SYNOPSIS π¦
void msi_domain_free_irqs_all (struct device *dev , unsigned int domid );
no cap, that's the whole signature β it returns void, so don't go looking for a return value, she doesn't have one π
π ARGUMENTS π
devβ pointer to thedevicestruct of the device whose interrupts are getting freed π«Ά she's the main character here, everything hangs off her.domidβ the id of the domain you want to operate on β¨ pick your domain, bestie.
π SEE ALSO π
the whole friend group, fr fr β all of these live in the kernel file ./kernel/irq/msi.c:
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_range(9)msi_domain_free_irqs_all_locked(9)msi_device_domain_free_wired(9)msi_get_domain_info(9)msi_device_has_isolated_msi(9)
ngl the _locked variants are right there in the list for a reason β if you're already holding the locks, go say hi to those instead of this one π
okay that's the whole page, you ate that ππ β this lil number lives in ./kernel/irq and it's dated October 2026, so jot that down in your notes app, bestie β¨π
π¦ 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