Home
last modified time | relevance | path

Searched refs:data_crc (Results 1 – 12 of 12) sorted by relevance

/fs/jffs2/
Dreadinode.c62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data()
107 if (crc != tn->data_crc) { in check_node_data()
109 ref_offset(ref), tn->data_crc, crc); in check_node_data()
802 if (len >= csize && unlikely(tn->partial_crc != je32_to_cpu(rd->data_crc))) { in read_dnode()
804 ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc)); in read_dnode()
841 tn->data_crc = je32_to_cpu(rd->data_crc); in read_dnode()
Dread.c124 if (crc != je32_to_cpu(ri->data_crc)) { in jffs2_read_dnode()
126 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode()
Dxattr.c180 xd->data_crc = je32_to_cpu(rx.data_crc); in do_verify_xattr_datum()
232 if (crc != xd->data_crc) { in do_load_xattr_datum()
235 ref_offset(xd->node), xd->data_crc, crc); in do_load_xattr_datum()
314 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); in save_xattr_datum()
385 xd->data_crc = crc32(0, data, xd->name_len + 1 + xd->value_len); in create_xattr_datum()
Dxattr.h36 uint32_t data_crc; member
Dgc.c653 if (je32_to_cpu(node->i.data_crc) != crc) { in jffs2_garbage_collect_pristine()
656 je32_to_cpu(node->i.data_crc), crc); in jffs2_garbage_collect_pristine()
832 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
1098 ri.data_crc = cpu_to_je32(0); in jffs2_garbage_collect_hole()
1382 ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_garbage_collect_dnode()
Dwrite.c196 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen)); in jffs2_write_dnode()
389 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
462 ri->data_crc = cpu_to_je32(0); in jffs2_do_create()
Ddir.c334 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
492 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
665 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
Dfs.c135 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
137 ri->data_crc = cpu_to_je32(0); in jffs2_do_setattr()
Dfile.c179 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
Dnodelist.h233 uint32_t data_crc; member
Dscan.c374 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
Ddebug.c829 printk(JFFS2_DBG "data_crc:\t%#08x\n", je32_to_cpu(node.i.data_crc)); in __jffs2_dbg_dump_node()