acomp_request_set_dst_sg(9)
β¨ acomp_request_set_dst_sg(9) β¨
okay so you're in the Kernel API Manual bestie, and this page is all about acomp_request_set_dst_sg β literally the glow-up moment where your async compression request finally gets told where to put its output π
πΈ NAME πΈ
acomp_request_set_dst_sg β sets destination scatterlist π
β SYNOPSIS β
void acomp_request_set_dst_sg (struct acomp_req *req , struct
scatterlist *dst , unsigned int dlen );
no cap, that's the whole signature. three args, void return, we love a low-drama function π«Ά
π¦ ARGUMENTS π¦
reqβ the asynchronous compress request. the main character of this whole operation fr fr β¨dstβ pointer to the output buffer scatterlist. yes bestie, it's a scatterlist, not just one buffer, we're being fancy today πdlenβ size of the output buffer. gotta tell it how much room it's working with π
π§ DESCRIPTION π§
Sets the destination scatterlist required by an acomp operation. that's it, that's the vibe β you're handing the request its output scatterlist so the acomp op knows where the compressed (or decompressed, depending on which direction you're going π) data should land π
lowkey iconic that it's one job and it does it, periodt.
π₯ SEE ALSO π₯
- 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 it's listed twice in the original, and I'm not gonna gaslight you about it, so here it is again π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_dma(9)acomp_request_set_dst_nondma(9)acomp_request_set_dst_folio(9)crypto_acomp_compress(9)crypto_acomp_decompress(9)
π friendly reminder that the destination side has a whole little family β_dst_dma,_dst_nondma,_dst_folio, and this_dst_sgone. pick the one that matches what you're actually handing it, iykyk π
and that's the page!! huge thanks to ./include/crypto for hosting this whole situation, and shoutout to the October 2026 date on the footer β go read the source bestie, it's giving documentation excellence πβ¨π
π¦ 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