irq_get_next_irq(9)
π irq_get_next_irq(9) β the Kernel API Manual, bestie edition π
okay so you're in the kernel API manual, section 9, and today's main character is irq_get_next_irq β¨
πΈ NAME πΈ
irq_get_next_irq β gets you the next allocated irq number, no cap π§
β¨ SYNOPSIS β¨
unsigned int irq_get_next_irq (unsigned int offset );
π¦ ARGUMENTS π¦
offsetβ literally just where to start the search. that's it. that's the whole vibe. π«
π DESCRIPTION π
okay so picture this: you hand it an offset, and it hands you back the next irq number after that offset.
and if there's nothing there? if the cupboard is empty, bestie? π it just returns total_nr_irqs instead. periodt.
π₯ SEE ALSO π₯
this is the friend group, iykyk π β the kernel file ./kernel/irq/irqdesc.c, plus:
irq_get_nr_irqs(9)irq_set_nr_irqs(9)generic_handle_irq(9)generic_handle_irq_safe(9)generic_handle_domain_irq(9)generic_handle_domain_nmi(9)generic_handle_demux_domain_irq(9)irq_free_descs(9)__irq_alloc_descs(9)kstat_irqs_cpu(9)kstat_irqs_usr(9)
ngl the whole thing lives in ./kernel/irq and it's giving icon energy β go read the rest, fr fr π
and that's the page, bestie π«Ά it ate, no crumbs left. source filing lives in ./kernel/irq, dated October 2026, and it's the irq_get_next_irq(9) page β slay, bye ππΈ
π¦ 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