acomp_request_set_src_folio(9)
π NAME π
acomp_request_set_src_folio β okay so this one literally just sets the source folio, bestie. That's the whole vibe. β¨
(And yes, this is from the Kernel API Manual, since we're being official about it π)
β¨ SYNOPSIS β¨
void acomp_request_set_src_folio (struct acomp_req *req , struct folio
*folio , size_t off , unsigned int len );
That's the signature, no cap β copy it exactly, don't be cute with it π«Ά
πΈ ARGUMENTS πΈ
reqβ your asynchronous compress request, the main character of this whole operation πfolioβ pointer to the input folio, like the actual data source bestie πoffβ the input folio offset, aka where in the folio we're starting πlenβ size of the input buffer, how much we're working with π
π¦ DESCRIPTION π¦
So basically: this sets the source folio that an acomp operation requires. That's it. That's the whole function, and honestly? Iconic for being so straightforward. π₯
π§ SEE ALSO π§
Kernel file ./include/crypto/acompress.h, plus these lovely little references β go read them, they're all connected iykyk:
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)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_dst_sg(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)
Fr fr note: acomp_request_alloc_extra(9) is in there twice and I'm not gonna lie, I'm keeping both because the facts don't change even when the vibe does π (no I will not "fix" it, that's not my job bestie π)
Okay that's the whole page, mwah π β this one lives at ./include/crypto and it's from October 2026, and the page itself is acomp_request_set_src_folio(9). Slay, go set those source folios 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