irq_alloc_matrix(9)
irq_alloc_matrix(9) π
okay bestie, this page is straight from the Kernel API Manual, and it's giving βsmall but crucial kernel setup momentβ energy. We're talking about irq_alloc_matrix, and yes, it's iconic in a very specific way.
π NAME π
irq_alloc_matrix β allocate an irq_matrix structure and initialize it. That's the whole vibe: it makes the thing and gets it ready to go. Slay.
β¨ SYNOPSIS β¨
Here's the signature, verbatim, because we do not mess with signatures π:
struct irq_matrix * irq_alloc_matrix (unsigned int matrix_bits ,
unsigned int alloc_start , unsigned int alloc_end );
πΈ ARGUMENTS πΈ
matrix_bitsβ the number of matrix bits. Yes bestie, that's the count.alloc_startβ the bit where the allocation search starts. Like the starting line for the search.alloc_endβ the bit where the allocation search ends, i.e first invalid bit. So it's the boundary, not a valid bit to land on.
π¦ SEE ALSO π¦
Kernel file ./kernel/irq/matrix.c is the spot, and you're gonna wanna know these besties too:
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_allocated(9)irq_matrix_debug_show(9)
mwah π β this page lives at ./kernel/irq, dated October 2026, and it's irq_alloc_matrix(9) to the very end. 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