__ubifs_hash_get_desc(9)
π __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 withkfree. like, you got the descriptor, you used the descriptor, now youkfreeit. 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 π:
__ubifs_node_calc_hash(9)ubifs_hash_calc_hmac(9)ubifs_prepare_auth_node(9)ubifs_bad_hash(9)__ubifs_node_check_hash(9)ubifs_sb_verify_signature(9)ubifs_init_authentication(9)__ubifs_exit_authentication(9)ubifs_node_calc_hmac(9)__ubifs_node_insert_hmac(9)__ubifs_node_verify_hmac(9)ubifs_hmac_wkm(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms