acomp_request_set_callback(9)
β¨ acomp_request_set_callback(9) β¨
okay so bestie, welcome to the Kernel API Manual π
β this is the page for acomp_request_set_callback, and no cap, it does exactly one thing and it does it gorgeously. It's giving "small function, main character energy." π
πΈ NAME πΈ
acomp_request_set_callback β Sets an asynchronous callback β¨
π¦ SYNOPSIS π¦
void acomp_request_set_callback (struct acomp_req *req , u32 flgs ,
crypto_completion_t cmpl , void *data );
π ARGUMENTS π
reqβ the request that the callback will be set for. like, this is the req we're attaching your callback to π«Άflgsβ specify for instance if the operation may backlog. yes bestie, the spelling really isflgsin the source, we don't make the rules πcmplβ callback which will be called. literally the whole point of this function πdataβ private data used by the caller. your little secret stash, passed along for you πΈ
β DESCRIPTION β
Callback will be called when an asynchronous operation on a given request is finished. that's it, that's the vibe β¨ you hand over your cmpl and your data, and when the async op on req wraps up, boom β your callback gets the news. lowkey iconic π
π SEE ALSO π
Kernel file ./include/crypto/acompress.h β go read it, it's right there π
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 we are not gatekeeping it, the page said it so we say it, periodt πacomp_request_free(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)acomp_request_set_dst_folio(9)crypto_acomp_compress(9)crypto_acomp_decompress(9)
ok that's the whole page bestie, go set some callbacks and slay π§π
and like, the cute little sign-off at the bottom says this came out of ./include/crypto and it's dated October 2026 β so yeah, mark your calendars, it's giving futuristic πβ¨π
π¦ 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