Searched refs:new_pnum (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/mtd/ubi/ |
D | eba.c | 812 int new_pnum, err, vol_id = vol->vol_id, data_size; in try_recover_peb() local 817 new_pnum = ubi_wl_get_peb(ubi); in try_recover_peb() 818 if (new_pnum < 0) { in try_recover_peb() 819 err = new_pnum; in try_recover_peb() 824 pnum, new_pnum); in try_recover_peb() 856 err = ubi_io_write_vid_hdr(ubi, new_pnum, vidb); in try_recover_peb() 860 err = ubi_io_write_data(ubi, ubi->peb_buf, new_pnum, 0, data_size); in try_recover_peb() 866 vol->eba_tbl->entries[lnum].pnum = new_pnum; in try_recover_peb() 874 } else if (new_pnum >= 0) { in try_recover_peb() 879 ubi_wl_put_peb(ubi, vol_id, lnum, new_pnum, 1); in try_recover_peb() [all …]
|