STRUCT UBIFS_CNODE(9)
πΈ 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 everDIRTY_LPT_NODEorOBSOLETE_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
- 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