move_up_lpt_heap(9)
okay bestie, welcome to move_up_lpt_heap(9) from the Kernel API Manual โจ this is the function that moves a new heap entry up as far as possible, and weโre gonna get into it ๐
๐ธ NAME ๐ธ
move_up_lpt_heap โ move a new heap entry up as far as possible.
โจ SYNOPSIS โจ
void move_up_lpt_heap (struct ubifs_info *c , struct ubifs_lpt_heap
*heap , struct ubifs_lprops *lprops , int cat );
๐ ARGUMENTS ๐
cโ UBIFS file-system description object.heapโ LEB category heap.lpropsโ LEB properties to move.catโ LEB category.
๐ซ DESCRIPTION ๐ซ
New entries to a heap are added at the bottom and then moved up until the parentโs value is greater. In the case of LPTโs category heaps, that value is either the amount of free space or the amount of dirty space, depending on the category. Thatโs the whole vibe check ๐ฅ
๐ฎ SEE ALSO ๐ฎ
- Kernel file
./fs/ubifs/lprops.c get_heap_comp_val(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)ubifs_fast_find_frdi_idx(9)dbg_check_cats(9)scan_check_cb(9)dbg_check_lprops(9)
okay thatโs the whole page ๐ซถ the footer source is ./fs/ubifs, the footer date is October 2026, and yes bestie, this iconic little manual page is move_up_lpt_heap(9) ๐
๐ฆ 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