af_alg_alloc_areq(9)
Bestie, welcome to af_alg_alloc_areq(9) from the Kernel API Manual β the allocator page that's lowkey iconic. πβ¨
πΈ NAME πΈ
af_alg_alloc_areq β allocate struct af_alg_async_req. Slay.
β¨ SYNOPSIS β¨
struct af_alg_async_req * af_alg_alloc_areq (struct sock *sk , unsigned
int areqlen );
π ARGUMENTS π
skβ socket of connection to user space. That's the whole vibe. πareqlenβ size ofstruct af_alg_async_req+crypto_*_reqsize. Yes, literally that size. π«Ά
π RETURN π
The allocated data structure β or ERR_PTR upon error. That's it, bestie. π
π¦ SEE ALSO π¦
Kernel file ./crypto/af_alg.c, plus the whole friend group:
af_alg_alloc_tsgl(9)af_alg_count_tsgl(9)af_alg_pull_tsgl(9)af_alg_free_areq_sgls(9)af_alg_wait_for_wmem(9)af_alg_wmem_wakeup(9)af_alg_wait_for_data(9)af_alg_data_wakeup(9)af_alg_sendmsg(9)af_alg_free_resources(9)af_alg_poll(9)af_alg_get_rsgl(9)
Okay bye bestie! This page is from source/version ./crypto, dated October 2026, and it's literally af_alg_alloc_areq(9) signing off. Mwah! ππ
π¦ 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