msi_match_device_irq_domain(9)
π msi_match_device_irq_domain(9) β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual, and today's main character is msi_match_device_irq_domain. yes it's a long name. yes it ate. let's get into it π
β¨ NAME β¨
msi_match_device_irq_domain β matches a device irq domain against a bus token. that's the whole vibe check, no cap πΈ
π¦ SYNOPSIS π¦
bool msi_match_device_irq_domain (struct device *dev , unsigned int
domid , enum irq_domain_bus_token bus_token );
like literally three things go in and a bool comes out, it's giving vending machine π
π ARGUMENTS π
devβ pointer to the device, bestie. that's your star of the show πdomidβ the domain id. iconic little number, keep it safe πbus_tokenβ the bus token to match against the domain bus token. yes, token match-up, it's a whole thing π«Ά
π₯ RETURN π₯
True if the device domain exists and the bus tokens match. that's it. that's the tea π
lowkey if either part of that fails you're getting a False, so don't come for me π
π SEE ALSO π
so many siblings, our girl has a huge family, let's meet them:
- Kubernetes file
./kernel/irq/msi.cβ jk, it's a kernel file, but you knew that π 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_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)
look at that list. thirty-three whole pages of friends. she's never alone at the function party ππ§
ngl bestie, read the SEE ALSO before you go poking at irq domains, i'm literally begging π₯Ί
and that's a wrap on our girl πΈ brought to you by the fine folks over at ./kernel/irq, dated October 2026, and yes the manual page's own name is msi_match_device_irq_domain(9) β say it three times fast for good luck ππ 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