Home
last modified time | relevance | path

Searched refs:data_crc (Results 1 – 8 of 8) sorted by relevance

/drivers/target/iscsi/
Discsi_target.c1214 u32 data_crc; in iscsit_do_crypto_hash_sg() local
1240 crypto_hash_final(hash, (u8 *) &data_crc); in iscsit_do_crypto_hash_sg()
1242 return data_crc; in iscsit_do_crypto_hash_sg()
1251 u8 *data_crc) in iscsit_do_crypto_hash_buf() argument
1264 crypto_hash_final(hash, data_crc); in iscsit_do_crypto_hash_buf()
1437 u32 data_crc; in iscsit_get_dataout() local
1439 data_crc = iscsit_do_crypto_hash_sg(&conn->conn_rx_hash, cmd, in iscsit_get_dataout()
1444 if (checksum != data_crc) { in iscsit_get_dataout()
1449 hdr->datasn, checksum, data_crc); in iscsit_get_dataout()
1663 u32 checksum, data_crc, padding = 0; in iscsit_handle_nop_out() local
[all …]
Discsi_target_erl1.c100 u32 data_crc; in iscsit_dump_data_payload() local
103 iov.iov_base = &data_crc; in iscsit_dump_data_payload()
/drivers/mtd/ubi/
Dubi-media.h290 __be32 data_crc; member
421 __be32 data_crc; member
Deba.c539 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb()
706 vid_hdr->data_crc = cpu_to_be32(crc); in recover_peb()
944 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
1065 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change()
1287 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_copy_leb()
Dattach.c362 uint32_t data_crc, crc; in ubi_compare_lebs() local
437 data_crc = be32_to_cpu(vid_hdr->data_crc); in ubi_compare_lebs()
439 if (crc != data_crc) { in ubi_compare_lebs()
441 pnum, crc, data_crc); in ubi_compare_lebs()
Dio.c888 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() local
965 if (data_crc != 0) { in validate_vid_hdr()
Dfastmap.c1046 tmp_crc = be32_to_cpu(fmsb2->data_crc); in ubi_scan_fastmap()
1047 fmsb2->data_crc = 0; in ubi_scan_fastmap()
1330 fmsb->data_crc = 0; in ubi_write_fastmap()
1331 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
/drivers/block/
Damiflop.c1038 unsigned short crc,data_crc[2]; in dos_read() local
1112 raw = dos_decode((unsigned char *)data_crc,(ushort *) raw,4); in dos_read()
1115 if (crc != data_crc[0]) { in dos_read()
1118 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()