__ubifs_node_calc_hash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __ubifs_node_calc_hash(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this is the page for __ubifs_node_calc_hash β€” yes the one with the double underscore, she's special like that πŸŽ€


🌸 NAME 🌸

__ubifs_node_calc_hash β€” calculate the hash of a UBIFS node 🧚

πŸ¦‹ SYNOPSIS πŸ¦‹

int __ubifs_node_calc_hash (const struct ubifs_info *c , const void
       *node , u8 *hash );

πŸ’– ARGUMENTS πŸ’–

  • c β€” the UBIFS file-system description object πŸ—‚οΈ like, this is the whole vibe of the filesystem in one struct, she's the main character
  • node β€” the node you want a hash for. yes, that node. hand her over πŸ”₯
  • hash β€” the returned hash πŸ’« it comes back out through here, so this is your output spot, don't lose it

🌈 DESCRIPTION 🌈

The way this function just... does the thing πŸ’… it returns 0 for success, or a negative error code otherwise. that's it, that's the whole description, no cap 😭

fr fr: 0 = slay, negative = something went sideways πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./fs/ubifs/auth.c β€” go read her, she's iconic πŸ“– and also these besties:


and that's the page, bestie 🫢 sourced straight from ./fs/ubifs, dated October 2026, living under the Kernel API Manual umbrella β€” periodt πŸ’œβ­

πŸ“¦ where this page comes from