irq_domain_free_irqs(9)
π irq_domain_free_irqs(9) π
okay so bestie, welcome to the Kernel API Manual β we're doing kernel internals today and honestly? it's giving cleanup era. this page is all about irq_domain_free_irqs, which is the "ok we're SO done with these, hand 'em back" function. no cap π«Ά
β¨ NAME β¨
irq_domain_free_irqs β frees an IRQ number and all the associated data structures that came with it. literally the reverse-glow-up button. π
πΈ SYNOPSIS πΈ
void irq_domain_free_irqs (unsigned int virq , unsigned int nr_irqs );
she takes two args and returns nothing (void, main character energy β no receipts, no return value, just vibes and cleanup). π
π¦ ARGUMENTS π¦
virqβ the base IRQ number, like, where the party starts. this is your anchor point bestie. βnr_irqsβ how many IRQs to free, starting fromvirq. the guest list count, if you will. π
fr fr, these two are the whole function. base number + how many. that's it. slay.
π₯ SEE ALSO π₯
buckle up bestie, this is a long list β the whole irqdomain friend group came out for this one π all of these live in the kernel file ./kernel/irq/irqdomain.c:
__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_alloc_irqs_parent(9)irq_domain_free_irqs_parent(9)irq_domain_activate_irq(9)irq_domain_deactivate_irq(9)
likeβ¦ the entire polycule of irqdomain functions. iykyk π§
and that's the page, bestie! β¨
cute little sign-off moment: this gem lives in ./kernel/irq, it's from October 2026, and it's part of the Kernel API Manual. go forth and free your IRQs responsibly β no leaks, only slay πππ
irq_domain_free_irqs(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