Home
last modified time | relevance | path

Searched refs:hdr_crc (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/mtd/ubi/
A Dio.c757 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr()
759 if (hdr_crc != crc) { in ubi_io_read_ec_hdr()
766 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
1010 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr()
1012 if (hdr_crc != crc) { in ubi_io_read_vid_hdr()
1019 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1171 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in self_check_peb_ec_hdr()
1172 if (hdr_crc != crc) { in self_check_peb_ec_hdr()
1174 crc, hdr_crc); in self_check_peb_ec_hdr()
1261 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in self_check_peb_vid_hdr()
[all …]
A Dubi-media.h156 __be32 hdr_crc; member
284 __be32 hdr_crc; member
A Ddebug.c60 pr_err("\thdr_crc %#08x\n", be32_to_cpu(ec_hdr->hdr_crc)); in ubi_dump_ec_hdr()
85 pr_err("\thdr_crc %08x\n", be32_to_cpu(vid_hdr->hdr_crc)); in ubi_dump_vid_hdr()
/linux/include/uapi/linux/
A Djffs2.h108 jint32_t hdr_crc; member
116 jint32_t hdr_crc; member
140 jint32_t hdr_crc; member
165 jint32_t hdr_crc; member
181 jint32_t hdr_crc; member
193 jint32_t hdr_crc; member
/linux/fs/jffs2/
A Dwrite.c47 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode()
72 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode()
221 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent()
378 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_inode_range()
513 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_create()
576 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_unlink()
693 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_link()
A Ddir.c335 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
402 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
546 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir()
668 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
720 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mknod()
A Dscan.c448 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local
760 hdr_crc = crc32(0, &crcnode, sizeof(crcnode)-4); in jffs2_scan_eraseblock()
762 if (hdr_crc != je32_to_cpu(node->hdr_crc)) { in jffs2_scan_eraseblock()
768 je32_to_cpu(node->hdr_crc), in jffs2_scan_eraseblock()
769 hdr_crc); in jffs2_scan_eraseblock()
A Dgc.c635 if (je32_to_cpu(node->u.hdr_crc) != crc) { in jffs2_garbage_collect_pristine()
637 ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); in jffs2_garbage_collect_pristine()
816 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata()
862 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent()
1073 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_hole()
1365 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dnode()
A Dreadinode.c896 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); in read_unknown()
1060 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { in jffs2_get_inode_nodes()
1065 je32_to_cpu(node->u.hdr_crc)); in jffs2_get_inode_nodes()
A Dfile.c171 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin()
A Dxattr.c157 offset, je32_to_cpu(rx.hdr_crc), crc); in do_verify_xattr_datum()
307 rx.hdr_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_datum()
517 rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_ref()
A Dsummary.c591 if (je32_to_cpu(summary->hdr_crc) != crc) { in jffs2_sum_scan_sumnode()
712 isum.hdr_crc = cpu_to_je32(crc32(0, &isum, sizeof(struct jffs2_unknown_node) - 4)); in jffs2_sum_write_data()
A Ddebug.c793 printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); in __jffs2_dbg_dump_node()
796 if (crc != je32_to_cpu(node.u.hdr_crc)) { in __jffs2_dbg_dump_node()
A Derase.c433 marker.hdr_crc = cpu_to_je32(crc32(0, &marker, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mark_erased_block()
A Dfs.c99 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr()
A Dwbuf.c621 padnode->hdr_crc = cpu_to_je32(crc32(0, padnode, sizeof(*padnode)-4)); in __jffs2_flush_wbuf()

Completed in 47 milliseconds