free_idx_lebs(9)
π¦ free_idx_lebs(9) β Kernel API Manual π¦
β¨ NAME β¨
okay so bestie, meet free_idx_lebs β the Kernel API Manual page free_idx_lebs(9) whose whole thing is, literally, to free unused LEBs after commit end. No cap, that's the name and the vibe. π
β¨
π οΈ SYNOPSIS π οΈ
int free_idx_lebs (struct ubifs_info *c );
π«Ά ARGUMENTS π«Ά
cβ the UBIFS file-system description object. That's it; she's lowkey low-maintenance on the argument front. π
π DESCRIPTION π
This function returns 0 on success and a negative error code on failure. Periodt. So if you get 0, slay; if it's negative, that's the failure signal, bestie. π
π SEE ALSO π
Kernel file ./fs/ubifs/tnc_commit.c β yes, the source file, go check it β plus these absolutely iconic references, all in their (9) era:
make_idx_node(9)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)ubifs_tnc_start_commit(9)write_index(9)free_obsolete_znodes(9)return_gap_lebs(9)ubifs_tnc_end_commit(9)
this page's source/version is ./fs/ubifs, dated October 2026, and it lives under free_idx_lebs(9). bye bestie, stay iconic! ππ
π¦ 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