Lines Matching refs:ubifs_lprops
26 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) in get_heap_comp_val()
51 struct ubifs_lprops *lprops, int cat) in move_up_lpt_heap()
88 struct ubifs_lprops *lprops, int hpos, int cat) in adjust_lpt_heap()
166 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap()
185 struct ubifs_lprops *lp; in add_to_lpt_heap()
215 struct ubifs_lprops *lprops, int cat) in remove_from_lpt_heap()
244 struct ubifs_lprops *new_lprops, int cat) in lpt_heap_replace()
261 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat()
305 struct ubifs_lprops *lprops, int cat) in ubifs_remove_from_cat()
341 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat()
342 struct ubifs_lprops *new_lprops) in ubifs_replace_cat()
373 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat()
397 const struct ubifs_lprops *lprops) in ubifs_categorize_lprops()
436 static void change_category(struct ubifs_info *c, struct ubifs_lprops *lprops) in change_category()
490 static int is_lprops_dirty(struct ubifs_info *c, struct ubifs_lprops *lprops) in is_lprops_dirty()
520 const struct ubifs_lprops *ubifs_change_lp(struct ubifs_info *c, in ubifs_change_lp()
521 const struct ubifs_lprops *lp, in ubifs_change_lp()
529 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp; in ubifs_change_lp()
653 const struct ubifs_lprops *lp; in ubifs_change_one_lp()
692 const struct ubifs_lprops *lp; in ubifs_update_one_lp()
725 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp()
728 const struct ubifs_lprops *lpp; in ubifs_read_one_lp()
740 memcpy(lp, lpp, sizeof(struct ubifs_lprops)); in ubifs_read_one_lp()
754 const struct ubifs_lprops *ubifs_fast_find_free(struct ubifs_info *c) in ubifs_fast_find_free()
756 struct ubifs_lprops *lprops; in ubifs_fast_find_free()
778 const struct ubifs_lprops *ubifs_fast_find_empty(struct ubifs_info *c) in ubifs_fast_find_empty()
780 struct ubifs_lprops *lprops; in ubifs_fast_find_empty()
787 lprops = list_entry(c->empty_list.next, struct ubifs_lprops, list); in ubifs_fast_find_empty()
801 const struct ubifs_lprops *ubifs_fast_find_freeable(struct ubifs_info *c) in ubifs_fast_find_freeable()
803 struct ubifs_lprops *lprops; in ubifs_fast_find_freeable()
810 lprops = list_entry(c->freeable_list.next, struct ubifs_lprops, list); in ubifs_fast_find_freeable()
825 const struct ubifs_lprops *ubifs_fast_find_frdi_idx(struct ubifs_info *c) in ubifs_fast_find_frdi_idx()
827 struct ubifs_lprops *lprops; in ubifs_fast_find_frdi_idx()
834 lprops = list_entry(c->frdi_idx_list.next, struct ubifs_lprops, list); in ubifs_fast_find_frdi_idx()
853 struct ubifs_lprops *lprops; in dbg_check_cats()
959 struct ubifs_lprops *lprops = heap->arr[i]; in dbg_check_heap()
960 struct ubifs_lprops *lp; in dbg_check_heap()
1016 const struct ubifs_lprops *lp, int in_tree, in scan_check_cb()
1053 struct ubifs_lprops *lprops; in scan_check_cb()