new_pnum 813 drivers/mtd/ubi/eba.c int new_pnum, err, vol_id = vol->vol_id, data_size; new_pnum 818 drivers/mtd/ubi/eba.c new_pnum = ubi_wl_get_peb(ubi); new_pnum 819 drivers/mtd/ubi/eba.c if (new_pnum < 0) { new_pnum 820 drivers/mtd/ubi/eba.c err = new_pnum; new_pnum 825 drivers/mtd/ubi/eba.c pnum, new_pnum); new_pnum 857 drivers/mtd/ubi/eba.c err = ubi_io_write_vid_hdr(ubi, new_pnum, vidb); new_pnum 861 drivers/mtd/ubi/eba.c err = ubi_io_write_data(ubi, ubi->peb_buf, new_pnum, 0, data_size); new_pnum 867 drivers/mtd/ubi/eba.c vol->eba_tbl->entries[lnum].pnum = new_pnum; new_pnum 875 drivers/mtd/ubi/eba.c } else if (new_pnum >= 0) { new_pnum 880 drivers/mtd/ubi/eba.c ubi_wl_put_peb(ubi, vol_id, lnum, new_pnum, 1); new_pnum 881 drivers/mtd/ubi/eba.c ubi_warn(ubi, "failed to write to PEB %d", new_pnum);