STRUCT UBIFS_BUDG_INFO(9)
π NAME π
okay so this is the struct ubifs_budg_info(9) page from the Kernel API Manual β yes bestie, manual name right there near the top like a little name tag, section 9 and everything. π·οΈβ¨
struct ubifs_budg_info β UBIFS budgeting information. that's the whole vibe: UBIFS keeps its budgeting receipts in this struct, no cap. π§Ύπ
πΈ SYNOPSIS πΈ
here's the exact shape of it, character for character β do not let the cute energy make you think you can rename a field, bestie:
struct ubifs_budg_info {
long long idx_growth;
long long data_growth;
long long dd_growth;
long long uncommitted_idx;
unsigned long long old_idx_sz;
int min_idx_lebs;
unsigned int nospace:1;
unsigned int nospace_rp:1;
int page_budget;
int inode_budget;
int dent_budget;
};
π MEMBERS π
bestie, here's the whole roster β every single field, no skips, no "omg I forgot one" energy:
idx_growthβ the amount of bytes budgeted for index growth πΈdata_growthβ the amount of bytes budgeted for cached data β¨dd_growthβ the amount of bytes budgeted for cached data that will make other data dirty π«§uncommitted_idxβ the amount of bytes that were budgeted for growth of the index, but which still have to be taken into account because the index has not been committed so far β yes, it's giving "pending receipts" πold_idx_szβ size of the index on flash π₯min_idx_lebsβ minimum number of LEBs required for the index πnospaceβ non-zero if the file-system does not have flash space (used as optimization) πnospace_rpβ the same asnospace, but additionally means that even reserved pool is full πpage_budgetβ budget for a page (constant, never changed after mount) π¦inode_budgetβ budget for an inode (constant, never changed after mount) πΈdent_budgetβ budget for a directory entry (constant, never changed after mount) π
π SEE ALSO π
okay so if you're going down the UBIFS rabbit hole β and honestly you should, it's giving main character energy β the Kernel file is ./fs/ubifs/ubifs.h. then go see this whole friend group:
struct ubifs_old_idx(9)struct ubifs_scan_node(9)struct ubifs_scan_leb(9)struct ubifs_gced_idx_leb(9)struct ubifs_inode(9)struct ubifs_unclean_leb(9)struct ubifs_lprops(9)struct ubifs_lpt_lprops(9)struct ubifs_lp_stats(9)struct ubifs_cnode(9)struct ubifs_pnode(9)struct ubifs_nbranch(9)struct ubifs_nnode(9)struct ubifs_lpt_heap(9)struct ubifs_wbuf(9)struct ubifs_bud(9)struct ubifs_jhead(9)struct ubifs_zbranch(9)struct ubifs_znode(9)struct bu_info(9)struct ubifs_node_range(9)struct ubifs_compressor(9)struct ubifs_budget_req(9)struct ubifs_orphan(9)struct ubifs_mount_opts(9)struct ubifs_stats_info(9)struct ubifs_info(9)ubifs_check_hash(9)ubifs_check_hmac(9)ubifs_branch_hash(9)ubifs_copy_hash(9)ubifs_auth_node_sz(9)
mwah π β this page lives in ./fs/ubifs, dated October 2026, and it's the struct ubifs_budg_info(9) page in the Kernel API Manual. bye bestie, go budget something 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