STRUCT UBIFS_PNODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ubifs_pnode(9) πŸ’–

okay so bestie, welcome to the struct ubifs_pnode(9) page from the Kernel API Manual β€” this is the LEB Properties Tree leaf node, and she is literally the moment πŸ’…


🌸 NAME 🌸

struct ubifs_pnode β€” LEB Properties Tree leaf node. periodt.


✨ SYNOPSIS ✨

here's the whole struct, copy it exactly, no cap:

struct ubifs_pnode {
    struct ubifs_nnode *parent;
    struct ubifs_cnode *cnext;
    unsigned long flags;
    int iip;
    int level;
    int num;
    struct ubifs_lprops lprops[UBIFS_LPT_FANOUT];
 };

πŸŽ€ Members πŸŽ€

okay so let's meet the cast, main character energy only:

  • parent β€” her parent nnode 🫢 (yes she's a nepo baby, it's fine)
  • cnext β€” the next cnode to commit ✨
  • flags β€” the flags, which are DIRTY_LPT_NODE or OBSOLETE_LPT_NODE πŸ”₯
  • iip β€” index in parent πŸ‘‘
  • level β€” level in the tree, and ngl this one is always zero for pnodes πŸ’€ like she refuses to climb, iconic
  • num β€” node number πŸŽ€
  • lprops β€” LEB properties array 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/ubifs/ubifs.h β€” and oml the friend group is HUGE, iykyk, every single one:

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_cnode(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)

slay. that's the whole group chat. πŸ’œ


k bye bestie, this page lives at ./fs/ubifs, dated October 2026, and it's the struct ubifs_pnode(9) manual page β€” go read the kernel source, ily, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from