Searched refs:new_fm (Results 1 – 1 of 1) sorted by relevance
1132 struct ubi_fastmap_layout *new_fm) in ubi_write_fastmap() argument1189 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap()1337 dbg_bld("writing fastmap SB to PEB %i", new_fm->e[0]->pnum); in ubi_write_fastmap()1338 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[0]->pnum, avbuf); in ubi_write_fastmap()1344 for (i = 0; i < new_fm->used_blocks; i++) { in ubi_write_fastmap()1345 fmsb->block_loc[i] = cpu_to_be32(new_fm->e[i]->pnum); in ubi_write_fastmap()1346 set_seen(ubi, new_fm->e[i]->pnum, seen_pebs); in ubi_write_fastmap()1347 fmsb->block_ec[i] = cpu_to_be32(new_fm->e[i]->ec); in ubi_write_fastmap()1354 for (i = 1; i < new_fm->used_blocks; i++) { in ubi_write_fastmap()1358 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()[all …]