ubifs_branch_hash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ubifs_branch_hash(9) β€” the kernel API manual, bestie edition πŸŽ€

okay so this is ubifs_branch_hash, a kernel API manual page, and it's like... extremely straightforward, which honestly? iconic of it. no cap.


✨ NAME ✨

ubifs_branch_hash β€” returns a pointer to the hash of a branch πŸ¦‹


🌸 SYNOPSIS 🌸

u8 * ubifs_branch_hash (struct ubifs_info *c , struct ubifs_branch *br );

that's it. that's the whole call. she's not complicated, she's just serving ✨


πŸ’– ARGUMENTS πŸ’–

  • c β€” the UBIFS file-system description object. yes the whole file system, bestie, she's right there 🫢
  • br β€” the branch you want the hash from. give her the branch, she gives you the hash. slay 🌈

⭐ RETURN ⭐

so what do you actually get back? a pointer to the hash of a branch πŸ’…

and here's the little lore drop: since the key already is a dynamically sized object, we cannot use a struct member here. so no cute little field, no fixed slot β€” you get a pointer instead. lowkey the only option, and honestly it ate 😭


πŸ”₯ SEE ALSO πŸ”₯

the friend group, in full, no cuts β€” kernel file ./fs/ubifs/ubifs.h, plus:

  • 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_compressor(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_copy_hash(9)
  • ubifs_auth_node_sz(9)

like yes that's a lot of cross-references but they're all valid and they all deserve their moment πŸ‘‘


heads up bestie: this page genuinely has no warnings, no deprecated flags, no exit statuses, and no environment variables. what you see is what you get. don't go looking for drama that isn't there πŸ™ˆ

okay and finally, the sign-off πŸ’œ β€” this page lives in the kernel source at ./fs/ubifs, and its date stamp is October 2026. that's the whole vibe check, go get that hash pointer, ily, bye πŸ§šβœ¨πŸ“

πŸ“¦ where this page comes from