ubifs_remove_from_cat(9)
π ubifs_remove_from_cat(9) β the Kernel API Manual glow-up π
okay so bestie, this one's from the Kernel API Manual and it's lowkey a tiny little function with a very specific job. like, it's not doing a whole lot, but what it does? it eats. β¨
β¨ NAME β¨
ubifs_remove_from_cat β take LEB properties out of a category list or heap. that's it, that's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
void ubifs_remove_from_cat (struct ubifs_info *c , struct ubifs_lprops
*lprops , int cat );
no return value, no drama, it just returns void and goes about its day π
π¦ ARGUMENTS π¦
cβ the UBIFS file-system description object. the main character of the whole filesystem, honestly πlpropsβ the LEB properties you're yeeting out ποΈcatβ the LEB category you're removing them from. you gotta tell it which club they're leaving π
π DESCRIPTION π
LEB properties get sorted into categories so that the find operations can go fast. like, speed. β‘ no cap. and this function right here? it's the one that pulls a set of lprops back out of whichever category list or heap they were chilling in.
so basically: categorize = organized girlboss energy, and ubifs_remove_from_cat is the un-categorizing. periodt. β¨
π₯ SEE ALSO π₯
all the siblings and neighbors, fr fr β these all live in the kernel file ./fs/ubifs/lprops.c:
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_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)ubifs_fast_find_frdi_idx(9)dbg_check_cats(9)scan_check_cb(9)dbg_check_lprops(9)
π and that's the whole page, bestie! this one comes to you from ./fs/ubifs and it's dated October 2026 β ubifs_remove_from_cat(9), signing off ππ go forth and un-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