Searched refs:UBI_CRC32_INIT (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/drivers/mtd/ubi/ |
D | io.c | 813 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in ubi_io_read_ec_hdr() 874 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in ubi_io_write_ec_hdr() 1064 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in ubi_io_read_vid_hdr() 1121 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_VID_HDR_SIZE_CRC); in ubi_io_write_vid_hdr() 1224 crc = crc32(UBI_CRC32_INIT, ec_hdr, UBI_EC_HDR_SIZE_CRC); in paranoid_check_peb_ec_hdr() 1311 crc = crc32(UBI_CRC32_INIT, vid_hdr, UBI_EC_HDR_SIZE_CRC); in paranoid_check_peb_vid_hdr()
|
D | ubi-media.h | 42 #define UBI_CRC32_INIT 0xFFFFFFFFU macro
|
D | eba.c | 460 uint32_t crc1 = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_read_leb() 759 crc = crc32(UBI_CRC32_INIT, buf, data_size); in ubi_eba_write_leb_st() 877 crc = crc32(UBI_CRC32_INIT, buf, len); in ubi_eba_atomic_leb_change() 1085 crc = crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size); in ubi_eba_copy_leb() 1152 if (crc != crc32(UBI_CRC32_INIT, ubi->peb_buf, data_size)) { in ubi_eba_copy_leb()
|
D | vtbl.c | 98 crc = crc32(UBI_CRC32_INIT, vtbl_rec, UBI_VTBL_RECORD_SIZE_CRC); in ubi_change_vtbl_record() 149 crc = crc32(UBI_CRC32_INIT, vtbl_rec, in ubi_vtbl_rename_volumes() 196 crc = crc32(UBI_CRC32_INIT, &vtbl[i], UBI_VTBL_RECORD_SIZE_CRC); in vtbl_check()
|
D | scan.c | 402 crc = crc32(UBI_CRC32_INIT, buf, len); in compare_lebs()
|