probe_irq_off(9)
π probe_irq_off(9) β a whole vibe
okay so welcome to the Kernel API Manual, bestie β today's main character is probe_irq_off, aka the little function that wraps up an interrupt autodetect π
β¨ NAME β¨
probe_irq_off β end an interrupt autodetect π«Ά
πΈ SYNOPSIS πΈ
int probe_irq_off (unsigned long val );
π¦ ARGUMENTS π¦
valβ mask of potential interrupts. and yes, it's unused. literally just sitting there being decorative π
π DESCRIPTION π
so here's the tea β β probe_irq_off scans the unused interrupt lines and returns the line that appears to have triggered the interrupt. iconic behavior, no cap.
if no interrupt was found, then zero is returned π«§
if more than one interrupt is found, then minus the first candidate is returned β that's the β¨ dramatic β¨ way of saying "there is doubt" π like it's giving "idk bestie, could be this one, but also???"
also it puts the interrupt probe logic state back to its previous value π the state got restored, periodt.
BUGS: when used in a module (which arguably shouldn't happen β ngl, it kinda shouldn't) nothing prevents two IRQ probe callers from overlapping π and the results of that are, in the original's own words, non-optimal. so like... not great. not the slay we wanted. π
π§ SEE ALSO π§
- Kernel file
./kernel/irq/autoprobe.c probe_irq_on(9)probe_irq_mask(9)
and that's the whole page, bestie π this one came from ./kernel/irq, dated October 2026 β go off, kernel docs, you ate πβπ
π¦ 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