Searched refs:old_fm (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | fastmap.c | 1496 struct ubi_fastmap_layout *new_fm, *old_fm; in ubi_update_fastmap() local 1521 old_fm = ubi->fm; in ubi_update_fastmap() 1536 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1537 ret = erase_block(ubi, old_fm->e[i]->pnum); in ubi_update_fastmap() 1548 new_fm->e[i] = old_fm->e[i]; in ubi_update_fastmap() 1549 old_fm->e[i] = NULL; in ubi_update_fastmap() 1564 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1565 ubi_wl_put_fm_peb(ubi, old_fm->e[i], i, in ubi_update_fastmap() 1566 old_fm->to_be_tortured[i]); in ubi_update_fastmap() 1567 old_fm->e[i] = NULL; in ubi_update_fastmap() [all …]
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | fastmap.c | 1539 struct ubi_fastmap_layout *new_fm, *old_fm; in ubi_update_fastmap() local 1564 old_fm = ubi->fm; in ubi_update_fastmap() 1579 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1580 ret = erase_block(ubi, old_fm->e[i]->pnum); in ubi_update_fastmap() 1591 new_fm->e[i] = old_fm->e[i]; in ubi_update_fastmap() 1592 old_fm->e[i] = NULL; in ubi_update_fastmap() 1607 if (old_fm && old_fm->e[i]) { in ubi_update_fastmap() 1608 ubi_wl_put_fm_peb(ubi, old_fm->e[i], i, in ubi_update_fastmap() 1609 old_fm->to_be_tortured[i]); in ubi_update_fastmap() 1610 old_fm->e[i] = NULL; in ubi_update_fastmap() [all …]
|