Searched refs:new_fm (Results 1 – 1 of 1) sorted by relevance
1102 struct ubi_fastmap_layout *new_fm) in ubi_write_fastmap() argument1155 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap()1299 dbg_bld("writing fastmap SB to PEB %i", new_fm->e[0]->pnum); in ubi_write_fastmap()1300 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[0]->pnum, avhdr); in ubi_write_fastmap()1306 for (i = 0; i < new_fm->used_blocks; i++) { in ubi_write_fastmap()1307 fmsb->block_loc[i] = cpu_to_be32(new_fm->e[i]->pnum); in ubi_write_fastmap()1308 set_seen(ubi, new_fm->e[i]->pnum, seen_pebs); in ubi_write_fastmap()1309 fmsb->block_ec[i] = cpu_to_be32(new_fm->e[i]->ec); in ubi_write_fastmap()1316 for (i = 1; i < new_fm->used_blocks; i++) { in ubi_write_fastmap()1320 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()[all …]