STRUCT UBIFS_SCAN_NODE(9)
β¨ struct ubifs_scan_node(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for struct ubifs_scan_node β literally the glow-up era of UBIFS docs π
this is the struct ubifs_scan_node(9) page and it's giving "small struct, big main character energy" π¦
π NAME π
struct ubifs_scan_node β UBIFS scanned node information. that's it, that's the vibe π
πΈ SYNOPSIS πΈ
struct ubifs_scan_node {
struct list_head list;
union ubifs_key key;
unsigned long long sqnum;
int type;
int offs;
int len;
void *node;
};
no cap, that's the whole shape of it β copy it exactly, don't be out here renaming fields π
π§ Members π§
okay so let's do a lil field-by-field tour, iykyk π
listβ list of scanned nodes. it's a linked-list situation, she's connected π«Άkeyβ key of node scanned (if it has one). note the "if it has one" β sometimes she's keyless, and that's valid πsqnumβ sequence number. it's anunsigned long long, so she goes big βtypeβ type of node scanned. a wholeintof category β¨offsβ offset with LEB of node scanned. LEB stands for log erase block, and yes,offsis anintπ₯lenβ length of node scanned. also anint, we love consistency πnodeβ raw node. literally avoid *pointing at the raw thing, no glow-up, no filter, just vibes π
ngl bestie, this one's a plain old struct β no functions, no return values, no exit statuses to worry about here. just fields, and every single one of them is listed above π
π¦ SEE ALSO π¦
Kernel file ./fs/ubifs/ubifs.h and friends β the whole squad, matching exactly, no one left out π«Ά:
struct ubifs_old_idx(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_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)
and that's the page bestie, you ate that π
this came from the ./fs/ubifs corner of the kernel, dated October 2026, and yes β the footer still says struct ubifs_scan_node(9) because we keep the receipts fr fr ππβ¨
π¦ 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