/linux-6.6.21/include/uapi/linux/ |
D | jffs2.h | 124 jint32_t node_crc; member 157 jint32_t node_crc; /* CRC for the raw inode (excluding data) */ member 172 jint32_t node_crc; member 185 jint32_t node_crc; member 198 jint32_t node_crc; /* node crc */ member
|
/linux-6.6.21/fs/jffs2/ |
D | write.c | 106 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_dnode() 195 je32_to_cpu(ri->csize), je32_to_cpu(ri->node_crc), in jffs2_write_dnode() 265 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_write_dirent() 388 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_inode_range() 463 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_create() 521 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_do_create() 584 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_do_unlink() 703 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_do_link()
|
D | read.c | 54 ref_offset(fd->raw), je32_to_cpu(ri->node_crc), in jffs2_read_dnode() 57 if (crc != je32_to_cpu(ri->node_crc)) { in jffs2_read_dnode() 59 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode()
|
D | gc.c | 644 if (je32_to_cpu(node->i.node_crc) != crc) { in jffs2_garbage_collect_pristine() 646 ref_offset(raw), je32_to_cpu(node->i.node_crc), in jffs2_garbage_collect_pristine() 664 if (je32_to_cpu(node->d.node_crc) != crc) { in jffs2_garbage_collect_pristine() 667 je32_to_cpu(node->d.node_crc), crc); in jffs2_garbage_collect_pristine() 831 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_metadata() 874 rd.node_crc = cpu_to_je32(crc32(0, &rd, sizeof(rd)-8)); in jffs2_garbage_collect_dirent() 1052 if (crc != je32_to_cpu(ri.node_crc)) { in jffs2_garbage_collect_hole() 1055 je32_to_cpu(ri.node_crc), crc); in jffs2_garbage_collect_hole() 1099 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_hole() 1381 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_dnode()
|
D | scan.c | 339 if (crc != je32_to_cpu(rx->node_crc)) { in jffs2_scan_xattr_node() 341 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node() 395 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node() 397 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node() 1010 if (crc != je32_to_cpu(ri->node_crc)) { in jffs2_scan_inode_node() 1012 __func__, ofs, je32_to_cpu(ri->node_crc), crc); in jffs2_scan_inode_node() 1060 if (crc != je32_to_cpu(rd->node_crc)) { in jffs2_scan_dirent_node() 1062 __func__, ofs, je32_to_cpu(rd->node_crc), crc); in jffs2_scan_dirent_node()
|
D | dir.c | 340 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink() 411 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink() 500 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir() 556 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir() 675 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mknod() 734 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mknod()
|
D | readinode.c | 597 if (unlikely(crc != je32_to_cpu(rd->node_crc))) { in read_direntry() 599 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_direntry() 685 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_direntry() 726 if (unlikely(crc != je32_to_cpu(rd->node_crc))) { in read_dnode() 728 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_dnode() 1230 if (crc != je32_to_cpu(latest_node->node_crc)) { in jffs2_do_read_inode_internal()
|
D | debug.c | 830 printk(JFFS2_DBG "node_crc:\t%#08x\n", je32_to_cpu(node.i.node_crc)); in __jffs2_dbg_dump_node() 833 if (crc != je32_to_cpu(node.i.node_crc)) { in __jffs2_dbg_dump_node() 848 printk(JFFS2_DBG "node_crc:\t%#08x\n", je32_to_cpu(node.d.node_crc)); in __jffs2_dbg_dump_node() 855 if (crc != je32_to_cpu(node.d.node_crc)) { in __jffs2_dbg_dump_node()
|
D | xattr.c | 155 if (crc != je32_to_cpu(rx.node_crc)) { in do_verify_xattr_datum() 315 rx.node_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_raw_xattr) - 4)); in save_xattr_datum() 467 if (crc != je32_to_cpu(rr.node_crc)) { in verify_xattr_ref() 469 offset, je32_to_cpu(rr.node_crc), crc); in verify_xattr_ref() 529 rr.node_crc = cpu_to_je32(crc32(0, &rr, sizeof(rr) - 4)); in save_xattr_ref()
|
D | file.c | 177 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_write_begin()
|
D | summary.c | 604 if (je32_to_cpu(summary->node_crc) != crc) { in jffs2_sum_scan_sumnode() 810 isum.node_crc = cpu_to_je32(crc32(0, &isum, sizeof(isum) - 8)); in jffs2_sum_write_data()
|
D | fs.c | 133 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_setattr()
|
/linux-6.6.21/fs/ubifs/ |
D | io.c | 248 uint32_t crc, node_crc, magic; in ubifs_check_node() local 288 node_crc = le32_to_cpu(ch->crc); in ubifs_check_node() 289 if (crc != node_crc) { in ubifs_check_node() 292 crc, node_crc); in ubifs_check_node()
|
D | tnc.c | 486 uint32_t crc, node_crc; in try_read_node() local 510 node_crc = le32_to_cpu(ch->crc); in try_read_node() 511 if (crc != node_crc) in try_read_node()
|