ubifs_decompress_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so bestie, welcome to the ubifs_decompress_folio(9) page from the Kernel API Manual πŸ’– this is literally ubifs_decompress_folio β€” decompress folio. that's the whole vibe. periodt. πŸ‘‘


✨ SYNOPSIS ✨

here's the signature, and yes u gotta copy it exactly because kernel code does not play πŸ™ˆ:

int ubifs_decompress_folio (const struct ubifs_info *c , const void
       *in_buf , int in_len , struct folio *out_folio , size_t out_offset , int
       *out_len , int compr_type );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object, aka the context for this whole decompression moment 🫢
  • in_buf β€” data to decompress, the compressed input bestie πŸ’…
  • in_len β€” length of the data to decompress, so how many bytes are coming in ✨
  • out_folio β€” output folio where decompressed data should go, the landing spot 🎯
  • out_offset β€” offset into out_folio πŸ“
  • out_len β€” output length is returned here, so that's where the uncompressed length lands πŸ“
  • compr_type β€” type of compression, the compression flavor 🌈

πŸ’– DESCRIPTION πŸ’–

okay so this function decompresses data from buffer in_buf into folio out_folio ✨ the length of the uncompressed data is returned in out_len πŸ“ this functions returns 0 on success or a negative error code on failure β€” no cap, that's the whole deal πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

check out the related lore, bestie:


and that's the tea πŸ“ signing off from ./fs/ubifs πŸ’œ dated October 2026, on the ubifs_decompress_folio(9) page β€” bye, ily! πŸŽ€ slay responsibly ✨

πŸ“¦ where this page comes from