Lines Matching refs:ubifs_lprops
31 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) in get_heap_comp_val()
56 struct ubifs_lprops *lprops, int cat) in move_up_lpt_heap()
93 struct ubifs_lprops *lprops, int hpos, int cat) in adjust_lpt_heap()
171 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap()
190 struct ubifs_lprops *lp; in add_to_lpt_heap()
220 struct ubifs_lprops *lprops, int cat) in remove_from_lpt_heap()
250 struct ubifs_lprops *old_lprops, in lpt_heap_replace()
251 struct ubifs_lprops *new_lprops, int cat) in lpt_heap_replace()
268 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat()
312 struct ubifs_lprops *lprops, int cat) in ubifs_remove_from_cat()
348 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat()
349 struct ubifs_lprops *new_lprops) in ubifs_replace_cat()
380 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat()
404 const struct ubifs_lprops *lprops) in ubifs_categorize_lprops()
443 static void change_category(struct ubifs_info *c, struct ubifs_lprops *lprops) in change_category()
497 static int is_lprops_dirty(struct ubifs_info *c, struct ubifs_lprops *lprops) in is_lprops_dirty()
527 const struct ubifs_lprops *ubifs_change_lp(struct ubifs_info *c, in ubifs_change_lp()
528 const struct ubifs_lprops *lp, in ubifs_change_lp()
536 struct ubifs_lprops *lprops = (struct ubifs_lprops *)lp; in ubifs_change_lp()
660 const struct ubifs_lprops *lp; in ubifs_change_one_lp()
699 const struct ubifs_lprops *lp; in ubifs_update_one_lp()
732 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp()
735 const struct ubifs_lprops *lpp; in ubifs_read_one_lp()
747 memcpy(lp, lpp, sizeof(struct ubifs_lprops)); in ubifs_read_one_lp()
761 const struct ubifs_lprops *ubifs_fast_find_free(struct ubifs_info *c) in ubifs_fast_find_free()
763 struct ubifs_lprops *lprops; in ubifs_fast_find_free()
785 const struct ubifs_lprops *ubifs_fast_find_empty(struct ubifs_info *c) in ubifs_fast_find_empty()
787 struct ubifs_lprops *lprops; in ubifs_fast_find_empty()
794 lprops = list_entry(c->empty_list.next, struct ubifs_lprops, list); in ubifs_fast_find_empty()
808 const struct ubifs_lprops *ubifs_fast_find_freeable(struct ubifs_info *c) in ubifs_fast_find_freeable()
810 struct ubifs_lprops *lprops; in ubifs_fast_find_freeable()
817 lprops = list_entry(c->freeable_list.next, struct ubifs_lprops, list); in ubifs_fast_find_freeable()
832 const struct ubifs_lprops *ubifs_fast_find_frdi_idx(struct ubifs_info *c) in ubifs_fast_find_frdi_idx()
834 struct ubifs_lprops *lprops; in ubifs_fast_find_frdi_idx()
841 lprops = list_entry(c->frdi_idx_list.next, struct ubifs_lprops, list); in ubifs_fast_find_frdi_idx()
860 struct ubifs_lprops *lprops; in dbg_check_cats()
966 struct ubifs_lprops *lprops = heap->arr[i]; in dbg_check_heap()
967 struct ubifs_lprops *lp; in dbg_check_heap()
1023 const struct ubifs_lprops *lp, int in_tree, in scan_check_cb()
1060 struct ubifs_lprops *lprops; in scan_check_cb()