irq_matrix_allocated(9)
β¨ irq_matrix_allocated (9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a lil function from the IRQ matrix crew and honestly she's an icon β short, sweet, and tells you exactly how many irqs are spoken for π
πΈ NAME πΈ
irq_matrix_allocated β get the number of allocated non-managed irqs on the local CPU π
π¦ SYNOPSIS π¦
unsigned int irq_matrix_allocated (struct irq_matrix *m );
π ARGUMENTS π
mβ pointer to the matrix to search π literally just hand her the matrix and she'll go look, no cap
π DESCRIPTION π
so basically this returns the number of allocated non-managed interrupts π«Ά that's it, that's the whole vibe. no side quests, no drama, just a straight-up count of the allocated non-managed irqs β¨
β SEE ALSO β
if you're obsessed with this one (and why wouldn't you be π) the whole friend group lives in the kernel file ./kernel/irq/matrix.c β go say hi to:
irq_alloc_matrix(9)irq_matrix_online(9)irq_matrix_offline(9)irq_matrix_assign_system(9)irq_matrix_reserve_managed(9)irq_matrix_remove_managed(9)irq_matrix_alloc_managed(9)irq_matrix_assign(9)irq_matrix_reserve(9)irq_matrix_remove_reserved(9)irq_matrix_alloc(9)irq_matrix_free(9)irq_matrix_available(9)irq_matrix_reserved(9)irq_matrix_debug_show(9)
and that's the whole page, bestie π§ sign-off time: this lil masterpiece ships from ./kernel/irq and it's dated October 2026 π go forth and count those irqs, 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