irq_domain_alloc_irqs(9)
π irq_domain_alloc_irqs β like, the kernel API manual energy, but make it make sense
okay so bestie, welcome to irq_domain_alloc_irqs(9) β yes that's the manual page name, yes it's a whole mouthful, no you don't have to say the "(9)" out loud at parties π
This is the kernel API manual moment where we learn how to pull IRQs out of a domain. Sit down, hydrate, let's go β¨
πΈ SYNOPSIS πΈ
int irq_domain_alloc_irqs (struct irq_domain *domain , unsigned int
nr_irqs , int node , void *arg );
that's the whole signature, bestie β copy it exactly, don't be quirky with it π
π¦ ARGUMENTS π¦
domainβ the domain you're allocating from. like, the place the IRQs actually live. your main character domain πnr_irqsβ how many IRQs you want. the number. the count. the quantity, if you will πnodeβ the NUMA node id, used for memory allocation. yes it matters, no you can't just vibe past it πargβ a domain specific argument. it's giving "you had to be there" β only the domain knows what it wants π
β DESCRIPTION β
so real talk: the actual tea lives in __irq_domain_alloc_irqs' documentation. like, this page is the trailer, that function is the whole movie π¬ go read that one, iykyk π
π₯ SEE ALSO π₯
the whole friend group, no cap:
- Kernel file
./include/linux/irqdomain.h struct irq_fwspec(9)struct irq_fwspec_info(9)struct irq_domain_ops(9)struct irq_domain(9)struct irq_domain_info(9)irq_domain_create_linear(9)irq_create_mapping(9)irq_resolve_mapping(9)irq_find_mapping(9)irq_domain_create_hierarchy(9)
ngl, every single one of those is a real page and you should lowkey go read them. that's not me being extra, that's just the list. periodt π
π§ cute lil sign-off π§
this lil masterpiece lives in ./include/linux, dropped in October 2026 β so yeah, it's fresh, it's iconic, and it ate πΈ mwah, go allocate responsibly 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