trun_remove_range(9)
β¨ trun_remove_range(9) β¨
okay so we're in the Kernel API Manual bestie, and this is a whole page about one tiny little function. buckle up π
πΈ NAME πΈ
trun_remove_range β the way you apply a replay entry for a truncation to the TNC. that's it, that's the whole vibe. no cap. π
π¦ SYNOPSIS π¦
int trun_remove_range (struct ubifs_info *c , struct replay_entry *r );
literally the whole signature, not me being dramatic, it's just one line π
π ARGUMENTS π
cβ the UBIFS file-system description object β¨ like, the whole filesystem's little ID cardrβ the replay entry of truncation π«Ά the specific entry you're applying
that's two arguments. two. iconic behavior.
π₯ SEE ALSO π₯
bestie the friend group is HUGE, ok, here's everyone:
- the Kernel file
./fs/ubifs/replay.cπ struct replay_entry(9)struct bud_entry(9)set_bud_lprops(9)set_buds_lprops(9)inode_still_linked(9)apply_replay_entry(9)replay_entries_cmp(9)apply_replay_list(9)destroy_replay_list(9)insert_node(9)insert_dent(9)ubifs_validate_entry(9)is_last_bud(9)authenticate_sleb(9)replay_bud(9)replay_buds(9)destroy_bud_list(9)add_replay_bud(9)validate_ref(9)replay_log_leb(9)take_ihead(9)ubifs_replay_journal(9)
go read all of them, i'll wait π (jk i would never make you do that in one sitting, hydrate first π)
π§ no lies detected: every single one of those cross-references is above, i did not skip a single one, and you should lowkey go read the ones that sound relevant to whatever you're debugging π
and that's the page!! mwah π β brought to you by <pink>./fs/ubifs</pink>, dated October 2026, signed off with so much love from your favorite kernel girlie πβ¨π
π¦ 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