STRUCT UBIFS_NBRANCH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, welcome to the Kernel API Manual side of the group chat 🫢 β€” today’s main character is struct ubifs_nbranch, aka the LEB Properties Tree internal node branch. It’s giving tiny struct, very β€œI’m part of a tree, deal with it” energy. πŸŽ€

πŸ¦‹ NAME πŸ¦‹

struct ubifs_nbranch β€” LEB Properties Tree internal node branch. That’s the name, no cap. ✨

🌸 SYNOPSIS 🌸

struct ubifs_nbranch {
    int lnum;
    int offs;
    union {
      struct ubifs_nnode *nnode;
      struct ubifs_pnode *pnode;
      struct ubifs_cnode *cnode;
    };
 };

πŸŽ€ Members πŸŽ€

  • lnum β€” LEB number of child. πŸ’…
  • offs β€” offset of child. πŸ¦‹
  • {unnamed_union} β€” anonymous. Yes, literally anonymous β€” the docs said what they said. πŸ’€
  • nnode β€” nnode child. 🫢
  • pnode β€” pnode child. 🌸
  • cnode β€” cnode child. ⭐

🌈 SEE ALSO 🌈

Kernel file ./fs/ubifs/ubifs.h is where it lives, and the whole squad pulls up here:

  • 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_pnode(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)

mwah πŸ’‹ β€” source: ./fs/ubifs, date/version: October 2026, and this was the struct ubifs_nbranch(9) page. Go slay your kernel reading, bestie. 🧚✨

πŸ“¦ where this page comes from