STRUCT UBIFS_CNODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct ubifs_cnode(9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” this page is literally all about struct ubifs_cnode, aka the LEB Properties Tree common node. yes it's a struct. yes it's important. no you cannot skip it πŸ’…


✨ NAME ✨

struct ubifs_cnode β€” the LEB Properties Tree common node. that's it, that's the name, she's iconic and she knows it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole shape of her, no cap:

struct ubifs_cnode {
    struct ubifs_nnode *parent;
    struct ubifs_cnode *cnext;
    unsigned long flags;
    int iip;
    int level;
    int num;
 };

πŸ’– Members πŸ’–

okay so let's go through her fields one by one, main character by main character ✨

  • parent β€” the parent nnode. her mom, basically 🫢
  • cnext β€” the next cnode to commit. the queue is queuing 😭
  • flags β€” her flags, and they're only ever DIRTY_LPT_NODE or OBSOLETE_LPT_NODE. pick a lane, girl πŸ’…
  • iip β€” index in parent. where she sits at the family table πŸ“
  • level β€” her level in the tree. and listen: it's zero for pnodes, and greater than zero for nnodes. important detail, don't forget it πŸ‘‘
  • num β€” the node number. just her little id number, ngl πŸ”₯

🌈 SEE ALSO 🌈

bestie there are SO many friends on this list, iykyk. also she lives in the kernel file ./fs/ubifs/ubifs.h, in case you were wondering where she hangs out πŸ¦‹

  • 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_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_branch_hash(9)
  • ubifs_copy_hash(9)
  • ubifs_auth_node_sz(9)

lowkey a whole friend group fr fr πŸ’€ read them all, they're all slaying in their own way πŸ’œ

aaaand that's the page, bestie!! 🧚✨ this little masterpiece came from the kernel file ./fs/ubifs, dated October 2026 β€” so go forth and stan struct ubifs_cnode(9) responsibly. mwah πŸ’‹πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from