Home
last modified time | relevance | path

Searched refs:vidh (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dattach.c91 static struct ubi_vid_hdr *vidh; variable
988 vol_id = be32_to_cpu(vidh->vol_id); in scan_peb()
992 *sqnum = be64_to_cpu(vidh->sqnum); in scan_peb()
997 switch (vidh->compat) { in scan_peb()
1237 if (!vidh) in scan_all()
1286 ubi_free_vid_hdr(ubi, vidh); in scan_all()
1292 ubi_free_vid_hdr(ubi, vidh); in scan_all()
1346 if (!vidh) in scan_fast()
1365 ubi_free_vid_hdr(ubi, vidh); in scan_fast()
1379 ubi_free_vid_hdr(ubi, vidh); in scan_fast()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dattach.c1097 err = check_corruption(ubi, vidh, pnum); in scan_peb()
1133 vol_id = be32_to_cpu(vidh->vol_id); in scan_peb()
1135 int lnum = be32_to_cpu(vidh->lnum); in scan_peb()
1138 switch (vidh->compat) { in scan_peb()
1176 err = add_fastmap(ai, pnum, vidh, ec); in scan_peb()
1806 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai()
1813 if (aeb->sqnum != be64_to_cpu(vidh->sqnum)) { in self_check_ai()
1823 if (av->compat != vidh->compat) { in self_check_ai()
1824 ubi_err(ubi, "bad compat %d", vidh->compat); in self_check_ai()
1828 if (aeb->lnum != be32_to_cpu(vidh->lnum)) { in self_check_ai()
[all …]