Lines Matching full:ech
90 static struct ubi_ec_hdr *ech; variable
831 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb()
869 if (ech->version != UBI_VERSION) { in scan_peb()
871 UBI_VERSION, (int)ech->version); in scan_peb()
875 ec = be64_to_cpu(ech->ec); in scan_peb()
886 ubi_dump_ec_hdr(ech); in scan_peb()
901 image_seq = be32_to_cpu(ech->image_seq); in scan_peb()
907 ubi_dump_ec_hdr(ech); in scan_peb()
1232 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all()
1233 if (!ech) in scan_all()
1287 kfree(ech); in scan_all()
1294 kfree(ech); in scan_all()
1341 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_fast()
1342 if (!ech) in scan_fast()
1366 kfree(ech); in scan_fast()
1381 kfree(ech); in scan_fast()