calc_idx_growth(9)
calc_idx_growth(9) π
okay so bestie, welcome to the Kernel API Manual β this page is all about calc_idx_growth(9), and it is literally here to calculate approximate index growth from a budgeting request. no cap. π¦
π NAME π
calc_idx_growth β calculate approximate index growth from budgeting request.
β¨ SYNOPSIS β¨
int calc_idx_growth (const struct ubifs_info *c , const struct ubifs_budget_req *req );
π«Ά ARGUMENTS π«Ά
cβ UBIFS file-system description object β that's the filesystem's little description object, bestie. πΈreqβ budgeting request β the request doing the budgeting vibe. π
π DESCRIPTION π
okay so, for now we assume each new node adds one znode. But ngl, that is a rather poor approximation, though. π it's giving "close enough" but make it kernel budgeting.
π SEE ALSO π
Kernel file ./fs/ubifs/budget.c, plus the whole squad:
shrink_liability(9)run_gc(9)get_liability(9)make_free_space(9)ubifs_calc_min_idx_lebs(9)ubifs_calc_available(9)can_use_rp(9)do_budget_space(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)
k bye bestie π«Ά β source/version: ./fs/ubifs Β· date: October 2026 Β· this page is calc_idx_growth(9) and it ate. π
π¦ 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