Searched refs:avhdr (Results 1 – 2 of 2) sorted by relevance
1114 struct ubi_vid_hdr *avhdr, *dvhdr; in ubi_write_fastmap() local1124 avhdr = new_fm_vhdr(ubi, UBI_FM_SB_VOLUME_ID); in ubi_write_fastmap()1125 if (!avhdr) { in ubi_write_fastmap()1293 avhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()1294 avhdr->lnum = 0; in ubi_write_fastmap()1300 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[0]->pnum, avhdr); in ubi_write_fastmap()1346 ubi_free_vid_hdr(ubi, avhdr); in ubi_write_fastmap()
1144 struct ubi_vid_hdr *avhdr, *dvhdr; in ubi_write_fastmap() local1166 avhdr = ubi_get_vid_hdr(avbuf); in ubi_write_fastmap()1330 avhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()1331 avhdr->lnum = 0; in ubi_write_fastmap()