ubifs_get_lp_stats(9)
π ubifs_get_lp_stats(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel docs now, and honestly? iconic. this one's a tiny little function from the UBIFS corner of the kernel, and it's giving "small but mighty" energy.
β¨ NAME β¨
ubifs_get_lp_stats β get lprops statistics. that's it, that's the whole vibe. it grabs you the lprops stats. π
πΈ SYNOPSIS πΈ
void ubifs_get_lp_stats (struct ubifs_info *c , struct ubifs_lp_stats
*lst );
no return value, no drama β it's void, it just does the thing and dips. π
π¦ ARGUMENTS π¦
cβ the UBIFS file-system description object. like, the whole file system's little ID card, y'know? you gotta hand it over so it knows which file system we're talking about. π«Άlstβ the return statistics. this is where the stats actually land β it's the lil bucket you're passing in, and the function fills it up. no cap. β¨
π₯ SEE ALSO π₯
okay so this function does not roll alone β it's part of a whole friend group over in Kernel file ./fs/ubifs/lprops.c, and here's the entire squad, no one left out:
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_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)ubifs_fast_find_frdi_idx(9)dbg_check_cats(9)scan_check_cb(9)dbg_check_lprops(9)
like, that's the whole group chat. go read them too, bestie, iykyk. π
ngl there's not much else on this page β it's a short one, and sometimes short is slay. π
and that's the whole page, periodt. this little masterpiece lives in ./fs/ubifs, dated October 2026 β so mark your calendar, screenshot it, frame it, whatever. bye bestie, go read some lprops ππβ
π¦ 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