acomp_request_set_src_dma(9)
π acomp_request_set_src_dma β bestie's guide to the kernel API manual, section 9
okay so like, welcome to the acomp_request_set_src_dma(9) page, it's giving "small function, big responsibility" energy and honestly we love her for it π
β¨ NAME β¨
acomp_request_set_src_dma β Sets DMA source virtual address πΈ
that's it. that's the whole name section. short and iconic, no notes π
π SYNOPSIS π
void acomp_request_set_src_dma (struct acomp_req *req , const u8 *src ,
unsigned int slen );
like, look at her. void return, three args, absolutely no drama. we stan π«Ά
π₯ ARGUMENTS π₯
reqβ the asynchronous compress request, aka the main character of this whole operation πsrcβ a virtual address pointer to the input buffer, literally just "hey, your data's over there" β¨slenβ the size of the input buffer, because the kernel needs to know how much of a vibe we're working with π
π DESCRIPTION π
so what does this actually do? it Sets source virtual address required by an acomp operation. that's the whole job. she's focused, she's efficient, she ate π
β οΈ but bestie, hear me on this one β the address must be usable for DMA. like, no cap, this is not a soft suggestion. if your address isn't DMA-usable, that's a whole problem and this page is not gonna save you π
π¦ SEE ALSO π¦
the whole friend group, assembled π«Ά here's everyone you might wanna meet:
- 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, she's just that popular, and no we're not editing the guest list π)acomp_request_free(9)acomp_request_set_callback(9)acomp_request_set_params(9)acomp_request_set_src_sg(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)acomp_request_set_dst_folio(9)crypto_acomp_compress(9)crypto_acomp_decompress(9)
and that's the page!! π she lives in ./include/crypto, she's dated October 2026, and she's officially part of the Kernel API Manual, section 9 β acomp_request_set_src_dma(9), periodt β¨π
π¦ 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