msi_domain_alloc_irqs_range(9)
π
msi_domain_alloc_irqs_range(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally about msi_domain_alloc_irqs_range, and it's giving βallocate a whole range of interrupts from a MSI interrupt domainβ main-character energy. No cap. π¦
πΈ NAME πΈ
msi_domain_alloc_irqs_range β allocate interrupts from a MSI interrupt domain. π
β¨ SYNOPSIS β¨
int msi_domain_alloc_irqs_range (struct device *dev , unsigned int domid
, unsigned int first , unsigned int last );
This signature is exact, character-for-character. Keep it cute, keep it correct. π
π ARGUMENTS π
devβ pointer to the device struct of the device for which the interrupts are allocated. This is the device whose interrupt situation we're handling. π«Άdomidβ Id of the interrupt domain to operate on. Yes, the domain id, not a vibe id. πfirstβ first index to allocate, and it's inclusive β like, it counts. πlastβ last index to allocate, also inclusive β both ends are invited to the party. π
π₯ RETURN π₯
It returns 0 on success or an error code. That's the whole return vibe: success is 0, anything else is an error code. π
π SEE ALSO π
Kernel file ./kernel/irq/msi.c is the source-file bestie, and here's the full friend group in original order:
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_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)
Signed with glitter and good vibes from the ./kernel/irq source corner of the Kernel API Manual, dated October 2026 β mwah πβ¨
π¦ 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