STRUCT UBIFS_SCAN_LEB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ubifs_scan_leb(9) β€” the Kernel API Manual tea πŸŽ€

okay so bestie, buckle up, because this is a page straight out of the Kernel API Manual ✨ and it's all about struct ubifs_scan_leb β€” the little icon that holds all the info from a UBIFS scanned LEB πŸ‘‘ no cap, that's literally what NAME says.


✨ NAME ✨

struct ubifs_scan_leb β€” UBIFS scanned LEB information πŸ¦‹


🌸 SYNOPSIS 🌸

struct ubifs_scan_leb {
    int lnum;
    int nodes_cnt;
    struct list_head nodes;
    int endpt;
    void *buf;
 };

πŸŽ€ Members πŸŽ€

time for the vibe check on every single field, and yes we're doing all of them πŸ’–

  • lnum β€” the logical eraseblock number πŸ“ (like, which LEB are we even talking about, iykyk)
  • nodes_cnt β€” the number of nodes scanned πŸ”₯ that's the count, periodt
  • nodes β€” the list of struct ubifs_scan_node 🌈 (it's a list, she contains scan nodes, that's the whole thing)
  • endpt β€” the end point (and therefore the start of empty space) 🫢 lowkey important, highkey iconic
  • buf β€” the buffer containing the entire LEB scanned πŸ’œ like, the whole LEB, in a buffer, as one treats

πŸ’« SEE ALSO πŸ’«

okay the friend group is LARGE and honestly every single one of them is invited to the group chat πŸ’… the kernel file in question is ./fs/ubifs/ubifs.h, and here's everyone:

  • struct ubifs_old_idx(9)
  • struct ubifs_scan_node(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_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)

ngl there are zero warnings and zero bugs on this page, so you're free to just vibe πŸ˜­πŸ’€ but do read the actual fields, they're doing real work.

and that's the whole page bestie, we ate and left no crumbs πŸ§šπŸ’– this one lives in ./fs/ubifs and it's dated October 2026 β€” so yeah, future icon behavior 🌈⭐ signing off, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from