Searched refs:ech (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/mtd/ubi/ |
| H A D | attach.c | 944 struct ubi_ec_hdr *ech = ai->ech; in scan_peb() local 961 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb() 999 if (ech->version != UBI_VERSION) { in scan_peb() 1001 UBI_VERSION, (int)ech->version); in scan_peb() 1005 ec = be64_to_cpu(ech->ec); in scan_peb() 1016 ubi_dump_ec_hdr(ech); in scan_peb() 1031 image_seq = be32_to_cpu(ech->image_seq); in scan_peb() 1037 ubi_dump_ec_hdr(ech); in scan_peb() 1384 ai->ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all() 1385 if (!ai->ech) in scan_all() [all …]
|
| H A D | fastmap.c | 406 struct ubi_ec_hdr *ech; in scan_pool() local 410 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool() 411 if (!ech) in scan_pool() 416 kfree(ech); in scan_pool() 440 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_pool() 453 image_seq = be32_to_cpu(ech->image_seq); in scan_pool() 457 be32_to_cpu(ech->image_seq), ubi->image_seq); in scan_pool() 464 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool() 481 new_aeb = ubi_alloc_aeb(ai, pnum, be64_to_cpu(ech->ec)); in scan_pool() 511 kfree(ech); in scan_pool() [all …]
|
| H A D | ubi.h | 782 struct ubi_ec_hdr *ech; member
|