STRUCT UBIFS_COMPRESSOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct ubifs_compressor β€” the little struct that describes a UBIFS compressor, bestie. That's it, that's the whole vibe. πŸ’…

Oh and hey, this is from the Kernel API Manual β€” keep that in your notes for the quiz. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole entire struct, no cap, every line exactly as it is:

struct ubifs_compressor {
    int compr_type;
    struct crypto_acomp *cc;
    const char *name;
    const char *capi_name;
};

like... it's giving "small but mighty" and I'm obsessed. πŸŽ€


πŸ’– Members πŸ’–

every single field, explained with love, because you deserve to know:

  • compr_type β€” the compressor type, fr fr. Think UBIFS_COMPR_LZO, etc. That's the one. πŸ‘‘
  • cc β€” the cryptoapi compressor handle. your actual crypto connection, main character energy. πŸ”₯
  • name β€” the compressor name. literally just the name, slay. 🌸
  • capi_name β€” the cryptoapi compressor name. yes bestie, there are two names β€” name is the compressor name and capi_name is the cryptoapi compressor name, and both are const char *, and I need you to not mix them up πŸ™ˆ

🫢 SEE ALSO 🫢

girl. GIRL. buckle up, this list is long and I am not skipping a single one of them, because every one of these deserves its moment. πŸ’€

Kernel file ./fs/ubifs/ubifs.h β€” that's where the family lives, iykyk.

the whole friend group, one by one:

  • struct ubifs_old_idx(9)
  • struct ubifs_scan_node(9)
  • struct ubifs_scan_leb(9)
  • struct ubifs_gced_idx_leb(9)
  • struct ubifs_inode(9)
  • struct ubifs_unclean_leb(9)
  • struct ubifs_lprops(9)
  • struct ubifs_lpt_lprops(9)
  • struct ubifs_lp_stats(9)
  • struct ubifs_cnode(9)
  • struct ubifs_pnode(9)
  • struct ubifs_nbranch(9)
  • struct ubifs_nnode(9)
  • struct ubifs_lpt_heap(9)
  • struct ubifs_wbuf(9)
  • struct ubifs_bud(9)
  • struct ubifs_jhead(9)
  • struct ubifs_zbranch(9)
  • struct ubifs_znode(9)
  • struct bu_info(9)
  • struct ubifs_node_range(9)
  • struct ubifs_budget_req(9)
  • struct ubifs_orphan(9)
  • struct ubifs_mount_opts(9)
  • struct ubifs_budg_info(9)
  • struct ubifs_stats_info(9)
  • struct ubifs_info(9)
  • ubifs_check_hash(9)
  • ubifs_check_hmac(9)
  • ubifs_branch_hash(9)
  • ubifs_copy_hash(9)
  • ubifs_auth_node_sz(9)

that's the whole roster, every last one, periodt. 🌈⭐


okay that's the page!! 🧚 this one lives at ./fs/ubifs in the kernel tree, dated October 2026, and it's part of the Kernel API Manual β€” go forth and compress, bestie, you're gonna ate this πŸ’œπŸ“

πŸ“¦ where this page comes from