__ubifs_hash_get_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __ubifs_hash_get_desc(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual page for __ubifs_hash_get_desc(9) β€” yes that's the whole title, it's giving very "written by someone who names their variables c" energy, and honestly? we respect it. grab a snack, this one's short but iconic πŸŽ€


✨ NAME ✨

__ubifs_hash_get_desc β€” get a descriptor suitable for hashing a node 🌸

like, it goes and fetches you a hash descriptor. that's the whole job. main character energy honestly πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct shash_desc * __ubifs_hash_get_desc (const struct ubifs_info *c );

that's it. one function, one argument, returns a struct shash_desc *. no cap 🫢


πŸ’– ARGUMENTS πŸ’–

  • c β€” the UBIFS file-system description object. yeah. that's the entire description. it's the filesystem's little info bundle, and the function needs it to do its thing ✨

🌈 DESCRIPTION 🌈

okay so here's the tea: this function returns a descriptor suitable for hashing a node. that's the vibe. it hands you back a struct shash_desc * and you go off and hash your node with it πŸ’…

⚠️ important bestie: free after use with kfree. like, you got the descriptor, you used the descriptor, now you kfree it. don't just leave it lying around, that's a leak and leaks are not slay πŸ˜­πŸ’€

🧚 SEE ALSO 🧚

all the siblings and cousins, in the order they showed up β€” they're all hanging out in the kernel file ./fs/ubifs/auth.c together πŸ“:

iykyk πŸ”₯


omg wait, almost forgot the sign-off 🫢 this whole page lives in ./fs/ubifs, dated October 2026, and it's serving Kernel API Manual realness from the source/version line. periodt. go hash something and kfree it after, love u bye πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from