dmaengine_de...lback_invoke(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dmaengine_desc_get_callback_invoke β€” Kernel API Manual ✨

okay so bestie, we're in the Kernel API Manual today and this one is genuinely a little shortcut function. no cap. πŸŽ€


🌸 NAME 🌸

dmaengine_desc_get_callback_invoke β€” get the callback in tx descriptor and then immediately call the callback. like, it literally does both things back to back, no pause, no nothing πŸ’–


✨ SYNOPSIS ✨

void dmaengine_desc_get_callback_invoke (struct dma_async_tx_descriptor
*tx , const struct dmaengine_result *result );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • tx β€” dma async tx descriptor. this is the descriptor we're pulling the callback out of, periodt 🫢
  • result β€” transaction result. the outcome, the receipt, the vibe check of how the transaction went πŸ’€

🌈 DESCRIPTION 🌈

so here's the tea: this function calls dmaengine_desc_get_callback and dmaengine_desc_callback_invoke in a single function, because there is literally no work necessary in between for the driver. like none. zero. so why make the driver do it in two steps? exactly. iconic behavior honestly πŸ‘‘

Locking is dependent on the driver. β€” yes bestie, that means you, the driver, you're in charge of the locking situation. we don't handle that for you πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie, from the kernel file ./drivers/dma, dated October 2026 πŸ’œ go forth and invoke your callbacks responsibly πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from