Searched refs:data_crc (Results 1 – 12 of 12) sorted by relevance
/fs/jffs2/ |
D | readinode.c | 62 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()
|
D | read.c | 124 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()
|
D | xattr.c | 180 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()
|
D | xattr.h | 36 uint32_t data_crc; member
|
D | gc.c | 653 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()
|
D | write.c | 196 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()
|
D | dir.c | 334 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()
|
D | fs.c | 135 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()
|
D | file.c | 179 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
|
D | nodelist.h | 233 uint32_t data_crc; member
|
D | scan.c | 374 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
|
D | debug.c | 829 printk(JFFS2_DBG "data_crc:\t%#08x\n", je32_to_cpu(node.i.data_crc)); in __jffs2_dbg_dump_node()
|