make_idx_node(9)
π NAME π
make_idx_node β make an index node for fill-the-gaps method of TNC commit. periodt β¨
okay so you're looking at make_idx_node(9) from the Kernel API Manual, and it's giving βtiny but crucial UBIFS TNC commit helperβ energy. let's get into it, bestie π
β¨ SYNOPSIS β¨
the whole signature, no cap:
int make_idx_node (struct ubifs_info *c , struct ubifs_idx_node *idx ,
struct ubifs_znode *znode , int lnum , int offs , int len );
πΈ ARGUMENTS πΈ
here's the cast of parameters, and yes every single one matters π«Ά
cβ the UBIFS file-system description object. iconic context behavior.idxβ the buffer in which to place the new index node. that's where the new node goes πznodeβ the znode from which to make the new index node. source material, fr fr.lnumβ the LEB number where the new index node will be written. remember this number, bestie π₯offsβ the offset where the new index node will be written. location location location β¨lenβ the length of the new index node. gotta know the size π
π¦ SEE ALSO π¦
the kernel file ./fs/ubifs/tnc_commit.c is main-character energy, and these related pages are also in the group chat:
fill_gap(9)find_old_idx(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 π this page comes from ./fs/ubifs and is dated October 2026. go off, kernel bestie β periodt ππ
π¦ 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