irq_set_nr_irqs(9)
β¨ irq_set_nr_irqs β the Kernel API Manual glow-up π
okay so bestie, picture this: you're deep in the kernel, and somebody's gotta be the one to say "hey, here's how many interrupts this system supports." That somebody is irq_set_nr_irqs, and she is literally the main character of this page. π
πΈ NAME πΈ
irq_set_nr_irqs β Set the number of interrupts supported by the system.
like, that's it. that's her whole job. and she ate. π₯
π¦ SYNOPSIS π¦
unsigned int irq_set_nr_irqs (unsigned int nr );
π ARGUMENTS π
nrβ the New number of interrupts. that's the whole vibe check right there π
β RETURN β
Returns nr. yes, fr fr, she just hands it right back to you. iconic behavior honestly π«Ά
π SEE ALSO π
the whole squad, no cap β all of these live in the Kernel file ./kernel/irq/irqdesc.c:
irq_get_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)irq_get_next_irq(9)kstat_irqs_cpu(9)kstat_irqs_usr(9)
go read them, iykyk π
and that's the page bestie!! π§ this lil gem lives under ./kernel/irq, dated October 2026, and it's part of the Kernel API Manual. mwah, 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