Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/mtd/ubi/
Dubi-media.h280 __be32 data_crc; member
411 __be32 data_crc; member
Deba.c689 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb()
855 vid_hdr->data_crc = cpu_to_be32(crc); in try_recover_peb()
1147 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
1231 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change()
1415 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.c850 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() local
922 if (data_crc != 0) { in validate_vid_hdr()
Dfastmap.c1037 tmp_crc = be32_to_cpu(fmsb2->data_crc); in ubi_scan_fastmap()
1038 fmsb2->data_crc = 0; in ubi_scan_fastmap()
1348 fmsb->data_crc = 0; in ubi_write_fastmap()
1349 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
/Linux-v6.1/include/uapi/linux/
Djffs2.h156 jint32_t data_crc; /* CRC for the (compressed) data. */ member
171 jint32_t data_crc; member
/Linux-v6.1/include/linux/ceph/
Dmsgr.h218 __le32 front_crc, middle_crc, data_crc; member
223 __le32 front_crc, middle_crc, data_crc; member
Dmessenger.h418 u32 data_crc; member
/Linux-v6.1/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()
1421 u32 data_crc; in iscsit_do_crypto_hash_sg() local
1459 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc, in iscsit_do_crypto_hash_sg()
1463 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0); in iscsit_do_crypto_hash_sg()
1467 return data_crc; in iscsit_do_crypto_hash_sg()
[all …]
/Linux-v6.1/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()
802 if (len >= csize && unlikely(tn->partial_crc != je32_to_cpu(rd->data_crc))) { in read_dnode()
804 ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc)); in read_dnode()
841 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.c338 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
497 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
671 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.c179 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
Dnodelist.h233 uint32_t data_crc; member
Dscan.c374 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
/Linux-v6.1/net/ceph/
Dmessenger_v2.c560 cpu_to_le32s(&con->v2.out_epil.data_crc); in encode_epilogue_plain()
571 u32 *data_crc) in decode_epilogue() argument
583 if (front_crc && middle_crc && data_crc) { in decode_epilogue()
586 *data_crc = ceph_decode_32(&p); in decode_epilogue()
648 u32 middle_crc, u32 data_crc) in verify_epilogue_crcs() argument
683 if (con->in_data_crc != data_crc) { in verify_epilogue_crcs()
685 con->in_data_crc, data_crc); in verify_epilogue_crcs()
1492 con->v2.out_epil.middle_crc, con->v2.out_epil.data_crc); in prepare_epilogue_plain()
1545 con->v2.out_epil.data_crc = 0; in prepare_message_plain()
2814 u32 front_crc, middle_crc, data_crc; in handle_epilogue() local
[all …]
Dauth_x.c974 __le32 data_crc; in calc_signature() member
981 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
996 __le32 data_crc; in calc_signature() member
1010 sigblock->data_crc = msg->footer.data_crc; in calc_signature()
Dmessenger_v1.c252 con->out_msg->footer.data_crc = 0; in prepare_write_message()
486 crc = do_datacrc ? le32_to_cpu(msg->footer.data_crc) : 0; in write_partial_message_data()
505 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_message_data()
518 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_message_data()
1205 m->footer.middle_crc, data_len, m->footer.data_crc); in read_partial_message()
1220 con->in_data_crc != le32_to_cpu(m->footer.data_crc)) { in read_partial_message()
1222 con->in_data_crc, le32_to_cpu(m->footer.data_crc)); in read_partial_message()
/Linux-v6.1/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-v6.1/include/target/iscsi/
Discsi_target_core.h404 u32 data_crc; member

12