find_old_idx(9)
π NAME π
Okay bestie, this is find_old_idx(9) from the Kernel API Manual β¨ Its whole job? Find an index node obsoleted since the last commit start. That's the vibe, that's the mission, periodt. π
πΈ SYNOPSIS πΈ
int find_old_idx (struct ubifs_info *c , int lnum , int offs );
π ARGUMENTS π
cβ UBIFS file-system description object. Main-character filesystem info, got it π«Άlnumβ LEB number of obsoleted index node. Like, which LEB we're checking πoffsβ offset of obsoleted index node. The exact little spot inside it, no cap π
β¨ DESCRIPTION β¨
Returns 1 if found and 0 otherwise. That's literally it, bestie: found = 1 π, not found = 0 π«Ά. No extra plot twists.
π¦ SEE ALSO π¦
Go peek at the Kernel file ./fs/ubifs/tnc_commit.c and these iconic functions:
make_idx_node(9)fill_gap(9)is_idx_node_in_use(9)layout_leb_in_gaps(9)get_leb_cnt(9)layout_in_gaps(9)layout_in_empty_space(9)layout_commit(9)find_first_dirty(9)find_next_dirty(9)get_znodes_to_commit(9)alloc_idx_lebs(9)free_unused_idx_lebs(9)free_idx_lebs(9)ubifs_tnc_start_commit(9)write_index(9)free_obsolete_znodes(9)return_gap_lebs(9)ubifs_tnc_end_commit(9)
Mwah π that's the page, bestie. Source/version: ./fs/ubifs π Date: October 2026 π Manual: find_old_idx(9) π
π¦ 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