update_cats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_cats(9) β€” like, the kernel API manual but make it make sense

okay so bestie, you've wandered into update_cats(9), which lives in the Kernel API Manual section 9 (iykyk, that's the kernel-functions girlies). pull up a chair, we're talking about UBIFS internals and honestly it's giving main character energy ✨


🌸 NAME 🌸

update_cats β€” no cap, this one adds LEB properties of a pnode to LEB category lists and heaps. that's the whole vibe. that's what she does πŸ’…


✨ SYNOPSIS ✨

void update_cats (struct ubifs_info *c , struct ubifs_pnode *pnode );

like, literally that. nothing returns, she's a void girlie, we respect it 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object. your whole filesystem's little biography, basically πŸ’–
  • pnode β€” a pnode. yes bestie, that's the description. it's a pnode. that's the lore πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the situation: when a pnode gets loaded into memory, the LEB properties it's carrying around get added β€” by this very function β€” to the LEB category lists and heaps. that's the tea β˜• that's it. that's the whole plot.

like, pnode walks in the door πŸšͺ✨ and update_cats is right there being like "hi bestie, let me file all your LEB properties into the category lists and heaps for you." iconic behavior honestly πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

the friend group, the whole group chat, every single one of them (and yes we're listing all of them, don't @ me):


ok that's the whole page bestie, go forth and update those cats πŸˆβ€β¬›πŸ’œ

and finally, the little sign-off so you know where this came from: this page lives under ./fs/ubifs and it's dated October 2026. slay 🌈⭐

πŸ“¦ where this page comes from