fill_gap(9)
π NAME π
okay bestie, welcome to the fill_gap(9) page from the Kernel API Manual π This is the function that will make index nodes in gaps in dirty index LEBs. Thatβs the whole name vibe, and honestly? iconic π
β¨ SYNOPSIS β¨
int fill_gap (struct ubifs_info *c , int lnum , int gap_start , int gap_end , int *dirt );
π ARGUMENTS π
cβ the UBIFS file-system description object, aka the main character of this little operation π¦lnumβ the LEB number that the gap appears in, no cap πgap_startβ offset of start of gap, right at the beginning of the gap energy β¨gap_endβ offset of end of gap, where the gap finishes its little era πdirtβ adds dirty space to this, periodt π«Ά
π DESCRIPTION π
This function returns the number of index nodes written into the gap. Thatβs the description, bestie β short, sweet, and very much to the point πΈ
π SEE ALSO π
Kernel file ./fs/ubifs/tnc_commit.c β yes, thatβs the spot π
The whole SEE ALSO crew, gathered for the group chat:
make_idx_node(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 π β signed off from ./fs/ubifs, October 2026, all about fill_gap(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