Home
last modified time | relevance | path

Searched refs:dirty_idx (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
Dfind.c752 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()
754 sizeof(void *) * c->dirty_idx.cnt); in ubifs_save_dirty_idx_lnums()
756 sort(c->dirty_idx.arr, c->dirty_idx.cnt, sizeof(void *), in ubifs_save_dirty_idx_lnums()
758 dbg_find("found %d dirty index LEBs", c->dirty_idx.cnt); in ubifs_save_dirty_idx_lnums()
759 if (c->dirty_idx.cnt) in ubifs_save_dirty_idx_lnums()
761 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->lnum, in ubifs_save_dirty_idx_lnums()
762 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->dirty, in ubifs_save_dirty_idx_lnums()
763 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); in ubifs_save_dirty_idx_lnums()
765 for (i = 0; i < c->dirty_idx.cnt; i++) in ubifs_save_dirty_idx_lnums()
[all …]
Dlpt.c1800 c->dirty_idx.arr = kmalloc_array(LPT_HEAP_SZ, sizeof(void *), in lpt_init_rd()
1802 if (!c->dirty_idx.arr) in lpt_init_rd()
1804 c->dirty_idx.cnt = 0; in lpt_init_rd()
1805 c->dirty_idx.max_cnt = LPT_HEAP_SZ; in lpt_init_rd()
Dubifs.h1448 struct ubifs_lpt_heap dirty_idx; member
Dlpt_commit.c1445 kfree(c->dirty_idx.arr); in ubifs_lpt_free()