STRUCT UBIFS_BUDG_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 as nospace, 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