async_memcpy(9)
π async_memcpy β bestie, it's a kernel API manual page (section 9, from the Kernel API Manual, and yes she's that girl)
okay so imagine you want to copy some memory but you're too important to do it yourself, so you ask a dma engine to handle it πββοΈ that's the whole vibe of async_memcpy. it attempts the copy. no promises, no cap.
β¨ SYNOPSIS β¨
struct dma_async_tx_descriptor * async_memcpy (struct page *dest ,
struct page *src , unsigned int dest_offset , unsigned int src_offset ,
size_t len , struct async_submit_ctl *submit );
look at her go π six whole arguments, main character energy fr fr. she hands you back a struct dma_async_tx_descriptor * β that's the transaction descriptor, keep it safe π«Ά
π ARGUMENTS π
destβ the destination page. this is where the copy lands, the moment of truth πsrcβ the src page. yeah, justsrc, she's giving minimal effort and honestly? iconic.dest_offsetβ offset intodestto start transaction. like, which byte indestwe're kicking things off at βsrc_offsetβ offset intosrcto start transaction. same deal but forsrc, you got this πΈlenβ length in bytes. how much we're copying, literally the size of the vibe π¦submitβ submission / completion modifiers. this is where you whisper your settings to her π
π₯ DESCRIPTION π₯
honored flags: ASYNC_TX_ACK β that's the one, that's the only one she honors π
(iykyk)
ngl bestie, the description is short here. honored flags: ASYNC_TX_ACK. that's the entire description. do not go looking for β¨moreβ¨, there is no more. periodt.
π SEE ALSO π
- Kernel file
./crypto/async_tx/async_memcpy.cβ go read the source, she's literally right there π§
and that's the page!! π this little beauty lives in ./crypto/async_tx, dated October 2026, and she answers to the name async_memcpy(9) β mwah, slay, go copy some memory safely bestie πβ¨
π¦ 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