• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jffs2/

Lines Matching refs:je32_to_cpu

614 	if (unlikely(crc != je32_to_cpu(rd->node_crc))) {
616 ref_offset(ref), je32_to_cpu(rd->node_crc), crc);
627 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) {
629 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen));
651 fd->version = je32_to_cpu(rd->version);
652 fd->ino = je32_to_cpu(rd->ino);
659 if(fd->version > rii->mctime_ver && je32_to_cpu(rd->mctime)) {
661 rii->latest_mctime = je32_to_cpu(rd->mctime);
722 if (unlikely(crc != je32_to_cpu(rd->node_crc))) {
724 ref_offset(ref), je32_to_cpu(rd->node_crc), crc);
736 csize = je32_to_cpu(rd->csize);
742 if (unlikely(je32_to_cpu(rd->offset) > je32_to_cpu(rd->isize)) ||
743 unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) {
798 if (len >= csize && unlikely(tn->partial_crc != je32_to_cpu(rd->data_crc))) {
800 ref_offset(ref), tn->partial_crc, je32_to_cpu(rd->data_crc));
835 tn->version = je32_to_cpu(rd->version);
836 tn->fn->ofs = je32_to_cpu(rd->offset);
837 tn->data_crc = je32_to_cpu(rd->data_crc);
847 if (rd->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(rd->dsize) && csize)
850 tn->fn->size = je32_to_cpu(rd->dsize);
853 ref_offset(ref), je32_to_cpu(rd->version),
854 je32_to_cpu(rd->offset), je32_to_cpu(rd->dsize), csize);
865 dbg_readinode2("After adding ver %d:\n", je32_to_cpu(rd->version));
892 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc));
1053 if (je32_to_cpu(node->u.hdr_crc) != crc32(0, node, sizeof(node->u)-4)) {
1057 je32_to_cpu(node->u.totlen),
1058 je32_to_cpu(node->u.hdr_crc));
1223 if (crc != je32_to_cpu(latest_node->node_crc)) {
1233 if (rii.mctime_ver > je32_to_cpu(latest_node->version)) {
1243 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize));
1244 if (new_size != je32_to_cpu(latest_node->isize)) {
1246 f->inocache->ino, je32_to_cpu(latest_node->isize), new_size);
1252 if (!je32_to_cpu(latest_node->isize))
1259 f->target = kmalloc(je32_to_cpu(latest_node->csize) + 1, GFP_KERNEL);
1261 JFFS2_ERROR("can't allocate %d bytes of memory for the symlink target path cache\n", je32_to_cpu(latest_node->csize));
1268 je32_to_cpu(latest_node->csize), &retlen, (char *)f->target);
1270 if (ret || retlen != je32_to_cpu(latest_node->csize)) {
1271 if (retlen != je32_to_cpu(latest_node->csize))
1280 f->target[je32_to_cpu(latest_node->csize)] = '\0';