Home
last modified time | relevance | path

Searched refs:node_crc (Results 1 – 13 of 13) sorted by relevance

/fs/jffs2/
Dwrite.c106 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()
Dread.c54 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()
Dgc.c644 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()
Dscan.c339 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()
Ddir.c340 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()
Dreadinode.c597 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()
Ddebug.c830 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()
Dxattr.c155 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()
Dfile.c177 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_write_begin()
Dsummary.c604 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()
Dfs.c133 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_setattr()
/fs/ubifs/
Dio.c248 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()
Dtnc.c486 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()