STRUCT ACOMP_ALG(9)
π NAME π
Straight from the Kernel API Manual, bestie: struct acomp_alg - asynchronous compression algorithm. That's the main character of this page, fr fr. β¨
π¦ SYNOPSIS π¦
Okay so here's the struct in all its glory β keep it exact, no cap:
struct acomp_alg {
int (*compress)(struct acomp_req *req);
int (*decompress)(struct acomp_req *req);
int (*init)(struct crypto_acomp *tfm);
void (*exit)(struct crypto_acomp *tfm);
union {
struct COMP_ALG_COMMON;
struct comp_alg_common calg;
};
};
π«Ά Members π«Ά
compressβ Function performs a compress operation. Compression queen behavior πdecompressβ Function performs a de-compress operation. Un-compress bestie, no stress πinitβ Initialize the cryptographic transformation object. This function is used to initialize the cryptographic transformation object. This function is called only once at the instantiation time, right after the transformation context was allocated. In case the cryptographic hardware has some special requirements which need to be handled by software, this function shall check for the precise requirement of the transformation and put any software fallbacks in place. Setup-queen energy, honestly πexitβ Deinitialize the cryptographic transformation object. This is a counterpart toinit, used to remove various changes set ininit. Cleanup icon behavior π§Ή{unnamed_union}β anonymous. That's literally the whole description, bestie πCOMP_ALG_COMMONβ seestruct comp_alg_common.calgβ Cmonn algorithm data structure shared withscomp.
π SEE ALSO π
- Kernel file
./include/crypto/internal/acompress.hβ that's the file, iykyk ποΈ crypto_register_acomp(9),crypto_unregister_acomp(9)β the related manual pages, periodt π₯
Okay bestie, that's the whole page π
π β source/version ./include/crypto/internal, dated October 2026, and the page is struct acomp_alg(9). 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