nx842_powernv_decompress(9)
π
nx842_powernv_decompress(9) π
okay so you're in the Kernel API Manual, bestie, and this page is literally all about nx842_powernv_decompress β the decompression girly powered by the NX842 coprocessor πΈ
β¨ NAME β¨
nx842_powernv_decompress β decompress data using the 842 algorithm π
π¦ SYNOPSIS π¦
int nx842_powernv_decompress (const unsigned char *in , unsigned int
inlen , unsigned char *out , unsigned int *outlenp , void *wmem );
π ARGUMENTS π
inβ input buffer pointer, aka where the compressed data lives πinlenβ input buffer size, so we know how much input tea there is π΅outβ output buffer pointer, the spot where the decompressed result goes β¨outlenpβ output buffer size pointer, because we gotta track the size situation πwmemβ working memory buffer pointer; its size is determined bynx842_powernv_driver.workmem_sizeπ§
π DESCRIPTION π
Decompression provided by the NX842 coprocessor on IBM PowerNV systems, no cap π₯ The input buffer is decompressed and the result is stored in the provided output buffer. That's the whole main-character job π
Upon return from this function outlen contains the length of the decompressed 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 yeah β zero means something went sideways, bestie π
π RETURN π
see nx842_powernv_exec β
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/crypto/nx/nx-common-powernv.c nx842_exec_icswx(9)nx842_exec_vas(9)nx842_powernv_compress(9)
signed off with source/version ./drivers/crypto/nx, dated October 2026 β periodt, 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