dmaengine_d...llback_valid(9)
β¨ dmaengine_d...llback_valid β¨
okay bestie, quick vibe check before we even start: this little cutie lives in the Kernel API Manual π β that's the manual name, she's fancy. So when you're like "wait, which manual is this from??" it's that one. Slay. Now let's get into it π«Ά
πΈ NAME πΈ
dmaengine_desc_callback_valid β literally just verifying that the callback in cb is valid π
iykyk
π¦ SYNOPSIS π¦
bool dmaengine_desc_callback_valid (struct dmaengine_desc_callback *cb
);
π ARGUMENTS π
cbβ the callback info struct, bestie. that's it, that's the whole argument π
β¨ DESCRIPTION β¨
So what does it do? It returns a bool that verifies whether the callback in cb is valid or not. That's the whole assignment, and she ate. π
And the best part? no locking is required. none. zero. not a single lock. you don't have to worry about grabbing anything before you call her, she's lowkey self-sufficient like that π§
π SEE ALSO π
Kernel file ./drivers/dma/dmaengine.h plus the whole friend group, all of them iconic in their own right:
dma_cookie_init(9)dma_cookie_assign(9)dma_cookie_complete(9)dma_cookie_status(9)dmaengine_desc_get_callback(9)dmaengine_desc_callback_invoke(9)dmaengine_desc_get_callback_invoke(9)
ngl bestie, if you're in here you're probably already poking around in ./drivers/dma β that's the source path, she's home π‘
and that's the page!! mwah π sign-off time: this one's from ./drivers/dma, dated October 2026, in the Kernel API Manual β literally notes from the future, we love a queen who's ahead of schedule βππ
π¦ 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