Searched refs:dvhdr (Results 1 – 2 of 2) sorted by relevance
1114 struct ubi_vid_hdr *avhdr, *dvhdr; in ubi_write_fastmap() local1130 dvhdr = new_fm_vhdr(ubi, UBI_FM_DATA_VOLUME_ID); in ubi_write_fastmap()1131 if (!dvhdr) { in ubi_write_fastmap()1317 dvhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()1318 dvhdr->lnum = cpu_to_be32(i); in ubi_write_fastmap()1320 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()1321 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[i]->pnum, dvhdr); in ubi_write_fastmap()1347 ubi_free_vid_hdr(ubi, dvhdr); in ubi_write_fastmap()
1144 struct ubi_vid_hdr *avhdr, *dvhdr; in ubi_write_fastmap() local1167 dvhdr = ubi_get_vid_hdr(dvbuf); in ubi_write_fastmap()1354 dvhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()1355 dvhdr->lnum = cpu_to_be32(i); in ubi_write_fastmap()1357 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()