Searched refs:old_fm (Results 1 – 1 of 1) sorted by relevance
1492 struct ubi_fastmap_layout *new_fm, *old_fm; in ubi_update_fastmap() local1513 old_fm = ubi->fm; in ubi_update_fastmap()1528 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap()1529 ret = ubi_sync_erase(ubi, old_fm->e[i], 0); in ubi_update_fastmap()1540 new_fm->e[i] = old_fm->e[i]; in ubi_update_fastmap()1541 old_fm->e[i] = NULL; in ubi_update_fastmap()1556 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap()1557 ubi_wl_put_fm_peb(ubi, old_fm->e[i], i, in ubi_update_fastmap()1558 old_fm->to_be_tortured[i]); in ubi_update_fastmap()1559 old_fm->e[i] = NULL; in ubi_update_fastmap()[all …]