next_dirty_cnode(9)
π next_dirty_cnode(9) β like, the Kernel API Manual bestie β¨
okay so real talk, this is a page straight out of the Kernel API Manual β section 9, kernel-level grind, no big deal π
πΈ NAME πΈ
next_dirty_cnode β find next dirty cnode. that's it. that's the whole vibe π
β¨ SYNOPSIS β¨
struct ubifs_cnode * next_dirty_cnode (const struct ubifs_info *c ,
struct ubifs_cnode *cnode );
literally the whole signature, copy it exactly, don't @ me π«Ά
π¦ ARGUMENTS π¦
cβ the UBIFS file-system description object. yeah she's the whole filesystem in a struct, main character energy fr πcnodeβ the cnode you start searching from. your starting point, your launchpad, your beginning bestie π«
π DESCRIPTION π
so this function returns the next dirty cnode π§ and if there isn't one? it returns NULL. that's it. that's the tea. no cap, no extra lore, no secret behaviour β NULL when there's nothing dirty left to find π
π SEE ALSO π
okay this list is long but I'm not skipping a single one of them because every single one of these is iconic in her own way π
also shoutout to the kernel file ./fs/ubifs/lpt_commit.c where all this lives π
first_dirty_cnode(9)get_cnodes_to_commit(9)upd_ltab(9)alloc_lpt_leb(9)layout_cnodes(9)realloc_lpt_leb(9)write_cnodes(9)next_pnode_to_dirty(9)add_pnode_dirt(9)do_make_pnode_dirty(9)make_tree_dirty(9)need_write_all(9)lpt_tgc_start(9)lpt_tgc_end(9)populate_lsave(9)nnode_lookup(9)make_nnode_dirty(9)make_pnode_dirty(9)make_ltab_dirty(9)make_lsave_dirty(9)make_node_dirty(9)get_lpt_node_len(9)get_pad_len(9)get_lpt_node_type(9)is_a_node(9)lpt_gc_lnum(9)lpt_gc(9)ubifs_lpt_start_commit(9)free_obsolete_cnodes(9)ubifs_lpt_end_commit(9)ubifs_lpt_post_commit(9)first_nnode(9)next_nnode(9)ubifs_lpt_free(9)dbg_is_all_ff(9)dbg_is_nnode_dirty(9)dbg_is_pnode_dirty(9)dbg_is_ltab_dirty(9)dbg_is_lsave_dirty(9)dbg_is_node_dirty(9)dbg_check_ltab_lnum(9)dbg_check_ltab(9)dbg_chk_lpt_free_spc(9)dbg_chk_lpt_sz(9)dump_lpt_leb(9)ubifs_dump_lpt_lebs(9)dbg_populate_lsave(9)
bestie real talk: it returns NULL if there is not one. that's the actual contract, don't go assuming anything else, iykyk π
k bye ily, this page came from ./fs/ubifs and it's dated October 2026 β go read your cnodes, slay πβ¨
π¦ 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