Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mtd/ubi/
Dfastmap.c1538 struct ubi_fastmap_layout *new_fm, *old_fm; in ubi_update_fastmap() local
1563 old_fm = ubi->fm; in ubi_update_fastmap()
1578 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap()
1579 ret = erase_block(ubi, old_fm->e[i]->pnum); in ubi_update_fastmap()
1590 new_fm->e[i] = old_fm->e[i]; in ubi_update_fastmap()
1591 old_fm->e[i] = NULL; in ubi_update_fastmap()
1606 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap()
1607 ubi_wl_put_fm_peb(ubi, old_fm->e[i], i, in ubi_update_fastmap()
1608 old_fm->to_be_tortured[i]); in ubi_update_fastmap()
1609 old_fm->e[i] = NULL; in ubi_update_fastmap()
[all …]