irq_domain_a..._irqs_parent(9)
π irq_domain_alloc_irqs_parent β NAME β¨
okay so bestie, this is a page from the Kernel API Manual, and the function is irq_domain_alloc_irqs_parent β it allocates interrupts from the parent domain. that's the whole vibe. your domain's parent has the goods, and this function goes and gets 'em π«Ά
πΈ SYNOPSIS πΈ
int irq_domain_alloc_irqs_parent (struct irq_domain *domain , unsigned
int irq_base , unsigned int nr_irqs , void *arg );
like, look at her. four params, returns an int, main character energy fr fr π
π ARGUMENTS π
domainβ the domain below which interrupts must be allocated. so she's the one sitting under the parent, and everything gets allocated underneath her. queen of hierarchy πirq_baseβ the base IRQ number. the starting point, the origin story, the place where the numbering begins β¨nr_irqsβ number of IRQs to allocate. how many we're grabbing. no cap, you gotta tell her πargβ allocation data, and it's arch/domain specific β meaning it's giving "you know your own architecture best, i don't know her" π
π¦ SEE ALSO π¦
so there's a whole friend group here, and they all live in the kernel file ./kernel/irq/irqdomain.c β go say hi to the gc:
__irq_domain_alloc_fwnode(9)irq_domain_free_fwnode(9)irq_domain_instantiate(9)irq_domain_remove(9)irq_domain_create_simple(9)irq_find_matching_fwspec(9)irq_set_default_domain(9)irq_get_default_domain(9)irq_create_direct_mapping(9)irq_create_mapping_affinity(9)irq_dispose_mapping(9)__irq_resolve_mapping(9)irq_domain_xlate_onecell(9)irq_domain_xlate_twocell(9)irq_domain_xlate_twothreecell(9)irq_domain_xlate_onetwocell(9)irq_domain_translate_onecell(9)irq_domain_translate_twocell(9)irq_domain_translate_twothreecell(9)irq_domain_reset_irq_data(9)irq_domain_disconnect_hierarchy(9)irq_domain_get_irq_data(9)irq_domain_set_hwirq_and_chip(9)irq_domain_set_info(9)irq_domain_free_irqs_common(9)irq_domain_free_irqs_top(9)__irq_domain_alloc_irqs(9)irq_domain_push_irq(9)irq_domain_pop_irq(9)irq_domain_free_irqs(9)irq_domain_free_irqs_parent(9)irq_domain_activate_irq(9)irq_domain_deactivate_irq(9)
okay that's the whole page bestie, ily, go allocate some interrupts responsibly π§π
this lil cutie lives in./kernel/irq, and the manual page is dated October 2026 β so jot that down, it'sirq_domain_a..._irqs_parent(9), 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