acomp_reques...t_src_nondma(9)
β¨ acomp_request_set_src_nondma(9) β¨
okay bestie so we're in the Kernel API Manual today and the star of the show is acomp_request_set_src_nondma(9) β yes that's a long one, yes you're gonna say it right, and yes it slays π
πΈ NAME πΈ
acomp_request_set_src_nondma β sets the non-DMA source virtual address, periodt
π¦ SYNOPSIS π¦
void acomp_request_set_src_nondma (struct acomp_req *req , const u8 *src
, unsigned int slen );
like look at her go π so clean
π ARGUMENTS π
reqβ the asynchronous compress request itself, the main character of this whole operation πsrcβ a virtual address pointer pointing at your input buffer, she's pointing at the vibesslenβ the size of that input buffer, gotta know how much we're working with
π DESCRIPTION π
So what she does is: sets the source virtual address that an acomp operation needs. That's it, that's the job, and she does it flawlessly β¨
β οΈ real talk though β the address can not be used for DMA. Like, not allowed, not ever, don't even try it π
π SEE ALSO π
okay this list is long but every single one of these is iconic in her own right, no skips:
- 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)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_folio(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)
(and yes, acomp_request_alloc_extra(9) shows up twice β she said "encore" and honestly? respect π«Ά)
that's the whole page bestie, go forth and point at your non-DMA buffers responsibly π
source: ./include/crypto Β· version: October 2026 Β· acomp_reques...t_src_nondma(9) β mwah, love u, bye π§ββοΈβ
π¦ 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