msi_remove_d...e_irq_domain(9)
π msi_remove_device_irq_domain(9) π
okay so bestie, welcome to the Kernel API Manual β section 9, the fun one π β and today's main character is msi_remove_device_irq_domain. it's a kernel function, it's tiny, it's iconic, and it's literally right here in this very doc. let's go β¨
πΈ NAME πΈ
msi_remove_device_irq_domain β free a device MSI interrupt domain π¦
like, it's the cleanup era. the domain gets freed. that's the whole vibe check.
β¨ SYNOPSIS β¨
void msi_remove_device_irq_domain (struct device *dev , unsigned int
domid );
no return value, no drama β it's void, she gives nothing and that's her right π
π ARGUMENTS π
devβ pointer to the device π like, the actual device whose domain we're out here freeing.domidβ the domain id π₯ the number that says which domain we mean.
two args, zero confusion, we love a manageable signature π«Ά
π SEE ALSO π
okay this list is LONG long, so buckle up bestie β all of these live in the kernel file ./kernel/irq/msi.c and they're all (9) manpage girlies too π
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_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_domain_free_irqs_all(9)msi_device_domain_free_wired(9)msi_get_domain_info(9)msi_device_has_isolated_msi(9)
literally a whole friend group π go read them all, iykyk π§
and the directory those live under is ./kernel/irq β that's the neighborhood π‘
ngl, this page is also stamped October 2026 and it's filed under the Kernel API Manual β that's the source/version energy and the date, folded in right here so you never have to squint at a footer again π
k that's it, go free that domain, slay, periodt ππ π
π¦ 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