STRUCT ACOMP_ALG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to init, used to remove various changes set in init. Cleanup icon behavior 🧹
  • {unnamed_union} β€” anonymous. That's literally the whole description, bestie πŸ™ˆ
  • COMP_ALG_COMMON β€” see struct comp_alg_common.
  • calg β€” Cmonn algorithm data structure shared with scomp.

🌈 SEE ALSO 🌈


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