Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jffs2/
Dread.c72 …ize %x, csize %x, offset %x, buf %p\n", fd->raw->flash_offset & ~3, ri->node_crc, crc, ri->dsize, … in jffs2_read_dnode()
73 if (crc != ri->node_crc) { in jffs2_read_dnode()
74 …printk(KERN_WARNING "Node CRC %08x != calculated CRC %08x for node at %08x\n", ri->node_crc, crc, … in jffs2_read_dnode()
Ddir.c241 ri->node_crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_create()
301 rd->node_crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_create()
371 rd->node_crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_do_unlink()
463 rd->node_crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_do_link()
565 ri->node_crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_symlink()
622 rd->node_crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_symlink()
699 ri->node_crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_mkdir()
756 rd->node_crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_mkdir()
853 ri->node_crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_mknod()
913 rd->node_crc = crc32(0, rd, sizeof(*rd)-8); in jffs2_mknod()
Dgc.c353 ri.node_crc = crc32(0, &ri, sizeof(ri)-8); in jffs2_garbage_collect_metadata()
392 rd.node_crc = crc32(0, &rd, sizeof(rd)-8); in jffs2_garbage_collect_dirent()
478 if (crc != ri.node_crc) { in jffs2_garbage_collect_hole()
480 fn->raw->flash_offset & ~3, ri.node_crc, crc); in jffs2_garbage_collect_hole()
514 ri.node_crc = crc32(0, &ri, sizeof(ri)-8); in jffs2_garbage_collect_hole()
679 ri.node_crc = crc32(0, &ri, sizeof(ri)-8); in jffs2_garbage_collect_dnode()
Dscan.c455 if(crc != ri.node_crc) { in jffs2_scan_inode_node()
457 *ofs, ri.node_crc, crc); in jffs2_scan_inode_node()
631 if (crc != rd.node_crc) { in jffs2_scan_dirent_node()
633 *ofs, rd.node_crc, crc); in jffs2_scan_dirent_node()
Dfile.c172 ri->node_crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_setattr()
374 ri.node_crc = crc32(0, &ri, sizeof(ri)-8); in jffs2_prepare_write()
492 ri->node_crc = crc32(0, ri, sizeof(*ri)-8); in jffs2_commit_write()
Dwrite.c252 …data_crc 0x%08x, totlen 0x%08x\n", flash_ofs, ri->dsize, ri->csize, ri->node_crc, ri->data_crc, ri… in jffs2_write_dnode()
Dreadinode.c355 if (crc != latest_node.node_crc) { in jffs2_read_inode()
/linux-2.4.37.9/include/linux/
Djffs2.h121 __u32 node_crc; member
154 __u32 node_crc; /* CRC for the raw inode (excluding data) */ member