Lines Matching refs:ech
57 static struct ubi_ec_hdr *ech;
741 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0);
763 if (ech->version != UBI_VERSION) {
765 UBI_VERSION, (int)ech->version);
769 ec = be64_to_cpu(ech->ec);
780 ubi_dbg_dump_ec_hdr(ech);
795 image_seq = be32_to_cpu(ech->image_seq);
802 ubi_dbg_dump_ec_hdr(ech);
993 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL);
994 if (!ech)
1048 kfree(ech);
1055 kfree(ech);