Lines Matching refs:ubifs_lprops
38 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) in get_heap_comp_val()
63 struct ubifs_lprops *lprops, int cat) in move_up_lpt_heap()
100 struct ubifs_lprops *lprops, int hpos, int cat) in adjust_lpt_heap()
178 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap()
197 struct ubifs_lprops *lp; in add_to_lpt_heap()
227 struct ubifs_lprops *lprops, int cat) in remove_from_lpt_heap()
256 struct ubifs_lprops *new_lprops, int cat) in lpt_heap_replace()
273 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat()
317 struct ubifs_lprops *lprops, int cat) in ubifs_remove_from_cat()
353 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat()
354 struct ubifs_lprops *new_lprops) in ubifs_replace_cat()
385 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat()
409 const struct ubifs_lprops *lprops) in ubifs_categorize_lprops()
448 static void change_category(struct ubifs_info *c, struct ubifs_lprops *lprops) in change_category()
502 static int is_lprops_dirty(struct ubifs_info *c, struct ubifs_lprops *lprops) in is_lprops_dirty()
532 const struct ubifs_lprops *ubifs_change_lp(struct ubifs_info *c, in ubifs_change_lp()
533 const struct ubifs_lprops *lp, in ubifs_change_lp()
541 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp; in ubifs_change_lp()
665 const struct ubifs_lprops *lp; in ubifs_change_one_lp()
704 const struct ubifs_lprops *lp; in ubifs_update_one_lp()
737 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp()
740 const struct ubifs_lprops *lpp; in ubifs_read_one_lp()
752 memcpy(lp, lpp, sizeof(struct ubifs_lprops)); in ubifs_read_one_lp()
766 const struct ubifs_lprops *ubifs_fast_find_free(struct ubifs_info *c) in ubifs_fast_find_free()
768 struct ubifs_lprops *lprops; in ubifs_fast_find_free()
790 const struct ubifs_lprops *ubifs_fast_find_empty(struct ubifs_info *c) in ubifs_fast_find_empty()
792 struct ubifs_lprops *lprops; in ubifs_fast_find_empty()
799 lprops = list_entry(c->empty_list.next, struct ubifs_lprops, list); in ubifs_fast_find_empty()
813 const struct ubifs_lprops *ubifs_fast_find_freeable(struct ubifs_info *c) in ubifs_fast_find_freeable()
815 struct ubifs_lprops *lprops; in ubifs_fast_find_freeable()
822 lprops = list_entry(c->freeable_list.next, struct ubifs_lprops, list); in ubifs_fast_find_freeable()
837 const struct ubifs_lprops *ubifs_fast_find_frdi_idx(struct ubifs_info *c) in ubifs_fast_find_frdi_idx()
839 struct ubifs_lprops *lprops; in ubifs_fast_find_frdi_idx()
846 lprops = list_entry(c->frdi_idx_list.next, struct ubifs_lprops, list); in ubifs_fast_find_frdi_idx()
865 struct ubifs_lprops *lprops; in dbg_check_cats()
971 struct ubifs_lprops *lprops = heap->arr[i]; in dbg_check_heap()
972 struct ubifs_lprops *lp; in dbg_check_heap()
1028 const struct ubifs_lprops *lp, int in_tree, in scan_check_cb()
1065 struct ubifs_lprops *lprops; in scan_check_cb()