/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | io.c | 691 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local 750 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr() 752 if (hdr_crc != crc) { in ubi_io_read_ec_hdr() 755 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr() 759 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr() 811 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr() 968 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local 1008 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr() 1010 if (hdr_crc != crc) { in ubi_io_read_vid_hdr() 1013 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr() [all …]
|
D | ubi-media.h | 156 __be32 hdr_crc; member 284 __be32 hdr_crc; member
|
D | debug.c | 60 pr_err("\thdr_crc %#08x\n", be32_to_cpu(ec_hdr->hdr_crc)); in ubi_dump_ec_hdr() 85 pr_err("\thdr_crc %08x\n", be32_to_cpu(vid_hdr->hdr_crc)); in ubi_dump_vid_hdr()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | jffs2.h | 73 jint32_t hdr_crc; member 79 jint32_t hdr_crc; member 95 jint32_t hdr_crc; member 119 jint32_t hdr_crc; member 133 jint32_t hdr_crc; member 143 jint32_t hdr_crc; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | jffs2.h | 62 jint32_t hdr_crc; member 69 jint32_t hdr_crc; member 86 jint32_t hdr_crc; member 110 jint32_t hdr_crc; member 125 jint32_t hdr_crc; member 136 jint32_t hdr_crc; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | jffs2.h | 108 jint32_t hdr_crc; member 116 jint32_t hdr_crc; member 140 jint32_t hdr_crc; member 165 jint32_t hdr_crc; member 181 jint32_t hdr_crc; member 193 jint32_t hdr_crc; member
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | write.c | 47 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode() 72 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode() 221 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent() 378 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_inode_range() 513 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_create() 576 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_unlink() 693 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_link()
|
D | dir.c | 331 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 398 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 541 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir() 662 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod() 714 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
|
D | scan.c | 448 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local 760 hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); in jffs2_scan_eraseblock() 762 if (hdr_crc != je32_to_cpu(node->hdr_crc)) { in jffs2_scan_eraseblock() 768 je32_to_cpu(node->hdr_crc), in jffs2_scan_eraseblock() 769 hdr_crc); in jffs2_scan_eraseblock()
|
D | gc.c | 635 if (je32_to_cpu(node->u.hdr_crc) != crc) { in jffs2_garbage_collect_pristine() 637 ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); in jffs2_garbage_collect_pristine() 816 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata() 862 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent() 1073 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_hole() 1365 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dnode()
|
D | file.c | 166 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin()
|
D | readinode.c | 896 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); in read_unknown() 1060 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { in jffs2_get_inode_nodes() 1065 je32_to_cpu(node->u.hdr_crc)); in jffs2_get_inode_nodes()
|
D | xattr.c | 157 offset, je32_to_cpu(rx.hdr_crc), crc); in do_verify_xattr_datum() 307 rx.hdr_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_datum() 517 rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_ref()
|
D | summary.c | 591 if (je32_to_cpu(summary->hdr_crc) != crc) { in jffs2_sum_scan_sumnode() 712 isum.hdr_crc = cpu_to_je32(crc32(0, &isum, sizeof(struct jffs2_unknown_node) - 4)); in jffs2_sum_write_data()
|
D | debug.c | 793 printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); in __jffs2_dbg_dump_node() 796 if (crc != je32_to_cpu(node.u.hdr_crc)) { in __jffs2_dbg_dump_node()
|
D | erase.c | 433 marker.hdr_crc = cpu_to_je32(crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mark_erased_block()
|
D | fs.c | 99 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr()
|
D | wbuf.c | 621 padnode->hdr_crc = cpu_to_je32(crc32(0, padnode, sizeof(*padnode)-4)); in __jffs2_flush_wbuf()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 1818 - ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); 1885 - rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); 2487 - ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); 2773 - ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); 2775 + ri->hdr_crc = cpu_to_je32(crc32(0, ri, (sizeof(struct jffs2_unknown_node)-4))); 3774 if (je32_to_cpu(node->u.hdr_crc) != crc) { 3776 ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); 3883 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); 5912 + je32_to_cpu(summary->hdr_crc), 7340 - padnode->hdr_crc = cpu_to_je32(crc32(0, padnode, sizeof(*padnode)-4)); [all …]
|