Searched refs:new_fm (Results 1 – 1 of 1) sorted by relevance
1130 struct ubi_fastmap_layout *new_fm) in ubi_write_fastmap() argument1187 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap()1335 dbg_bld("writing fastmap SB to PEB %i", new_fm->e[0]->pnum); in ubi_write_fastmap()1336 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[0]->pnum, avbuf); in ubi_write_fastmap()1342 for (i = 0; i < new_fm->used_blocks; i++) { in ubi_write_fastmap()1343 fmsb->block_loc[i] = cpu_to_be32(new_fm->e[i]->pnum); in ubi_write_fastmap()1344 set_seen(ubi, new_fm->e[i]->pnum, seen_pebs); in ubi_write_fastmap()1345 fmsb->block_ec[i] = cpu_to_be32(new_fm->e[i]->ec); in ubi_write_fastmap()1352 for (i = 1; i < new_fm->used_blocks; i++) { in ubi_write_fastmap()1356 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()[all …]