ubifs_calc_min_idx_lebs(9)
β¨ NAME β¨
okay so this is ubifs_calc_min_idx_lebs(9) from the Kernel API Manual, and it is literally here to calculate the amount of LEBs for the index π
πΈ SYNOPSIS πΈ
int ubifs_calc_min_idx_lebs (struct ubifs_info *c );
π ARGUMENTS π
cβ the UBIFS file-system description object, bestie π«Ά
π¦ DESCRIPTION π¦
okay so this function calculates and returns the number of LEBs which should be kept for index usage β¨ no cap, thatβs the whole job π
π SEE ALSO π
Kernel file ./fs/ubifs/budget.c:
shrink_liability(9)run_gc(9)get_liability(9)make_free_space(9)ubifs_calc_available(9)can_use_rp(9)do_budget_space(9)calc_idx_growth(9)calc_data_growth(9)calc_dd_growth(9)ubifs_budget_space(9)ubifs_release_budget(9)ubifs_convert_page_budget(9)ubifs_release_dirty_inode_budget(9)ubifs_reported_space(9)ubifs_get_free_space_nolock(9)ubifs_get_free_space(9)
mwah π sign-off time: source/version is ./fs/ubifs, dated October 2026, and this iconic page is ubifs_calc_min_idx_lebs(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