Home
last modified time | relevance | path

Searched refs:ec_hdr (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/ubi/
A Dio.c467 struct ubi_ec_hdr ec_hdr; in nor_erase_prepare() local
648 ec = be64_to_cpu(ec_hdr->ec); in validate_ec_hdr()
679 ubi_dump_ec_hdr(ec_hdr); in validate_ec_hdr()
761 ubi_dump_ec_hdr(ec_hdr); in ubi_io_read_ec_hdr()
775 ubi_dump_ec_hdr(ec_hdr); in ubi_io_read_ec_hdr()
845 struct ubi_ec_hdr *ec_hdr) in ubi_io_write_ec_hdr() argument
1216 ubi_dump_ec_hdr(ec_hdr); in self_check_ec_hdr()
1233 struct ubi_ec_hdr *ec_hdr; in self_check_peb_ec_hdr() local
1239 if (!ec_hdr) in self_check_peb_ec_hdr()
1252 ubi_dump_ec_hdr(ec_hdr); in self_check_peb_ec_hdr()
[all …]
A Ddebug.c81 void ubi_dump_ec_hdr(const struct ubi_ec_hdr *ec_hdr) in ubi_dump_ec_hdr() argument
84 pr_err("\tmagic %#08x\n", be32_to_cpu(ec_hdr->magic)); in ubi_dump_ec_hdr()
85 pr_err("\tversion %d\n", (int)ec_hdr->version); in ubi_dump_ec_hdr()
86 pr_err("\tec %llu\n", (long long)be64_to_cpu(ec_hdr->ec)); in ubi_dump_ec_hdr()
87 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dump_ec_hdr()
88 pr_err("\tdata_offset %d\n", be32_to_cpu(ec_hdr->data_offset)); in ubi_dump_ec_hdr()
89 pr_err("\timage_seq %d\n", be32_to_cpu(ec_hdr->image_seq)); in ubi_dump_ec_hdr()
90 pr_err("\thdr_crc %#08x\n", be32_to_cpu(ec_hdr->hdr_crc)); in ubi_dump_ec_hdr()
93 ec_hdr, UBI_EC_HDR_SIZE, 1); in ubi_dump_ec_hdr()
A Dwl.c454 struct ubi_ec_hdr *ec_hdr; in ubi_sync_erase() local
463 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS); in ubi_sync_erase()
464 if (!ec_hdr) in ubi_sync_erase()
485 ec_hdr->ec = cpu_to_be64(ec); in ubi_sync_erase()
487 err = ubi_io_write_ec_hdr(ubi, e->pnum, ec_hdr); in ubi_sync_erase()
498 kfree(ec_hdr); in ubi_sync_erase()
2012 struct ubi_ec_hdr *ec_hdr; local
2017 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS);
2018 if (!ec_hdr)
2028 read_ec = be64_to_cpu(ec_hdr->ec);
[all …]
A Dattach.c775 struct ubi_ec_hdr *ec_hdr; in early_erase_peb() local
787 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in early_erase_peb()
788 if (!ec_hdr) in early_erase_peb()
791 ec_hdr->ec = cpu_to_be64(ec); in early_erase_peb()
797 err = ubi_io_write_ec_hdr(ubi, pnum, ec_hdr); in early_erase_peb()
800 kfree(ec_hdr); in early_erase_peb()
A Ddebug.h12 void ubi_dump_ec_hdr(const struct ubi_ec_hdr *ec_hdr);
A Dubi.h930 struct ubi_ec_hdr *ec_hdr, int verbose);
932 struct ubi_ec_hdr *ec_hdr);

Completed in 18 milliseconds