Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/target/iscsi/
Discsi_target.c1179 u32 data_crc; in iscsit_do_crypto_hash_sg() local
1206 crypto_hash_final(hash, (u8 *) &data_crc); in iscsit_do_crypto_hash_sg()
1208 return data_crc; in iscsit_do_crypto_hash_sg()
1217 u8 *data_crc) in iscsit_do_crypto_hash_buf() argument
1230 crypto_hash_final(hash, data_crc); in iscsit_do_crypto_hash_buf()
1414 u32 data_crc; in iscsit_handle_data_out() local
1416 data_crc = iscsit_do_crypto_hash_sg(&conn->conn_rx_hash, cmd, in iscsit_handle_data_out()
1420 if (checksum != data_crc) { in iscsit_handle_data_out()
1425 hdr->datasn, checksum, data_crc); in iscsit_handle_data_out()
1469 u32 checksum, data_crc, padding = 0, payload_length; in iscsit_handle_nop_out() local
[all …]
Discsi_target_erl1.c98 u32 data_crc; in iscsit_dump_data_payload() local
101 iov.iov_base = &data_crc; in iscsit_dump_data_payload()
Discsi_target_core.h382 u32 data_crc; member
/linux-3.4.99/include/linux/
Djffs2.h161 jint32_t data_crc; /* CRC for the (compressed) data. */ member
176 jint32_t data_crc; member
/linux-3.4.99/drivers/mtd/ubi/
Dubi-media.h290 __be32 data_crc; member
Dscan.c322 uint32_t data_crc, crc; in compare_lebs() local
401 data_crc = be32_to_cpu(vid_hdr->data_crc); in compare_lebs()
403 if (crc != data_crc) { in compare_lebs()
405 pnum, crc, data_crc); in compare_lebs()
Deba.c437 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb()
763 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
881 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change()
1097 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_copy_leb()
Dio.c904 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() local
976 if (data_crc != 0) { in validate_vid_hdr()
/linux-3.4.99/fs/jffs2/
Dread.c124 if (crc != je32_to_cpu(ri->data_crc)) { in jffs2_read_dnode()
126 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode()
Dreadinode.c62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data()
107 if (crc != tn->data_crc) { in check_node_data()
109 ref_offset(ref), tn->data_crc, crc); in check_node_data()
799 if (len >= csize && unlikely(tn->partial_crc != je32_to_cpu(rd->data_crc))) { in read_dnode()
801 ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc)); in read_dnode()
838 tn->data_crc = je32_to_cpu(rd->data_crc); in read_dnode()
Dxattr.h36 uint32_t data_crc; member
Dxattr.c177 xd->data_crc = je32_to_cpu(rx.data_crc); in do_verify_xattr_datum()
229 if (crc != xd->data_crc) { in do_load_xattr_datum()
232 ref_offset(xd->node), xd->data_crc, crc); in do_load_xattr_datum()
311 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); in save_xattr_datum()
382 xd->data_crc = crc32(0, data, xd->name_len + 1 + xd->value_len); in create_xattr_datum()
Dwrite.c196 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen)); in jffs2_write_dnode()
388 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
461 ri->data_crc = cpu_to_je32(0); in jffs2_do_create()
Dgc.c633 if (je32_to_cpu(node->i.data_crc) != crc) { in jffs2_garbage_collect_pristine()
636 je32_to_cpu(node->i.data_crc), crc); in jffs2_garbage_collect_pristine()
812 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
1078 ri.data_crc = cpu_to_je32(0); in jffs2_garbage_collect_hole()
1355 ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_garbage_collect_dnode()
Ddir.c352 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
510 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
683 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
Dfs.c131 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
133 ri->data_crc = cpu_to_je32(0); in jffs2_do_setattr()
Dfile.c193 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
Dnodelist.h232 uint32_t data_crc; member
Dscan.c371 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
Ddebug.c829 printk(JFFS2_DBG "data_crc:\t%#08x\n", je32_to_cpu(node.i.data_crc)); in __jffs2_dbg_dump_node()
/linux-3.4.99/include/linux/ceph/
Dmsgr.h167 __le32 front_crc, middle_crc, data_crc; member
/linux-3.4.99/fs/logfs/
Dsegment.c323 h.data_crc = logfs_crc32(buf, len, 0); in __logfs_segment_write()
599 if (crc != oh.data_crc) { in __logfs_segment_read()
602 be32_to_cpu(oh.data_crc), in __logfs_segment_read()
616 if (crc != oh.data_crc) { in __logfs_segment_read()
619 be32_to_cpu(oh.data_crc), in __logfs_segment_read()
Dlogfs_abi.h291 __be32 data_crc; member
/linux-3.4.99/net/ceph/
Dmessenger.c790 con->out_msg->footer.data_crc = 0; in prepare_write_message()
1066 u32 crc = le32_to_cpu(msg->footer.data_crc); in write_partial_msg_pages()
1074 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_msg_pages()
1941 m->footer.middle_crc, data_len, m->footer.data_crc); in read_partial_message()
1956 con->in_data_crc != le32_to_cpu(m->footer.data_crc)) { in read_partial_message()
1958 con->in_data_crc, le32_to_cpu(m->footer.data_crc)); in read_partial_message()
2641 m->footer.data_crc = 0; in ceph_msg_new()
/linux-3.4.99/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()