je32_to_cpu 66 fs/jffs2/acl.c ver = je32_to_cpu(header->a_version); je32_to_cpu 103 fs/jffs2/acl.c acl->a_entries[i].e_id = je32_to_cpu(entry->e_id); je32_to_cpu 784 fs/jffs2/debug.c printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); je32_to_cpu 785 fs/jffs2/debug.c printk(JFFS2_DBG "hdr_crc:\t%#08x\n", je32_to_cpu(node.u.hdr_crc)); je32_to_cpu 788 fs/jffs2/debug.c if (crc != je32_to_cpu(node.u.hdr_crc)) { je32_to_cpu 806 fs/jffs2/debug.c printk(JFFS2_DBG "ino:\t%#08x\n", je32_to_cpu(node.i.ino)); je32_to_cpu 807 fs/jffs2/debug.c printk(JFFS2_DBG "version:\t%#08x\n", je32_to_cpu(node.i.version)); je32_to_cpu 811 fs/jffs2/debug.c printk(JFFS2_DBG "isize:\t%#08x\n", je32_to_cpu(node.i.isize)); je32_to_cpu 812 fs/jffs2/debug.c printk(JFFS2_DBG "atime:\t%#08x\n", je32_to_cpu(node.i.atime)); je32_to_cpu 813 fs/jffs2/debug.c printk(JFFS2_DBG "mtime:\t%#08x\n", je32_to_cpu(node.i.mtime)); je32_to_cpu 814 fs/jffs2/debug.c printk(JFFS2_DBG "ctime:\t%#08x\n", je32_to_cpu(node.i.ctime)); je32_to_cpu 815 fs/jffs2/debug.c printk(JFFS2_DBG "offset:\t%#08x\n", je32_to_cpu(node.i.offset)); je32_to_cpu 816 fs/jffs2/debug.c printk(JFFS2_DBG "csize:\t%#08x\n", je32_to_cpu(node.i.csize)); je32_to_cpu 817 fs/jffs2/debug.c printk(JFFS2_DBG "dsize:\t%#08x\n", je32_to_cpu(node.i.dsize)); je32_to_cpu 821 fs/jffs2/debug.c printk(JFFS2_DBG "data_crc:\t%#08x\n", je32_to_cpu(node.i.data_crc)); je32_to_cpu 822 fs/jffs2/debug.c printk(JFFS2_DBG "node_crc:\t%#08x\n", je32_to_cpu(node.i.node_crc)); je32_to_cpu 825 fs/jffs2/debug.c if (crc != je32_to_cpu(node.i.node_crc)) { je32_to_cpu 834 fs/jffs2/debug.c printk(JFFS2_DBG "pino:\t%#08x\n", je32_to_cpu(node.d.pino)); je32_to_cpu 835 fs/jffs2/debug.c printk(JFFS2_DBG "version:\t%#08x\n", je32_to_cpu(node.d.version)); je32_to_cpu 836 fs/jffs2/debug.c printk(JFFS2_DBG "ino:\t%#08x\n", je32_to_cpu(node.d.ino)); je32_to_cpu 837 fs/jffs2/debug.c printk(JFFS2_DBG "mctime:\t%#08x\n", je32_to_cpu(node.d.mctime)); je32_to_cpu 840 fs/jffs2/debug.c printk(JFFS2_DBG "node_crc:\t%#08x\n", je32_to_cpu(node.d.node_crc)); je32_to_cpu 841 fs/jffs2/debug.c printk(JFFS2_DBG "name_crc:\t%#08x\n", je32_to_cpu(node.d.name_crc)); je32_to_cpu 847 fs/jffs2/debug.c if (crc != je32_to_cpu(node.d.node_crc)) { je32_to_cpu 223 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(ri->ctime)); je32_to_cpu 445 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime)); je32_to_cpu 590 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime)); je32_to_cpu 767 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(je32_to_cpu(rd->mctime)); je32_to_cpu 301 fs/jffs2/file.c inode->i_ctime = inode->i_mtime = ITIME(je32_to_cpu(ri->ctime)); je32_to_cpu 141 fs/jffs2/fs.c inode->i_atime = ITIME(je32_to_cpu(ri->atime)); je32_to_cpu 142 fs/jffs2/fs.c inode->i_ctime = ITIME(je32_to_cpu(ri->ctime)); je32_to_cpu 143 fs/jffs2/fs.c inode->i_mtime = ITIME(je32_to_cpu(ri->mtime)); je32_to_cpu 271 fs/jffs2/fs.c inode->i_size = je32_to_cpu(latest_node.isize); je32_to_cpu 272 fs/jffs2/fs.c inode->i_atime = ITIME(je32_to_cpu(latest_node.atime)); je32_to_cpu 273 fs/jffs2/fs.c inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); je32_to_cpu 274 fs/jffs2/fs.c inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime)); je32_to_cpu 328 fs/jffs2/fs.c rdev = new_decode_dev(je32_to_cpu(jdev.new)); je32_to_cpu 468 fs/jffs2/fs.c inode->i_ino = je32_to_cpu(ri->ino); je32_to_cpu 582 fs/jffs2/gc.c if (je32_to_cpu(node->u.hdr_crc) != crc) { je32_to_cpu 584 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->u.hdr_crc), crc); je32_to_cpu 591 fs/jffs2/gc.c if (je32_to_cpu(node->i.node_crc) != crc) { je32_to_cpu 593 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->i.node_crc), crc); je32_to_cpu 597 fs/jffs2/gc.c if (je32_to_cpu(node->i.dsize)) { je32_to_cpu 598 fs/jffs2/gc.c crc = crc32(0, node->i.data, je32_to_cpu(node->i.csize)); je32_to_cpu 599 fs/jffs2/gc.c if (je32_to_cpu(node->i.data_crc) != crc) { je32_to_cpu 601 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->i.data_crc), crc); je32_to_cpu 609 fs/jffs2/gc.c if (je32_to_cpu(node->d.node_crc) != crc) { je32_to_cpu 611 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->d.node_crc), crc); je32_to_cpu 622 fs/jffs2/gc.c if (je32_to_cpu(node->d.name_crc) != crc) { je32_to_cpu 624 fs/jffs2/gc.c ref_offset(raw), je32_to_cpu(node->d.name_crc), crc); je32_to_cpu 894 fs/jffs2/gc.c if (je32_to_cpu(rd->name_crc) != name_crc) je32_to_cpu 898 fs/jffs2/gc.c if (rd->nsize != name_len || !je32_to_cpu(rd->ino)) je32_to_cpu 911 fs/jffs2/gc.c ref_offset(fd->raw), fd->name, ref_offset(raw), je32_to_cpu(rd->ino))); je32_to_cpu 972 fs/jffs2/gc.c if (je32_to_cpu(ri.totlen) != sizeof(ri)) { je32_to_cpu 975 fs/jffs2/gc.c je32_to_cpu(ri.totlen), sizeof(ri)); je32_to_cpu 979 fs/jffs2/gc.c if (crc != je32_to_cpu(ri.node_crc)) { je32_to_cpu 982 fs/jffs2/gc.c je32_to_cpu(ri.node_crc), crc); je32_to_cpu 1040 fs/jffs2/gc.c if (je32_to_cpu(ri.version) == f->highest_version) { je32_to_cpu 1058 fs/jffs2/gc.c fn->frags, je32_to_cpu(ri.version), f->highest_version, je32_to_cpu 1059 fs/jffs2/gc.c je32_to_cpu(ri.ino)); je32_to_cpu 145 fs/jffs2/nodelist.h #define dirent_node_state(rd) ( (je32_to_cpu((rd)->ino)?REF_PRISTINE:REF_NORMAL) ) je32_to_cpu 659 fs/jffs2/nodemgmt.c if (PAD(je32_to_cpu(n.totlen)) != PAD(freed_len)) { je32_to_cpu 660 fs/jffs2/nodemgmt.c printk(KERN_WARNING "Node totlen on flash (0x%08x) != totlen from node ref (0x%08x)\n", je32_to_cpu(n.totlen), freed_len); je32_to_cpu 51 fs/jffs2/read.c ref_offset(fd->raw), je32_to_cpu(ri->node_crc), je32_to_cpu 52 fs/jffs2/read.c crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), je32_to_cpu 53 fs/jffs2/read.c je32_to_cpu(ri->offset), buf)); je32_to_cpu 54 fs/jffs2/read.c if (crc != je32_to_cpu(ri->node_crc)) { je32_to_cpu 56 fs/jffs2/read.c je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); je32_to_cpu 62 fs/jffs2/read.c if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && je32_to_cpu 63 fs/jffs2/read.c je32_to_cpu(ri->csize)) { je32_to_cpu 68 fs/jffs2/read.c D1(if(ofs + len > je32_to_cpu(ri->dsize)) { je32_to_cpu 70 fs/jffs2/read.c len, ofs, je32_to_cpu(ri->dsize)); je32_to_cpu 87 fs/jffs2/read.c if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { je32_to_cpu 90 fs/jffs2/read.c readbuf = kmalloc(je32_to_cpu(ri->csize), GFP_KERNEL); je32_to_cpu 97 fs/jffs2/read.c if (len < je32_to_cpu(ri->dsize)) { je32_to_cpu 98 fs/jffs2/read.c decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL); je32_to_cpu 110 fs/jffs2/read.c D2(printk(KERN_DEBUG "Read %d bytes to %p\n", je32_to_cpu(ri->csize), je32_to_cpu 113 fs/jffs2/read.c je32_to_cpu(ri->csize), &readlen, readbuf); je32_to_cpu 115 fs/jffs2/read.c if (!ret && readlen != je32_to_cpu(ri->csize)) je32_to_cpu 120 fs/jffs2/read.c crc = crc32(0, readbuf, je32_to_cpu(ri->csize)); je32_to_cpu 121 fs/jffs2/read.c if (crc != je32_to_cpu(ri->data_crc)) { je32_to_cpu 123 fs/jffs2/read.c je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); je32_to_cpu 130 fs/jffs2/read.c je32_to_cpu(ri->csize), readbuf, je32_to_cpu(ri->dsize), decomprbuf)); je32_to_cpu 131 fs/jffs2/read.c ret = jffs2_decompress(c, f, ri->compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri->csize), je32_to_cpu(ri->dsize)); je32_to_cpu 138 fs/jffs2/read.c if (len < je32_to_cpu(ri->dsize)) { je32_to_cpu 590 fs/jffs2/readinode.c if (unlikely(crc != je32_to_cpu(rd->node_crc))) { je32_to_cpu 592 fs/jffs2/readinode.c ref_offset(ref), je32_to_cpu(rd->node_crc), crc); je32_to_cpu 603 fs/jffs2/readinode.c if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) { je32_to_cpu 605 fs/jffs2/readinode.c ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); je32_to_cpu 627 fs/jffs2/readinode.c fd->version = je32_to_cpu(rd->version); je32_to_cpu 628 fs/jffs2/readinode.c fd->ino = je32_to_cpu(rd->ino); je32_to_cpu 635 fs/jffs2/readinode.c if(fd->version > rii->mctime_ver && je32_to_cpu(rd->mctime)) { je32_to_cpu 637 fs/jffs2/readinode.c rii->latest_mctime = je32_to_cpu(rd->mctime); je32_to_cpu 699 fs/jffs2/readinode.c if (unlikely(crc != je32_to_cpu(rd->node_crc))) { je32_to_cpu 701 fs/jffs2/readinode.c ref_offset(ref), je32_to_cpu(rd->node_crc), crc); je32_to_cpu 713 fs/jffs2/readinode.c csize = je32_to_cpu(rd->csize); je32_to_cpu 719 fs/jffs2/readinode.c if (unlikely(je32_to_cpu(rd->offset) > je32_to_cpu(rd->isize)) || je32_to_cpu 720 fs/jffs2/readinode.c unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) { je32_to_cpu 775 fs/jffs2/readinode.c if (len >= csize && unlikely(tn->partial_crc != je32_to_cpu(rd->data_crc))) { je32_to_cpu 777 fs/jffs2/readinode.c ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc)); je32_to_cpu 812 fs/jffs2/readinode.c tn->version = je32_to_cpu(rd->version); je32_to_cpu 813 fs/jffs2/readinode.c tn->fn->ofs = je32_to_cpu(rd->offset); je32_to_cpu 814 fs/jffs2/readinode.c tn->data_crc = je32_to_cpu(rd->data_crc); je32_to_cpu 824 fs/jffs2/readinode.c if (rd->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(rd->dsize) && csize) je32_to_cpu 827 fs/jffs2/readinode.c tn->fn->size = je32_to_cpu(rd->dsize); je32_to_cpu 830 fs/jffs2/readinode.c ref_offset(ref), je32_to_cpu(rd->version), je32_to_cpu 831 fs/jffs2/readinode.c je32_to_cpu(rd->offset), je32_to_cpu(rd->dsize), csize); je32_to_cpu 842 fs/jffs2/readinode.c dbg_readinode2("After adding ver %d:\n", je32_to_cpu(rd->version)); je32_to_cpu 869 fs/jffs2/readinode.c je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); je32_to_cpu 1033 fs/jffs2/readinode.c if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) { je32_to_cpu 1037 fs/jffs2/readinode.c je32_to_cpu(node->u.totlen), je32_to_cpu 1038 fs/jffs2/readinode.c je32_to_cpu(node->u.hdr_crc)); je32_to_cpu 1205 fs/jffs2/readinode.c if (crc != je32_to_cpu(latest_node->node_crc)) { je32_to_cpu 1215 fs/jffs2/readinode.c if (rii.mctime_ver > je32_to_cpu(latest_node->version)) { je32_to_cpu 1225 fs/jffs2/readinode.c new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); je32_to_cpu 1226 fs/jffs2/readinode.c if (new_size != je32_to_cpu(latest_node->isize)) { je32_to_cpu 1228 fs/jffs2/readinode.c f->inocache->ino, je32_to_cpu(latest_node->isize), new_size); je32_to_cpu 1238 fs/jffs2/readinode.c if (!je32_to_cpu(latest_node->isize)) je32_to_cpu 1245 fs/jffs2/readinode.c f->target = kmalloc(je32_to_cpu(latest_node->csize) + 1, GFP_KERNEL); je32_to_cpu 1247 fs/jffs2/readinode.c JFFS2_ERROR("can't allocate %d bytes of memory for the symlink target path cache\n", je32_to_cpu(latest_node->csize)); je32_to_cpu 1254 fs/jffs2/readinode.c je32_to_cpu(latest_node->csize), &retlen, (char *)f->target); je32_to_cpu 1256 fs/jffs2/readinode.c if (ret || retlen != je32_to_cpu(latest_node->csize)) { je32_to_cpu 1257 fs/jffs2/readinode.c if (retlen != je32_to_cpu(latest_node->csize)) je32_to_cpu 1266 fs/jffs2/readinode.c f->target[je32_to_cpu(latest_node->csize)] = '\0'; je32_to_cpu 326 fs/jffs2/scan.c if (crc != je32_to_cpu(rx->node_crc)) { je32_to_cpu 328 fs/jffs2/scan.c ofs, je32_to_cpu(rx->node_crc), crc); je32_to_cpu 329 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) je32_to_cpu 334 fs/jffs2/scan.c xid = je32_to_cpu(rx->xid); je32_to_cpu 335 fs/jffs2/scan.c version = je32_to_cpu(rx->version); je32_to_cpu 339 fs/jffs2/scan.c if (totlen != je32_to_cpu(rx->totlen)) { je32_to_cpu 341 fs/jffs2/scan.c ofs, je32_to_cpu(rx->totlen), totlen); je32_to_cpu 342 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) je32_to_cpu 361 fs/jffs2/scan.c xd->data_crc = je32_to_cpu(rx->data_crc); je32_to_cpu 382 fs/jffs2/scan.c if (crc != je32_to_cpu(rr->node_crc)) { je32_to_cpu 384 fs/jffs2/scan.c ofs, je32_to_cpu(rr->node_crc), crc); je32_to_cpu 385 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) je32_to_cpu 390 fs/jffs2/scan.c if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { je32_to_cpu 392 fs/jffs2/scan.c ofs, je32_to_cpu(rr->totlen), je32_to_cpu 394 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) je32_to_cpu 412 fs/jffs2/scan.c ref->ino = je32_to_cpu(rr->ino); je32_to_cpu 413 fs/jffs2/scan.c ref->xid = je32_to_cpu(rr->xid); je32_to_cpu 414 fs/jffs2/scan.c ref->xseqno = je32_to_cpu(rr->xseqno); je32_to_cpu 420 fs/jffs2/scan.c jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); je32_to_cpu 480 fs/jffs2/scan.c if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) { je32_to_cpu 481 fs/jffs2/scan.c sumptr = buf + je32_to_cpu(sm->offset); je32_to_cpu 482 fs/jffs2/scan.c sumlen = c->sector_size - je32_to_cpu(sm->offset); je32_to_cpu 499 fs/jffs2/scan.c if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) { je32_to_cpu 500 fs/jffs2/scan.c sumlen = c->sector_size - je32_to_cpu(sm->offset); je32_to_cpu 732 fs/jffs2/scan.c if (hdr_crc != je32_to_cpu(node->hdr_crc)) { je32_to_cpu 736 fs/jffs2/scan.c je32_to_cpu(node->totlen), je32_to_cpu 737 fs/jffs2/scan.c je32_to_cpu(node->hdr_crc), je32_to_cpu 745 fs/jffs2/scan.c if (ofs + je32_to_cpu(node->totlen) > jeb->offset + c->sector_size) { je32_to_cpu 748 fs/jffs2/scan.c ofs, je32_to_cpu(node->totlen)); je32_to_cpu 759 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) je32_to_cpu 761 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 779 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 783 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) { je32_to_cpu 786 fs/jffs2/scan.c je32_to_cpu(node->totlen), buf_len, ofs)); je32_to_cpu 795 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 800 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) { je32_to_cpu 804 fs/jffs2/scan.c je32_to_cpu(node->totlen), buf_len, ofs)); je32_to_cpu 814 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 817 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) { je32_to_cpu 821 fs/jffs2/scan.c je32_to_cpu(node->totlen), buf_len, ofs)); je32_to_cpu 831 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 837 fs/jffs2/scan.c if (je32_to_cpu(node->totlen) != c->cleanmarker_size) { je32_to_cpu 839 fs/jffs2/scan.c ofs, je32_to_cpu(node->totlen), c->cleanmarker_size); je32_to_cpu 857 fs/jffs2/scan.c jffs2_sum_add_padding_mem(s, je32_to_cpu(node->totlen)); je32_to_cpu 858 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) je32_to_cpu 860 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 870 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) je32_to_cpu 872 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 881 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen))))) je32_to_cpu 883 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 889 fs/jffs2/scan.c jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL); je32_to_cpu 893 fs/jffs2/scan.c ofs += PAD(je32_to_cpu(node->totlen)); je32_to_cpu 952 fs/jffs2/scan.c uint32_t crc, ino = je32_to_cpu(ri->ino); je32_to_cpu 967 fs/jffs2/scan.c if (crc != je32_to_cpu(ri->node_crc)) { je32_to_cpu 970 fs/jffs2/scan.c ofs, je32_to_cpu(ri->node_crc), crc); je32_to_cpu 976 fs/jffs2/scan.c PAD(je32_to_cpu(ri->totlen))); je32_to_cpu 987 fs/jffs2/scan.c jffs2_link_node_ref(c, jeb, ofs | REF_UNCHECKED, PAD(je32_to_cpu(ri->totlen)), ic); je32_to_cpu 990 fs/jffs2/scan.c je32_to_cpu(ri->ino), je32_to_cpu(ri->version), je32_to_cpu 991 fs/jffs2/scan.c je32_to_cpu(ri->offset), je32_to_cpu 992 fs/jffs2/scan.c je32_to_cpu(ri->offset)+je32_to_cpu(ri->dsize))); je32_to_cpu 994 fs/jffs2/scan.c pseudo_random += je32_to_cpu(ri->version); je32_to_cpu 1018 fs/jffs2/scan.c if (crc != je32_to_cpu(rd->node_crc)) { je32_to_cpu 1020 fs/jffs2/scan.c ofs, je32_to_cpu(rd->node_crc), crc); je32_to_cpu 1022 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) je32_to_cpu 1027 fs/jffs2/scan.c pseudo_random += je32_to_cpu(rd->version); je32_to_cpu 1043 fs/jffs2/scan.c if (crc != je32_to_cpu(rd->name_crc)) { je32_to_cpu 1045 fs/jffs2/scan.c ofs, je32_to_cpu(rd->name_crc), crc); je32_to_cpu 1046 fs/jffs2/scan.c D1(printk(KERN_NOTICE "Name for which CRC failed is (now) '%s', ino #%d\n", fd->name, je32_to_cpu(rd->ino))); je32_to_cpu 1050 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen))))) je32_to_cpu 1054 fs/jffs2/scan.c ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(rd->pino)); je32_to_cpu 1061 fs/jffs2/scan.c PAD(je32_to_cpu(rd->totlen)), ic); je32_to_cpu 1064 fs/jffs2/scan.c fd->version = je32_to_cpu(rd->version); je32_to_cpu 1065 fs/jffs2/scan.c fd->ino = je32_to_cpu(rd->ino); je32_to_cpu 74 fs/jffs2/summary.c je32_to_cpu(item->i.inode)); je32_to_cpu 80 fs/jffs2/summary.c je32_to_cpu(item->d.ino)); je32_to_cpu 87 fs/jffs2/summary.c je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version)); je32_to_cpu 342 fs/jffs2/summary.c c->summary->sum_padded += je32_to_cpu(node->u.totlen); je32_to_cpu 395 fs/jffs2/summary.c for (i=0; i<je32_to_cpu(summary->sum_num); i++) { je32_to_cpu 410 fs/jffs2/summary.c ino = je32_to_cpu(spi->inode); je32_to_cpu 413 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spi->offset), je32_to_cpu 414 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(spi->totlen)); je32_to_cpu 422 fs/jffs2/summary.c sum_link_node_ref(c, jeb, je32_to_cpu(spi->offset) | REF_UNCHECKED, je32_to_cpu 423 fs/jffs2/summary.c PAD(je32_to_cpu(spi->totlen)), ic); je32_to_cpu 425 fs/jffs2/summary.c *pseudo_random += je32_to_cpu(spi->version); je32_to_cpu 438 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spd->offset), je32_to_cpu 439 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); je32_to_cpu 446 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spd->offset)); je32_to_cpu 451 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spd->offset), checkedlen); je32_to_cpu 462 fs/jffs2/summary.c ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(spd->pino)); je32_to_cpu 468 fs/jffs2/summary.c fd->raw = sum_link_node_ref(c, jeb, je32_to_cpu(spd->offset) | REF_UNCHECKED, je32_to_cpu 469 fs/jffs2/summary.c PAD(je32_to_cpu(spd->totlen)), ic); je32_to_cpu 472 fs/jffs2/summary.c fd->version = je32_to_cpu(spd->version); je32_to_cpu 473 fs/jffs2/summary.c fd->ino = je32_to_cpu(spd->ino); je32_to_cpu 479 fs/jffs2/summary.c *pseudo_random += je32_to_cpu(spd->version); je32_to_cpu 492 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spx->offset), je32_to_cpu 493 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spx->offset) + je32_to_cpu(spx->totlen), je32_to_cpu 494 fs/jffs2/summary.c je32_to_cpu(spx->xid), je32_to_cpu(spx->version)); je32_to_cpu 496 fs/jffs2/summary.c xd = jffs2_setup_xattr_datum(c, je32_to_cpu(spx->xid), je32_to_cpu 497 fs/jffs2/summary.c je32_to_cpu(spx->version)); je32_to_cpu 500 fs/jffs2/summary.c if (xd->version > je32_to_cpu(spx->version)) { je32_to_cpu 503 fs/jffs2/summary.c = sum_link_node_ref(c, jeb, je32_to_cpu(spx->offset) | REF_UNCHECKED, je32_to_cpu 504 fs/jffs2/summary.c PAD(je32_to_cpu(spx->totlen)), NULL); je32_to_cpu 508 fs/jffs2/summary.c xd->version = je32_to_cpu(spx->version); je32_to_cpu 509 fs/jffs2/summary.c sum_link_node_ref(c, jeb, je32_to_cpu(spx->offset) | REF_UNCHECKED, je32_to_cpu 510 fs/jffs2/summary.c PAD(je32_to_cpu(spx->totlen)), (void *)xd); je32_to_cpu 512 fs/jffs2/summary.c *pseudo_random += je32_to_cpu(spx->xid); je32_to_cpu 523 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spr->offset), je32_to_cpu 524 fs/jffs2/summary.c jeb->offset + je32_to_cpu(spr->offset) + je32_to_cpu 535 fs/jffs2/summary.c sum_link_node_ref(c, jeb, je32_to_cpu(spr->offset) | REF_UNCHECKED, je32_to_cpu 586 fs/jffs2/summary.c if (je32_to_cpu(summary->hdr_crc) != crc) { je32_to_cpu 592 fs/jffs2/summary.c if (je32_to_cpu(summary->totlen) != sumsize) { je32_to_cpu 599 fs/jffs2/summary.c if (je32_to_cpu(summary->node_crc) != crc) { je32_to_cpu 606 fs/jffs2/summary.c if (je32_to_cpu(summary->sum_crc) != crc) { je32_to_cpu 611 fs/jffs2/summary.c if ( je32_to_cpu(summary->cln_mkr) ) { je32_to_cpu 619 fs/jffs2/summary.c if (je32_to_cpu(summary->cln_mkr) != c->cleanmarker_size) { je32_to_cpu 621 fs/jffs2/summary.c je32_to_cpu(summary->cln_mkr), c->cleanmarker_size); je32_to_cpu 622 fs/jffs2/summary.c if ((ret = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(summary->cln_mkr))))) je32_to_cpu 627 fs/jffs2/summary.c if ((ret = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(summary->cln_mkr))))) je32_to_cpu 631 fs/jffs2/summary.c je32_to_cpu(summary->cln_mkr), NULL); je32_to_cpu 196 fs/jffs2/wbuf.c frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset)); je32_to_cpu 71 fs/jffs2/write.c D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { je32_to_cpu 81 fs/jffs2/write.c if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { je32_to_cpu 82 fs/jffs2/write.c printk(KERN_WARNING "jffs2_write_dnode: ri->totlen (0x%08x) != sizeof(*ri) (0x%08zx) + datalen (0x%08x)\n", je32_to_cpu(ri->totlen), sizeof(*ri), datalen); je32_to_cpu 97 fs/jffs2/write.c if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version)) { je32_to_cpu 101 fs/jffs2/write.c je32_to_cpu(ri->version), f->highest_version)); je32_to_cpu 169 fs/jffs2/write.c if ((je32_to_cpu(ri->dsize) >= PAGE_CACHE_SIZE) || je32_to_cpu 170 fs/jffs2/write.c ( ((je32_to_cpu(ri->offset)&(PAGE_CACHE_SIZE-1))==0) && je32_to_cpu 171 fs/jffs2/write.c (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(ri->isize)))) { je32_to_cpu 183 fs/jffs2/write.c fn->ofs = je32_to_cpu(ri->offset); je32_to_cpu 184 fs/jffs2/write.c fn->size = je32_to_cpu(ri->dsize); je32_to_cpu 188 fs/jffs2/write.c flash_ofs & ~3, flash_ofs & 3, je32_to_cpu(ri->dsize), je32_to_cpu 189 fs/jffs2/write.c je32_to_cpu(ri->csize), je32_to_cpu(ri->node_crc), je32_to_cpu 190 fs/jffs2/write.c je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen))); je32_to_cpu 211 fs/jffs2/write.c je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), je32_to_cpu 212 fs/jffs2/write.c je32_to_cpu(rd->name_crc))); je32_to_cpu 214 fs/jffs2/write.c D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { je32_to_cpu 224 fs/jffs2/write.c je32_to_cpu(rd->pino), name, name, je32_to_cpu(rd->ino), je32_to_cpu 225 fs/jffs2/write.c je32_to_cpu(rd->name_crc)); je32_to_cpu 239 fs/jffs2/write.c fd->version = je32_to_cpu(rd->version); je32_to_cpu 240 fs/jffs2/write.c fd->ino = je32_to_cpu(rd->ino); je32_to_cpu 251 fs/jffs2/write.c if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(rd->version) < f->highest_version)) { je32_to_cpu 255 fs/jffs2/write.c je32_to_cpu(rd->version), f->highest_version)); je32_to_cpu 257 fs/jffs2/write.c fd->version = je32_to_cpu(rd->version); je32_to_cpu 262 fs/jffs2/write.c (alloc_mode==ALLOC_GC)?0:je32_to_cpu(rd->pino)); je32_to_cpu 370 fs/jffs2/write.c ri->isize = cpu_to_je32(max(je32_to_cpu(ri->isize), offset + datalen)); je32_to_cpu 150 fs/jffs2/xattr.c if (crc != je32_to_cpu(rx.node_crc)) { je32_to_cpu 152 fs/jffs2/xattr.c offset, je32_to_cpu(rx.hdr_crc), crc); je32_to_cpu 159 fs/jffs2/xattr.c || je32_to_cpu(rx.totlen) != totlen je32_to_cpu 160 fs/jffs2/xattr.c || je32_to_cpu(rx.xid) != xd->xid je32_to_cpu 161 fs/jffs2/xattr.c || je32_to_cpu(rx.version) != xd->version) { je32_to_cpu 166 fs/jffs2/xattr.c je32_to_cpu(rx.totlen), totlen, je32_to_cpu 167 fs/jffs2/xattr.c je32_to_cpu(rx.xid), xd->xid, je32_to_cpu 168 fs/jffs2/xattr.c je32_to_cpu(rx.version), xd->version); je32_to_cpu 175 fs/jffs2/xattr.c xd->data_crc = je32_to_cpu(rx.data_crc); je32_to_cpu 460 fs/jffs2/xattr.c if (crc != je32_to_cpu(rr.node_crc)) { je32_to_cpu 462 fs/jffs2/xattr.c offset, je32_to_cpu(rr.node_crc), crc); je32_to_cpu 467 fs/jffs2/xattr.c || je32_to_cpu(rr.totlen) != PAD(sizeof(rr))) { je32_to_cpu 472 fs/jffs2/xattr.c je32_to_cpu(rr.totlen), PAD(sizeof(rr))); je32_to_cpu 475 fs/jffs2/xattr.c ref->ino = je32_to_cpu(rr.ino); je32_to_cpu 476 fs/jffs2/xattr.c ref->xid = je32_to_cpu(rr.xid); je32_to_cpu 477 fs/jffs2/xattr.c ref->xseqno = je32_to_cpu(rr.xseqno);