Lines Matching refs:je32_to_cpu

597 	if (unlikely(crc != je32_to_cpu(rd->node_crc))) {  in read_direntry()
599 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_direntry()
610 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) { in read_direntry()
612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); in read_direntry()
634 fd->version = je32_to_cpu(rd->version); in read_direntry()
635 fd->ino = je32_to_cpu(rd->ino); in read_direntry()
642 if(fd->version > rii->mctime_ver && je32_to_cpu(rd->mctime)) { in read_direntry()
644 rii->latest_mctime = je32_to_cpu(rd->mctime); in read_direntry()
682 if (unlikely(crc != je32_to_cpu(rd->name_crc))) { in read_direntry()
685 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_direntry()
726 if (unlikely(crc != je32_to_cpu(rd->node_crc))) { in read_dnode()
728 ref_offset(ref), je32_to_cpu(rd->node_crc), crc); in read_dnode()
740 csize = je32_to_cpu(rd->csize); in read_dnode()
746 if (unlikely(je32_to_cpu(rd->offset) > je32_to_cpu(rd->isize)) || in read_dnode()
747 unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) { in read_dnode()
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()
839 tn->version = je32_to_cpu(rd->version); in read_dnode()
840 tn->fn->ofs = je32_to_cpu(rd->offset); in read_dnode()
841 tn->data_crc = je32_to_cpu(rd->data_crc); in read_dnode()
851 if (rd->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(rd->dsize) && csize) in read_dnode()
854 tn->fn->size = je32_to_cpu(rd->dsize); in read_dnode()
857 ref_offset(ref), je32_to_cpu(rd->version), in read_dnode()
858 je32_to_cpu(rd->offset), je32_to_cpu(rd->dsize), csize); in read_dnode()
869 dbg_readinode2("After adding ver %d:\n", je32_to_cpu(rd->version)); in read_dnode()
896 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()
1064 je32_to_cpu(node->u.totlen), in jffs2_get_inode_nodes()
1065 je32_to_cpu(node->u.hdr_crc)); in jffs2_get_inode_nodes()
1230 if (crc != je32_to_cpu(latest_node->node_crc)) { in jffs2_do_read_inode_internal()
1238 if (rii.mctime_ver > je32_to_cpu(latest_node->version)) { in jffs2_do_read_inode_internal()
1248 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); in jffs2_do_read_inode_internal()
1249 if (new_size != je32_to_cpu(latest_node->isize)) { in jffs2_do_read_inode_internal()
1251 f->inocache->ino, je32_to_cpu(latest_node->isize), new_size); in jffs2_do_read_inode_internal()
1261 if (!je32_to_cpu(latest_node->isize)) in jffs2_do_read_inode_internal()
1268 uint32_t csize = je32_to_cpu(latest_node->csize); in jffs2_do_read_inode_internal()