probe_irq_mask(9)
π probe_irq_mask(9) β like, the Kernel API Manual, bestie π
ok so real talk, this is probe_irq_mask from the Kernel API Manual and it's genuinely one of those tiny functions that's doing the most. let's get into it π«Ά
β¨ NAME β¨
probe_irq_mask β scan a bitmap of interrupt lines πβ¨
πΈ SYNOPSIS πΈ
unsigned int probe_irq_mask (unsigned long val );
like yeah that's the whole signature, she's compact π
π¦ ARGUMENTS π¦
valβ the mask of interrupts to consider π like, these are the ones you're telling her to actually look at
π DESCRIPTION π
okay so here's the vibe: she scans the interrupt lines and hands you back a bitmap of the active autodetect interrupts. that's the whole glow-up. β¨
and then β and this is the part i need you to clock β the interrupt probe logic state gets returned to its previous value. she puts everything back exactly how she found it. no mess, no leftovers, no "not me leaving the state changed" energy. iconique behavior fr fr π
β NOTE β
ngl this is important: we need to scan all the irq's even though we will only return autodetect irq numbers β just so that we reset them all to a known state. like yes, even the ones you're not gonna hear about. everyone gets reset, periodt π
π SEE ALSO π
- Kernel file
./kernel/irq/autoprobe.cποΈ probe_irq_on(9)probe_irq_off(9)
and that's the whole page bestie, mwah π one final thing β the source/version + date on this beauty is ./kernel/irq and October 2026, so go forth and scan those interrupt lines responsibly π§π
π¦ 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