/linux-2.6.39/include/linux/ |
D | jffs2.h | 113 jint32_t hdr_crc; member 121 jint32_t hdr_crc; member 145 jint32_t hdr_crc; member 170 jint32_t hdr_crc; member 186 jint32_t hdr_crc; member 198 jint32_t hdr_crc; member
|
/linux-2.6.39/drivers/mtd/ubi/ |
D | io.c | 756 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local 815 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr() 817 if (hdr_crc != crc) { in ubi_io_read_ec_hdr() 820 "%#08x, read %#08x", pnum, crc, hdr_crc); in ubi_io_read_ec_hdr() 824 "%#08x, read %#08x", pnum, crc, hdr_crc); in ubi_io_read_ec_hdr() 876 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr() 1026 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local 1066 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr() 1068 if (hdr_crc != crc) { in ubi_io_read_vid_hdr() 1071 "read %#08x", pnum, crc, hdr_crc); in ubi_io_read_vid_hdr() [all …]
|
D | ubi-media.h | 166 __be32 hdr_crc; member 294 __be32 hdr_crc; member
|
D | debug.c | 64 be32_to_cpu(ec_hdr->hdr_crc)); in ubi_dbg_dump_ec_hdr() 89 printk(KERN_DEBUG "\thdr_crc %08x\n", be32_to_cpu(vid_hdr->hdr_crc)); in ubi_dbg_dump_vid_hdr()
|
/linux-2.6.39/fs/jffs2/ |
D | write.c | 45 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode() 70 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode() 213 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent() 365 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_inode_range() 499 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_create() 562 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_unlink() 677 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_link()
|
D | dir.c | 350 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 415 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 559 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir() 680 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod() 732 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
|
D | scan.c | 439 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local 732 hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); in jffs2_scan_eraseblock() 734 if (hdr_crc != je32_to_cpu(node->hdr_crc)) { in jffs2_scan_eraseblock() 739 je32_to_cpu(node->hdr_crc), in jffs2_scan_eraseblock() 740 hdr_crc); in jffs2_scan_eraseblock()
|
D | gc.c | 597 if (je32_to_cpu(node->u.hdr_crc) != crc) { in jffs2_garbage_collect_pristine() 599 ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); in jffs2_garbage_collect_pristine() 766 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata() 812 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent() 1015 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_hole() 1287 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dnode()
|
D | file.c | 163 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin()
|
D | readinode.c | 893 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); in read_unknown() 1057 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { in jffs2_get_inode_nodes() 1062 je32_to_cpu(node->u.hdr_crc)); in jffs2_get_inode_nodes()
|
D | summary.c | 586 if (je32_to_cpu(summary->hdr_crc) != crc) { in jffs2_sum_scan_sumnode() 707 isum.hdr_crc = cpu_to_je32(crc32(0, &isum, sizeof(struct jffs2_unknown_node) - 4)); in jffs2_sum_write_data()
|
D | xattr.c | 152 offset, je32_to_cpu(rx.hdr_crc), crc); in do_verify_xattr_datum() 302 rx.hdr_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_datum() 510 rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_ref()
|
D | debug.c | 787 printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); in __jffs2_dbg_dump_node() 790 if (crc != je32_to_cpu(node.u.hdr_crc)) { in __jffs2_dbg_dump_node()
|
D | erase.c | 447 marker.hdr_crc = cpu_to_je32(crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mark_erased_block()
|
D | fs.c | 93 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr()
|
D | wbuf.c | 612 padnode->hdr_crc = cpu_to_je32(crc32(0, padnode, sizeof(*padnode)-4)); in __jffs2_flush_wbuf()
|