stdma_is_locked_by(9)
π stdma_is_locked_by(9) β like, the Kernel API Manual page, bestie
okay so picture this: you're deep in m68k Atari land, you grabbed a lock, and now your handler needs to know if it's the one holding it. That's the whole vibe of this page. It lives in the Kernel API Manual (9), and it's short, sweet, and iconic. π
β¨ NAME β¨
stdma_is_locked_by β literally lets the lock holder check whether it needs to release. that's it. that's the function. π«Ά
πΈ SYNOPSIS πΈ
int stdma_is_locked_by (irq_handler_t handler );
π¦ ARGUMENTS π¦
handlerβ the interrupt handler you previously used to acquire the lock. yeah, the same one. not a lookalike. not a vibe-alike. the actual handler. π
β DESCRIPTION β
Returns !0 if the lock is locked for the given handler; 0 otherwise. no cap, that's the whole description. it's giving minimalist. it's giving "i said what i said." π₯
π SEE ALSO π
- Kernel file
./arch/m68k/atari/stdma.c stdma_try_lock(9)
and that's the page, bestie!! π source/version situation: it's from ./arch/m68k/atari, dated October 2026 β so yeah, future-dated, main character energy fr fr. mwah, go check your lock πβ¨π
π¦ 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