ubifs_lpt_free(9)
πΈ ubifs_lpt_free β from the Kernel API Manual, bestie edition πΈ
Okay so bestie, we're in the ubifs_lpt_free(9) page today β yes, the (9) means kernel-internals section, we're deep in the kernel basement and it's iconic down here. π«Ά
β¨ NAME β¨
ubifs_lpt_free β free resources owned by the LPT.
Like, it releases the stuff the LPT is holding onto. That's the whole vibe check. π
π SYNOPSIS π
void ubifs_lpt_free (struct ubifs_info *c , int wr_only );
Returns nothing, takes two things, no drama. She's a void, she doesn't owe you a return value. π
π¦ ARGUMENTS π¦
cβ the UBIFS file-system description object. Basically the whole personality of your filesystem in one struct. ποΈwr_onlyβ free only resources used for writing. So if this is set, she's doing a partial cleanup, not the full send. Lowkey selective, highkey valid. β¨
π SEE ALSO π
So the source situation is: kernel file ./fs/ubifs/lpt_commit.c β that's the mothership. π And these are all her neighbors, the whole group chat fr fr:
first_dirty_cnode(9)next_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)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)
Yeah that's a lot of friends. She's popular. It's giving main character energy. π
π Real talk though: this is kernel-internal API, so it's not like a cute lil userland command you can just run. It's for people writing in ./fs/ubifs. Iykyk. π
And that's the page! π This lil beauty lives in ./fs/ubifs, dated October 2026, and goes by ubifs_lpt_free(9) β π mwah, go free those resources bestie, ily π
π¦ 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