Home
last modified time | relevance | path

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

/fs/jffs2/
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()
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()
Dxattr.c179 xd->data_crc = je32_to_cpu(rx.data_crc); in do_verify_xattr_datum()
231 if (crc != xd->data_crc) { in do_load_xattr_datum()
234 ref_offset(xd->node), xd->data_crc, crc); in do_load_xattr_datum()
313 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); in save_xattr_datum()
384 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.c633 if (je32_to_cpu(node->i.data_crc) != crc) { in jffs2_garbage_collect_pristine()
636 je32_to_cpu(node->i.data_crc), crc); in jffs2_garbage_collect_pristine()
812 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
1078 ri.data_crc = cpu_to_je32(0); in jffs2_garbage_collect_hole()
1355 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()
388 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
461 ri->data_crc = cpu_to_je32(0); in jffs2_do_create()
Ddir.c352 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
510 ri->data_crc = cpu_to_je32(0); in jffs2_mkdir()
683 ri->data_crc = cpu_to_je32(crc32(0, &dev, devlen)); in jffs2_mknod()
Dfs.c133 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
135 ri->data_crc = cpu_to_je32(0); in jffs2_do_setattr()
Dfile.c193 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
Dnodelist.h232 uint32_t data_crc; member
Dscan.c371 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()
/fs/logfs/
Dsegment.c323 h.data_crc = logfs_crc32(buf, len, 0); in __logfs_segment_write()
599 if (crc != oh.data_crc) { in __logfs_segment_read()
602 be32_to_cpu(oh.data_crc), in __logfs_segment_read()
616 if (crc != oh.data_crc) { in __logfs_segment_read()
619 be32_to_cpu(oh.data_crc), in __logfs_segment_read()
Dlogfs_abi.h291 __be32 data_crc; member