Lines Matching refs:dirty_idx
770 c->dirty_idx.cnt = c->lpt_heap[LPROPS_DIRTY_IDX - 1].cnt; in ubifs_save_dirty_idx_lnums()
771 memcpy(c->dirty_idx.arr, c->lpt_heap[LPROPS_DIRTY_IDX - 1].arr, in ubifs_save_dirty_idx_lnums()
772 sizeof(void *) * c->dirty_idx.cnt); in ubifs_save_dirty_idx_lnums()
774 sort(c->dirty_idx.arr, c->dirty_idx.cnt, sizeof(void *), in ubifs_save_dirty_idx_lnums()
777 dbg_find("found %d dirty index LEBs", c->dirty_idx.cnt); in ubifs_save_dirty_idx_lnums()
778 if (c->dirty_idx.cnt) in ubifs_save_dirty_idx_lnums()
780 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->lnum, in ubifs_save_dirty_idx_lnums()
781 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->dirty, in ubifs_save_dirty_idx_lnums()
782 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); in ubifs_save_dirty_idx_lnums()
784 for (i = 0; i < c->dirty_idx.cnt; i++) in ubifs_save_dirty_idx_lnums()
785 c->dirty_idx.arr[i] = (void *)(size_t)c->dirty_idx.arr[i]->lnum; in ubifs_save_dirty_idx_lnums()
930 if (!c->dirty_idx.cnt) in find_dirtiest_idx_leb()
933 lnum = (size_t)c->dirty_idx.arr[--c->dirty_idx.cnt]; in find_dirtiest_idx_leb()