change_category(9)
π change_category(9) β like, the LEB properties glow-up page
okay so this is a page from the Kernel API Manual, section 9, and it's all about change_category. yes bestie, we're in kernel-land today, put your hair up π
β¨ NAME β¨
change_category β the function that changes the category of LEB properties. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
void change_category (struct ubifs_info *c , struct ubifs_lprops *lprops );
it returns nothing (void, icon behaviour honestly) and it takes exactly two things. no more, no less π
π«Ά ARGUMENTS π«Ά
cβ the UBIFS file-system description object. like, the whole file system's little info card πlpropsβ the LEB properties we're gonna re-categorize. yes, the LEB properties. they're getting a whole new aesthetic β¨
π DESCRIPTION π
so here's the tea β β LEB properties get sorted into categories so that find operations can be fast. that's the whole point of the categorization, bestie, speed ποΈ
and the way that they change, okay, is that when the LEB properties themselves change, they must be re-categorized. not "should", not "maybe", must. no cap. π₯
fr fr, if the properties change and you don't re-categorize, the fast-find situation is not gonna be slaying the way you want it to. keep them categories fresh π§
π SEE ALSO π
the whole friend group, periodt. the kernel file lives at ./fs/ubifs/lprops.c, and these are all the siblings and cousins and mutuals:
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)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)ubifs_fast_find_frdi_idx(9)dbg_check_cats(9)scan_check_cb(9)dbg_check_lprops(9)
go read them all, iykyk π
and that's the page!! this little gem comes from the source area ./fs/ubifs, dated October 2026, and it's chilling in section 9 of the Kernel API Manual β mwah, bye bestie, go re-categorize responsibly ππ
π¦ 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