Searched refs:UBI_CRC32_INIT (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/mtd/ubi/ |
D | io.c | 788 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in ubi_io_read_ec_hdr() 849 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in ubi_io_write_ec_hdr() 1042 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in ubi_io_read_vid_hdr() 1099 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in ubi_io_write_vid_hdr() 1203 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in self_check_peb_ec_hdr() 1291 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_EC_HDR_SIZE_CRC); in self_check_peb_vid_hdr()
|
D | vtbl.c | 108 crc = crc32(UBI_CRC32_INIT, vtbl_rec, UBI_VTBL_RECORD_SIZE_CRC); in ubi_change_vtbl_record() 148 crc = crc32(UBI_CRC32_INIT, vtbl_rec, in ubi_vtbl_rename_volumes() 183 crc = crc32(UBI_CRC32_INIT, &vtbl[i], UBI_VTBL_RECORD_SIZE_CRC);
|
D | eba.c | 455 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_read_leb() 820 crc = crc32(UBI_CRC32_INIT, buf, data_size); in ubi_eba_write_leb_st() 941 crc = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_atomic_leb_change() 1153 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size); in ubi_eba_copy_leb() 1220 if (crc != crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size)) { in ubi_eba_copy_leb()
|
D | ubi-media.h | 29 #define UBI_CRC32_INIT 0xFFFFFFFFU macro
|
D | fastmap.c | 1032 crc = crc32(UBI_CRC32_INIT, ubi->fm_buf, fm_size); in ubi_scan_fastmap() 1314 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
|
D | attach.c | 400 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, len); in ubi_compare_lebs()
|
/external/u-boot/drivers/mtd/ubispl/ |
D | ubispl.c | 113 crc = crc32(UBI_CRC32_INIT, &vtbl[i], UBI_VTBL_RECORD_SIZE_CRC); in vtbl_check() 268 if (crc32(UBI_CRC32_INIT, vh, UBI_VID_HDR_SIZE_CRC) != in ubi_io_read_vid_hdr() 818 crc = crc32(UBI_CRC32_INIT, ubi->fm_buf, fm_size); in ubi_scan_fastmap() 974 crc = crc32(UBI_CRC32_INIT, laddr, dlen); in ubi_load_block()
|