ubifs_fast_find_frdi_idx(9)
π ubifs_fast_find_frdi_idx π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel docs now, and yes this one is an actual function called ubifs_fast_find_frdi_idx. It's a lil' UBIFS helper and honestly it's giving "quick vibe check" energy. Let's get into it π
β¨ NAME β¨
ubifs_fast_find_frdi_idx β the function that tries to find a freeable index LEB, and does it quickly. Key word: tries. Lowkey it's a speedrun, not a guarantee πββοΈπ¨
πΈ SYNOPSIS πΈ
const struct ubifs_lprops * ubifs_fast_find_frdi_idx (struct ubifs_info
*c );
the way that return type is const struct ubifs_lprops *... iconic. note the lil' *c hanging out there on its own line, she's just built like that π
π ARGUMENTS π
cβ the UBIFS file-system description object. that's the whole thing, bestie, that's all she needs π«Ά
π¦ DESCRIPTION π¦
So what does she actually do? This function returns LEB properties for a freeable index LEB β or NULL if the function is unable to find a freeable index LEB quickly. fr fr that's it. no cap β¨
read that again though, because the NULL part is important: she's allowed to just shrug and hand you NULL when she can't find one quickly. it's not a bug, it's the whole design. ngl that's kind of main character energy β she doesn't overcommit π
π₯ SEE ALSO π₯
Kernel file ./fs/ubifs/lprops.c β and honestly the whole lprops friend group showed up, look at this roster ππ
get_heap_comp_val(9)move_up_lpt_heap(9)adjust_lpt_heap(9)add_to_lpt_heap(9)remove_from_lpt_heap(9)lpt_heap_replace(9)ubifs_add_to_cat(9)ubifs_remove_from_cat(9)ubifs_replace_cat(9)ubifs_ensure_cat(9)ubifs_categorize_lprops(9)change_category(9)ubifs_calc_dark(9)is_lprops_dirty(9)ubifs_change_lp(9)ubifs_get_lp_stats(9)ubifs_change_one_lp(9)ubifs_update_one_lp(9)ubifs_read_one_lp(9)ubifs_fast_find_free(9)ubifs_fast_find_empty(9)ubifs_fast_find_freeable(9)dbg_check_cats(9)scan_check_cb(9)dbg_check_lprops(9)
the "fast find" girlies are all here β ubifs_fast_find_free, ubifs_fast_find_empty, ubifs_fast_find_freeable β it's a whole squad at this point, iykyk π
annnnd that's the page! mwah π shoutout to the source dir ./fs/ubifs and the date October 2026 β the Kernel API Manual said see you next time, bestie πβ¨π¦
π¦ 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