Home
last modified time | relevance | path

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

/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Djffs2.h87 jint32_t node_crc; member
112 jint32_t node_crc; member
126 jint32_t node_crc; member
137 jint32_t node_crc; member
148 jint32_t node_crc; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Djffs2.h77 jint32_t node_crc; member
103 jint32_t node_crc; member
117 jint32_t node_crc; member
129 jint32_t node_crc; member
141 jint32_t node_crc; member
/kernel/linux/linux-5.10/include/uapi/linux/
Djffs2.h124 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
/kernel/linux/linux-5.10/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.c337 if (crc != je32_to_cpu(rx->node_crc)) { in jffs2_scan_xattr_node()
339 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node()
393 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node()
395 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node()
1008 if (crc != je32_to_cpu(ri->node_crc)) { in jffs2_scan_inode_node()
1010 __func__, ofs, je32_to_cpu(ri->node_crc), crc); in jffs2_scan_inode_node()
1058 if (crc != je32_to_cpu(rd->node_crc)) { in jffs2_scan_dirent_node()
1060 __func__, ofs, je32_to_cpu(rd->node_crc), crc); in jffs2_scan_dirent_node()
Ddir.c335 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
406 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink()
493 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
549 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir()
666 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mknod()
725 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.c179 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()
/kernel/linux/linux-5.10/fs/ubifs/
Dio.c230 uint32_t crc, node_crc, magic; in ubifs_check_node() local
268 node_crc = le32_to_cpu(ch->crc); in ubifs_check_node()
269 if (crc != node_crc) { in ubifs_check_node()
272 crc, node_crc); in ubifs_check_node()
Dtnc.c448 uint32_t crc, node_crc; in try_read_node() local
472 node_crc = le32_to_cpu(ch->crc); in try_read_node()
473 if (crc != node_crc) in try_read_node()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch1504 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8));
1561 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8));
1672 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8));
1822 - ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8));
1912 - rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8));
2500 - ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8));
2871 - ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8));
2881 + ri->node_crc = cpu_to_je32(crc32(0, ri, (sizeof(*ri)-8)));
3783 ref_offset(raw), je32_to_cpu(node->i.node_crc),
3800 je32_to_cpu(node->d.node_crc), crc);
[all …]