Lines Matching refs:ubifs_lprops

30 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat)  in get_heap_comp_val()
55 struct ubifs_lprops *lprops, int cat) in move_up_lpt_heap()
92 struct ubifs_lprops *lprops, int hpos, int cat) in adjust_lpt_heap()
170 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap()
189 struct ubifs_lprops *lp; in add_to_lpt_heap()
219 struct ubifs_lprops *lprops, int cat) in remove_from_lpt_heap()
249 struct ubifs_lprops *old_lprops, in lpt_heap_replace()
250 struct ubifs_lprops *new_lprops, int cat) in lpt_heap_replace()
267 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat()
311 struct ubifs_lprops *lprops, int cat) in ubifs_remove_from_cat()
347 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat()
348 struct ubifs_lprops *new_lprops) in ubifs_replace_cat()
379 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat()
403 const struct ubifs_lprops *lprops) in ubifs_categorize_lprops()
442 static void change_category(struct ubifs_info *c, struct ubifs_lprops *lprops) in change_category()
496 static int is_lprops_dirty(struct ubifs_info *c, struct ubifs_lprops *lprops) in is_lprops_dirty()
526 const struct ubifs_lprops *ubifs_change_lp(struct ubifs_info *c, in ubifs_change_lp()
527 const struct ubifs_lprops *lp, in ubifs_change_lp()
535 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp; in ubifs_change_lp()
659 const struct ubifs_lprops *lp; in ubifs_change_one_lp()
698 const struct ubifs_lprops *lp; in ubifs_update_one_lp()
731 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp()
734 const struct ubifs_lprops *lpp; in ubifs_read_one_lp()
746 memcpy(lp, lpp, sizeof(struct ubifs_lprops)); in ubifs_read_one_lp()
760 const struct ubifs_lprops *ubifs_fast_find_free(struct ubifs_info *c) in ubifs_fast_find_free()
762 struct ubifs_lprops *lprops; in ubifs_fast_find_free()
784 const struct ubifs_lprops *ubifs_fast_find_empty(struct ubifs_info *c) in ubifs_fast_find_empty()
786 struct ubifs_lprops *lprops; in ubifs_fast_find_empty()
793 lprops = list_entry(c->empty_list.next, struct ubifs_lprops, list); in ubifs_fast_find_empty()
807 const struct ubifs_lprops *ubifs_fast_find_freeable(struct ubifs_info *c) in ubifs_fast_find_freeable()
809 struct ubifs_lprops *lprops; in ubifs_fast_find_freeable()
816 lprops = list_entry(c->freeable_list.next, struct ubifs_lprops, list); in ubifs_fast_find_freeable()
831 const struct ubifs_lprops *ubifs_fast_find_frdi_idx(struct ubifs_info *c) in ubifs_fast_find_frdi_idx()
833 struct ubifs_lprops *lprops; in ubifs_fast_find_frdi_idx()
840 lprops = list_entry(c->frdi_idx_list.next, struct ubifs_lprops, list); in ubifs_fast_find_frdi_idx()
859 struct ubifs_lprops *lprops; in dbg_check_cats()
965 struct ubifs_lprops *lprops = heap->arr[i]; in dbg_check_heap()
966 struct ubifs_lprops *lp; in dbg_check_heap()
1022 const struct ubifs_lprops *lp, int in_tree, in scan_check_cb()
1059 struct ubifs_lprops *lprops; in scan_check_cb()