STRUCT UBIFS_SCAN_LEB(9)
π 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, periodtnodesβ the list ofstruct 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 iconicbufβ 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
- 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