Searched refs:lpt_heap (Results 1 – 9 of 9) sorted by relevance
51 heap = &c->lpt_heap[cat - 1]; in valuable()134 heap = &c->lpt_heap[LPROPS_FREE - 1]; in scan_for_dirty()272 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in ubifs_find_dirty_leb()273 idx_heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in ubifs_find_dirty_leb()420 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in do_find_free_space()752 c->dirty_idx.cnt = c->lpt_heap[LPROPS_DIRTY_IDX - 1].cnt; in ubifs_save_dirty_idx_lnums()753 memcpy(c->dirty_idx.arr, c->lpt_heap[LPROPS_DIRTY_IDX - 1].arr, in ubifs_save_dirty_idx_lnums()825 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in find_dirty_idx_leb()
169 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in add_to_lpt_heap()220 heap = &c->lpt_heap[cat - 1]; in remove_from_lpt_heap()249 heap = &c->lpt_heap[cat - 1]; in lpt_heap_replace()447 heap = &c->lpt_heap[new_cat - 1]; in change_category()761 heap = &c->lpt_heap[LPROPS_FREE - 1]; in ubifs_fast_find_free()928 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in dbg_check_cats()1071 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb()
791 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in populate_lsave()797 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in populate_lsave()803 heap = &c->lpt_heap[LPROPS_FREE - 1]; in populate_lsave()1444 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free()1986 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in dbg_populate_lsave()1989 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in dbg_populate_lsave()1992 heap = &c->lpt_heap[LPROPS_FREE - 1]; in dbg_populate_lsave()
1791 c->lpt_heap[i].arr = kmalloc_array(LPT_HEAP_SZ, in lpt_init_rd()1794 if (!c->lpt_heap[i].arr) in lpt_init_rd()1796 c->lpt_heap[i].cnt = 0; in lpt_init_rd()1797 c->lpt_heap[i].max_cnt = LPT_HEAP_SZ; in lpt_init_rd()2327 heap = &c->lpt_heap[cat - 1]; in dbg_chk_pnode()
1475 struct ubifs_lpt_heap lpt_heap[LPROPS_HEAP_CNT]; member
172 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in add_to_lpt_heap()223 heap = &c->lpt_heap[cat - 1]; in remove_from_lpt_heap()254 heap = &c->lpt_heap[cat - 1]; in lpt_heap_replace()452 heap = &c->lpt_heap[new_cat - 1]; in change_category()766 heap = &c->lpt_heap[LPROPS_FREE - 1]; in ubifs_fast_find_free()933 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in dbg_check_cats()1076 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb()
834 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in populate_lsave()840 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in populate_lsave()846 heap = &c->lpt_heap[LPROPS_FREE - 1]; in populate_lsave()1485 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free()2029 heap = &c->lpt_heap[LPROPS_DIRTY_IDX - 1]; in dbg_populate_lsave()2032 heap = &c->lpt_heap[LPROPS_DIRTY - 1]; in dbg_populate_lsave()2035 heap = &c->lpt_heap[LPROPS_FREE - 1]; in dbg_populate_lsave()
1640 c->lpt_heap[i].arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, in lpt_init_rd()1642 if (!c->lpt_heap[i].arr) in lpt_init_rd()1644 c->lpt_heap[i].cnt = 0; in lpt_init_rd()1645 c->lpt_heap[i].max_cnt = LPT_HEAP_SZ; in lpt_init_rd()2175 heap = &c->lpt_heap[cat - 1]; in dbg_chk_pnode()
2023 struct ubifs_lpt_heap lpt_heap[LPROPS_HEAP_CNT]; member