ubifs_save_dirty_idx_lnums(9)
π ubifs_save_dirty_idx_lnums β like, the Kernel API Manual's own lil' star
okay so bestie, welcome to ubifs_save_dirty_idx_lnums(9), a genuine kernel function from the Kernel API Manual and honestly? she's a quiet icon. no cap.
β¨ NAME β¨
ubifs_save_dirty_idx_lnums β saves an array of the most dirty index LEB nos. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
int ubifs_save_dirty_idx_lnums (struct ubifs_info *c );
π ARGUMENTS π
cβ the UBIFS file-system description object. she's the main character of this whole situation, fr fr π«Ά
πΈ DESCRIPTION πΈ
okay so literally every single commit calls this function, right? and what she does is create an array of LEB numbers of dirty index LEBs, sorted in order of dirty and free space. like she's out here making a whole ranked list. organized queen. π
and what's that array even for? it's used by the in-the-gaps method of TNC commit. iykyk. π β¨
π₯ SEE ALSO π₯
the whole friend group, assembled π β Kernel file ./fs/ubifs/find.c and also:
struct scan_data(9)valuable(9)scan_for_dirty_cb(9)scan_for_dirty(9)ubifs_find_dirty_leb(9)scan_for_free_cb(9)do_find_free_space(9)ubifs_find_free_space(9)scan_for_idx_cb(9)scan_for_leb_for_idx(9)ubifs_find_free_leb_for_idx(9)scan_dirty_idx_cb(9)find_dirty_idx_leb(9)get_idx_gc_leb(9)find_dirtiest_idx_leb(9)ubifs_find_dirty_idx_leb(9)
and that's the whole page bestie!! shoutout to ./fs/ubifs (that's the source path, cutie π) and to October 2026 for the date stamp β this one was literally born ready. mwah ππ§ββοΈβ
π¦ 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