acomp_request_set_dst_dma(9)
π acomp_request_set_dst_dma β from the Kernel API Manual
Okay bestie, gather round, because we're talking about acomp_request_set_dst_dma(9) β yes, it's a whole mouthful, no cap, but it's literally just "tell the compressor where the output goes." That's the vibe. π
β¨ NAME β¨
acomp_request_set_dst_dma β Sets DMA destination virtual address. That's it, that's the whole gig. Slay. π
πΈ SYNOPSIS πΈ
void acomp_request_set_dst_dma (struct acomp_req *req , u8 *dst ,
unsigned int dlen );
Look at her. Returns nothing (void), takes three things, gets straight to business. Main character energy fr. β¨
π¦ ARGUMENTS π¦
reqβ the asynchronous compress request. Like, the request object itself. Your lil' container of hopes and dreams. πdstβ a virtual address pointer to the output buffer. This is where the magic lands, bestie. π―dlenβ the size of the output buffer. Gotta know how much room you've got, iykyk. π
π₯ DESCRIPTION π₯
So what does she actually do? She sets the destination virtual address that an acomp operation needs. Simple. Elegant. Iconic. π
β οΈ Important caveat, don't skip this one: the address must be usable for DMA. Like, non-negotiable. If it's not DMA-usable, that's a whole mess and we don't want that energy. π
That's genuinely the entire description β short and sweet, we love a low-effort queen. β
π SEE ALSO π
The full friend group, in order, no gatekeeping:
- Kernel file
./include/crypto/acompress.hβstruct acomp_req(9) struct crypto_acomp(9)Asynchronous Compression API(9)crypto_alloc_acomp(9)crypto_alloc_acomp_node(9)crypto_free_acomp(9)acomp_request_alloc_extra(9)acomp_request_alloc_extra(9)β yes she's listed twice, and honestly? Double the icon behavior. πacomp_request_free(9)acomp_request_set_callback(9)acomp_request_set_params(9)acomp_request_set_src_sg(9)acomp_request_set_src_dma(9)acomp_request_set_src_nondma(9)acomp_request_set_src_folio(9)acomp_request_set_dst_sg(9)acomp_request_set_dst_nondma(9)acomp_request_set_dst_folio(9)crypto_acomp_compress(9)crypto_acomp_decompress(9)
Every single one of them, no skips, we don't do that here. π«Ά
And that's the page, bestie!! π§ Source location juicy detail: ./include/crypto, and this baby is dated October 2026. Go forth and set those DMA destination addresses 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