Home
last modified time | relevance | path

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

12

/linux/sound/soc/codecs/aw88395/
H A Daw88395_data_type.h98 u32 data_crc; member
112 u32 data_crc; member
H A Daw88395_lib.c1072 if (act_crc8 != cfg_dde[i].data_crc) { in aw_dev_check_cfg_by_hdr()
1073 dev_err(aw_dev->dev, "ddt_num[%d] act_crc8:0x%x != data_crc:0x%x", in aw_dev_check_cfg_by_hdr()
1074 i, (u32)act_crc8, cfg_dde[i].data_crc); in aw_dev_check_cfg_by_hdr()
1131 if (act_crc8 != cfg_dde[i].data_crc) { in aw_dev_check_acf_by_hdr_v1()
1132 dev_err(aw_dev->dev, "ddt_num[%d] act_crc8:0x%x != data_crc 0x%x", in aw_dev_check_acf_by_hdr_v1()
1133 i, (u32)act_crc8, cfg_dde[i].data_crc); in aw_dev_check_acf_by_hdr_v1()
/linux/drivers/mtd/ubi/
H A Dubi-media.h176 * @data_crc: CRC checksum of the data stored in this logical eraseblock
220 * the @data_crc field of the copy (P1). So when UBI needs to pick one physical
244 * The @data_crc field contains the CRC checksum of the contents of the logical
249 * the @data_crc field. And of course, the @copy_flag is %in this case.
256 * contents and uses both @data_crc and @data_size fields. In this case, the
280 __be32 data_crc; member
400 * @data_crc: CRC over the fastmap data
411 __be32 data_crc; member
H A Deba.c686 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb()
852 vid_hdr->data_crc = cpu_to_be32(crc); in try_recover_peb()
1153 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
1237 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change()
1416 * @vid_hdr->copy_flag, @vid_hdr->data_size, and @vid_hdr->data_crc. in ubi_eba_copy_leb()
1421 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_copy_leb()
H A 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()
H A Dio.c894 int data_crc = be32_to_cpu(vid_hdr->data_crc); in validate_vid_hdr() local
966 if (data_crc != 0) { in validate_vid_hdr()
H A Dfastmap.c1038 tmp_crc = be32_to_cpu(fmsb2->data_crc); in ubi_scan_fastmap()
1039 fmsb2->data_crc = 0; in ubi_scan_fastmap()
1349 fmsb->data_crc = 0; in ubi_write_fastmap()
1350 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
/linux/include/uapi/linux/
H A Djffs2.h156 jint32_t data_crc; /* CRC for the (compressed) data. */ member
171 jint32_t data_crc; member
/linux/include/linux/ceph/
H A Dmsgr.h218 __le32 front_crc, middle_crc, data_crc; member
223 __le32 front_crc, middle_crc, data_crc; member
H A Dmessenger.h456 u32 data_crc; member
/linux/fs/jffs2/
H A 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()
H A 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()
H A Dxattr.h36 uint32_t data_crc; member
H A 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()
H A Dwrite.c193 jffs2_dbg(1, "jffs2_write_dnode wrote node at 0x%08x(%d) with dsize 0x%x, csize 0x%x, node_crc 0x%08x, data_crc 0x%08x, totlen 0x%08x\n", in jffs2_write_dnode()
196 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()
H A Ddir.c341 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
501 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
677 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
H A 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()
H A Dfile.c174 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
H A Dnodelist.h233 uint32_t data_crc; member
H A Dscan.c376 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
/linux/drivers/target/iscsi/
H A Discsi_target.c538 cmd->data_crc = iscsit_crc_buf(data_buf, data_buf_len, in iscsit_xmit_nondatain_pdu()
541 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
546 data_buf_len, hdr->opcode, cmd->data_crc); in iscsit_xmit_nondatain_pdu()
611 cmd->data_crc = iscsit_crc_sglist(cmd, datain->length, in iscsit_xmit_datain_pdu()
613 iov[iov_count].iov_base = &cmd->data_crc; in iscsit_xmit_datain_pdu()
618 datain->length + cmd->padding, cmd->data_crc); in iscsit_xmit_datain_pdu()
1621 u32 data_crc; in iscsit_get_dataout() local
1623 data_crc = iscsit_crc_sglist(cmd, payload_length, padding, in iscsit_get_dataout()
1625 if (checksum != data_crc) { in iscsit_get_dataout()
1630 hdr->datasn, checksum, data_crc); in iscsit_get_dataout()
1848 u32 checksum, data_crc, padding = 0; iscsit_handle_nop_out() local
2252 u32 checksum = 0, data_crc = 0; iscsit_handle_text_cmd() local
2639 u32 data_crc; iscsit_handle_immediate_data() local
[all...]
/linux/net/ceph/
H A 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()
H A Dmessenger_v2.c571 cpu_to_le32s(&con->v2.out_epil.data_crc); in encode_epilogue_plain()
582 u32 *data_crc) in decode_epilogue() argument
594 if (front_crc && middle_crc && data_crc) { in decode_epilogue()
597 *data_crc = ceph_decode_32(&p); in decode_epilogue()
659 u32 middle_crc, u32 data_crc) in verify_epilogue_crcs() argument
694 if (con->in_data_crc != data_crc) { in verify_epilogue_crcs()
696 con->in_data_crc, data_crc); in verify_epilogue_crcs()
1596 con->v2.out_epil.middle_crc, con->v2.out_epil.data_crc); in prepare_epilogue_plain()
1649 con->v2.out_epil.data_crc = 0; in prepare_message_plain()
3040 u32 front_crc, middle_crc, data_crc; in handle_epilogue() local
[all...]
H A Dmessenger_v1.c252 con->out_msg->footer.data_crc = 0; in prepare_write_message()
485 crc = do_datacrc ? le32_to_cpu(msg->footer.data_crc) : 0; in write_partial_message_data()
502 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_message_data()
515 msg->footer.data_crc = cpu_to_le32(crc); in write_partial_message_data()
1281 m->footer.middle_crc, data_len, m->footer.data_crc); in read_partial_message()
1296 con->in_data_crc != le32_to_cpu(m->footer.data_crc)) { in read_partial_message()
1298 con->in_data_crc, le32_to_cpu(m->footer.data_crc)); in read_partial_message()
/linux/drivers/block/
H A Damiflop.c1156 unsigned short crc,data_crc[2]; in dos_read() local
1230 raw = dos_decode((unsigned char *)data_crc,(ushort *) raw,4); in dos_read()
1233 if (crc != data_crc[0]) { in dos_read()
1236 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()

12