irq_set_nr_irqs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:

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! πŸ’‹πŸŽ€πŸŒΈ

irq_set_nr_irqs(9)

πŸ“¦ where this page comes from