nx842_powernv_compress(9)
okay so bestie β this is nx842_powernv_compress(9), straight out of the Kernel API Manual, and it's literally the compress function for the 842 algorithm. no cap, every fact is staying, we're just giving it main character energy π
π NAME π
nx842_powernv_compress β Compress data using the 842 algorithm
β¨ SYNOPSIS β¨
here's the signature, copied exactly, don't @ me π«Ά
int nx842_powernv_compress (const unsigned char *in , unsigned int inlen
, unsigned char *out , unsigned int *outlenp , void *wmem );
π¦ ARGUMENTS π¦
inβ input buffer pointerinlenβ input buffer sizeoutβ output buffer pointeroutlenpβ output buffer size pointerwmemβ working memory buffer pointer, size determined bynx842_powernv_driver.workmem_size
π DESCRIPTION π
Compression provided by the NX842 coprocessor on IBM PowerNV systems. The input buffer is compressed and the result is stored in the provided output buffer. iconic behavior, honestly πΈ
Upon return from this function, outlen contains the length of the compressed data. If there is an error then outlen will be 0 and an error will be specified by the return code from this function. so if you see a zero, that's your vibe check saying something went wrong π
π₯ RETURN π₯
see nx842_powernv_exec β short and sweet, periodt.
π SEE ALSO π
Kernel file ./drivers/crypto/nx/nx-common-powernv.c nx842_exec_icswx(9), nx842_exec_vas(9), nx842_powernv_decompress(9)
mwah π this page came from source/version ./drivers/crypto/nx and is dated October 2026 β nx842_powernv_compress(9), out. π«Άβ¨
π¦ 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