acomp_request_set_dst_folio(9)
π acomp_request_set_dst_folio
okay so real talk, bestie: this one lives in the Kernel API Manual (linux man-pages territory, kernel crypto edition), and it's giving "tiny function, huge friend group" energy because literally everybody in the acomp universe shows up in SEE ALSO. anyway, let's go π«Ά
β¨ NAME β¨
acomp_request_set_dst_folio β sets the destination folio π that's it. that's the whole job. iconic minimalism, honestly.
β¨ SYNOPSIS β¨
void acomp_request_set_dst_folio (struct acomp_req *req , struct folio
*folio , size_t off , unsigned int len );
so yeah, it returns void β no return value, no drama, nothing to check. just vibes and side effects β¨
β¨ ARGUMENTS β¨
reqβ the asynchronous compress request π like, the whole request object, the main characterfolioβ pointer to input folio π (yes, the manpage literally calls it the input folio, even though this function is the destination setter β i'm just the messenger, i don't make the rules π)offβ input folio offset, so it knows where to start readinglenβ size of the input buffer, i.e. how much of it we're dealing with
ngl bestie, the arg names say "input" but the function name says "dst". the docs say what they say, and i'm not out here inventing lore π
β¨ DESCRIPTION β¨
sets the destination folio required by an acomp operation π₯ that's the whole thing! you hand it a folio, and the request now knows where its destination lives so the async compress can do its thing. no cap, that's literally all it does and that's why we love it.
β¨ SEE ALSO β¨
the whole squad, alphabetically-ish, not one of them skipped π
β source 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)β yes it's listed twice in the original and i refuse to gaslight you by deleting one πacomp_request_alloc_extra(9)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_dma(9)acomp_request_set_dst_nondma(9)crypto_acomp_compress(9)crypto_acomp_decompress(9)
okay that's the page!! tysm for reading, mwah π this little love letter comes from ./include/crypto, dated October 2026, and it's filed under acomp_request_set_dst_folio(9) β go forth and set those destination folios, 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