find_dirtiest_idx_leb(9)
π NAME π
find_dirtiest_idx_leb β bestie, this one literally finds the dirtiest index LEB out of the dirtiest array. That's the whole job. That's the assignment. π
(and yes, this is the Kernel API Manual, section 9 β we love a section-9 moment, iykyk π)
β¨ SYNOPSIS β¨
int find_dirtiest_idx_leb (struct ubifs_info *c );
That's it. One function, one arg, returns an int. Clean lines, no notes. π¦
π«Ά ARGUMENTS π«Ά
cβ the UBIFS file-system description object. It's your whole context for the filesystem you're poking at, ngl it's kind of the main character here. π
π SEE ALSO π
okay so the delegation is real on this one, she has a whole group chat of friends over in the kernel file ./fs/ubifs/find.c β go say hi to all of them:
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)ubifs_save_dirty_idx_lnums(9)scan_dirty_idx_cb(9)find_dirty_idx_leb(9)get_idx_gc_leb(9)ubifs_find_dirty_idx_leb(9)
fr fr that's the whole page, no cap β the dirtiest index LEB has been located, we ate and left no crumbs π β¨
signed off with love from ./fs/ubifs, dated October 2026 β the Kernel API Manual says mwah, go touch grass (after you read the source) ππ§π
π¦ 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