Searched refs:old_fm (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | fastmap.c | 1497 struct ubi_fastmap_layout *new_fm, *old_fm; in ubi_update_fastmap() local 1522 old_fm = ubi->fm; in ubi_update_fastmap() 1537 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1538 ret = erase_block(ubi, old_fm->e[i]->pnum); in ubi_update_fastmap() 1549 new_fm->e[i] = old_fm->e[i]; in ubi_update_fastmap() 1550 old_fm->e[i] = NULL; in ubi_update_fastmap() 1565 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1566 ubi_wl_put_fm_peb(ubi, old_fm->e[i], i, in ubi_update_fastmap() 1567 old_fm->to_be_tortured[i]); in ubi_update_fastmap() 1568 old_fm->e[i] = NULL; in ubi_update_fastmap() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | fastmap.c | 1540 struct ubi_fastmap_layout *new_fm, *old_fm; in ubi_update_fastmap() local 1565 old_fm = ubi->fm; in ubi_update_fastmap() 1580 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1581 ret = erase_block(ubi, old_fm->e[i]->pnum); in ubi_update_fastmap() 1592 new_fm->e[i] = old_fm->e[i]; in ubi_update_fastmap() 1593 old_fm->e[i] = NULL; in ubi_update_fastmap() 1608 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1609 ubi_wl_put_fm_peb(ubi, old_fm->e[i], i, in ubi_update_fastmap() 1610 old_fm->to_be_tortured[i]); in ubi_update_fastmap() 1611 old_fm->e[i] = NULL; in ubi_update_fastmap() [all …]
|