Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/ceph/
Dmsgr.h172 __le32 front_crc, middle_crc, data_crc; member
177 __le32 front_crc, middle_crc, data_crc; member
/Linux-v5.10/drivers/mtd/ubi/
Dubi-media.h280 __be32 data_crc; member
411 __be32 data_crc; member
Deba.c690 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb()
856 vid_hdr->data_crc = cpu_to_be32(crc); in try_recover_peb()
1148 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
1232 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change()
1416 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_copy_leb()
Dattach.c442 uint32_t data_crc, crc; in ubi_compare_lebs() local
517 data_crc = be32_to_cpu(vid_hdr->data_crc); in ubi_compare_lebs()
519 if (crc != data_crc) { in ubi_compare_lebs()
521 pnum, crc, data_crc); in ubi_compare_lebs()
Dio.c843 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() local
920 if (data_crc != 0) { in validate_vid_hdr()
Dfastmap.c1028 tmp_crc = be32_to_cpu(fmsb2->data_crc); in ubi_scan_fastmap()
1029 fmsb2->data_crc = 0; in ubi_scan_fastmap()
1351 fmsb->data_crc = 0; in ubi_write_fastmap()
1352 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
/Linux-v5.10/include/uapi/linux/
Djffs2.h156 jint32_t data_crc; /* CRC for the (compressed) data. */ member
171 jint32_t data_crc; member
/Linux-v5.10/drivers/target/iscsi/
Discsi_target.c544 &cmd->data_crc); in iscsit_xmit_nondatain_pdu()
546 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
551 data_buf_len, hdr->opcode, cmd->data_crc); in iscsit_xmit_nondatain_pdu()
618 cmd->data_crc = iscsit_do_crypto_hash_sg(conn->conn_tx_hash, in iscsit_xmit_datain_pdu()
624 iov[iov_count].iov_base = &cmd->data_crc; in iscsit_xmit_datain_pdu()
629 datain->length + cmd->padding, cmd->data_crc); in iscsit_xmit_datain_pdu()
1382 u32 data_crc; in iscsit_do_crypto_hash_sg() local
1420 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc, in iscsit_do_crypto_hash_sg()
1424 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0); in iscsit_do_crypto_hash_sg()
1428 return data_crc; in iscsit_do_crypto_hash_sg()
[all …]
/Linux-v5.10/net/ceph/
Dauth_x.c817 __le32 data_crc; in calc_signature() member
824 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
839 __le32 data_crc; in calc_signature() member
853 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
Dmessenger.c1329 con->out_msg->footer.data_crc = 0; in prepare_write_message()
1573 crc = do_datacrc ? le32_to_cpu(msg->footer.data_crc) : 0; in write_partial_message_data()
1592 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_message_data()
1605 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_message_data()
2482 m->footer.middle_crc, data_len, m->footer.data_crc); in read_partial_message()
2497 con->in_data_crc != le32_to_cpu(m->footer.data_crc)) { in read_partial_message()
2499 con->in_data_crc, le32_to_cpu(m->footer.data_crc)); in read_partial_message()
/Linux-v5.10/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()
786 if (len >= csize && unlikely(tn->partial_crc != je32_to_cpu(rd->data_crc))) { in read_dnode()
788 ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc)); in read_dnode()
825 tn->data_crc = je32_to_cpu(rd->data_crc); in read_dnode()
Dxattr.h36 uint32_t data_crc; member
Dxattr.c180 xd->data_crc = je32_to_cpu(rx.data_crc); in do_verify_xattr_datum()
232 if (crc != xd->data_crc) { in do_load_xattr_datum()
235 ref_offset(xd->node), xd->data_crc, crc); in do_load_xattr_datum()
314 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); in save_xattr_datum()
385 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()
389 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
462 ri->data_crc = cpu_to_je32(0); in jffs2_do_create()
Dgc.c653 if (je32_to_cpu(node->i.data_crc) != crc) { in jffs2_garbage_collect_pristine()
656 je32_to_cpu(node->i.data_crc), crc); in jffs2_garbage_collect_pristine()
832 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
1098 ri.data_crc = cpu_to_je32(0); in jffs2_garbage_collect_hole()
1382 ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_garbage_collect_dnode()
Ddir.c334 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
492 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
665 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
Dfs.c135 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
137 ri->data_crc = cpu_to_je32(0); in jffs2_do_setattr()
Dfile.c184 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
Dnodelist.h233 uint32_t data_crc; member
Dscan.c372 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-v5.10/drivers/block/
Damiflop.c1155 unsigned short crc,data_crc[2]; in dos_read() local
1229 raw = dos_decode((unsigned char *)data_crc,(ushort *) raw,4); in dos_read()
1232 if (crc != data_crc[0]) { in dos_read()
1235 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()
/Linux-v5.10/include/target/iscsi/
Discsi_target_core.h403 u32 data_crc; member