• 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

328 	if (crc != je32_to_cpu(rx->node_crc)) {
330 ofs, je32_to_cpu(rx->node_crc), crc);
331 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
336 xid = je32_to_cpu(rx->xid);
337 version = je32_to_cpu(rx->version);
341 if (totlen != je32_to_cpu(rx->totlen)) {
343 ofs, je32_to_cpu(rx->totlen), totlen);
344 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
363 xd->data_crc = je32_to_cpu(rx->data_crc);
384 if (crc != je32_to_cpu(rr->node_crc)) {
386 ofs, je32_to_cpu(rr->node_crc), crc);
387 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen)))))
392 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) {
394 ofs, je32_to_cpu(rr->totlen),
396 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen))))
414 ref->ino = je32_to_cpu(rr->ino);
415 ref->xid = je32_to_cpu(rr->xid);
416 ref->xseqno = je32_to_cpu(rr->xseqno);
422 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref);
482 if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) {
483 sumptr = buf + je32_to_cpu(sm->offset);
484 sumlen = c->sector_size - je32_to_cpu(sm->offset);
501 if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) {
502 sumlen = c->sector_size - je32_to_cpu(sm->offset);
734 if (hdr_crc != je32_to_cpu(node->hdr_crc)) {
738 je32_to_cpu(node->totlen),
739 je32_to_cpu(node->hdr_crc),
747 if (ofs + je32_to_cpu(node->totlen) > jeb->offset + c->sector_size) {
750 ofs, je32_to_cpu(node->totlen));
761 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
763 ofs += PAD(je32_to_cpu(node->totlen));
781 ofs += PAD(je32_to_cpu(node->totlen));
785 if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) {
788 je32_to_cpu(node->totlen), buf_len, ofs));
797 ofs += PAD(je32_to_cpu(node->totlen));
802 if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) {
806 je32_to_cpu(node->totlen), buf_len, ofs));
816 ofs += PAD(je32_to_cpu(node->totlen));
819 if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) {
823 je32_to_cpu(node->totlen), buf_len, ofs));
833 ofs += PAD(je32_to_cpu(node->totlen));
839 if (je32_to_cpu(node->totlen) != c->cleanmarker_size) {
841 ofs, je32_to_cpu(node->totlen), c->cleanmarker_size);
859 jffs2_sum_add_padding_mem(s, je32_to_cpu(node->totlen));
860 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
862 ofs += PAD(je32_to_cpu(node->totlen));
872 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
874 ofs += PAD(je32_to_cpu(node->totlen));
883 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
885 ofs += PAD(je32_to_cpu(node->totlen));
891 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL);
895 ofs += PAD(je32_to_cpu(node->totlen));
954 uint32_t crc, ino = je32_to_cpu(ri->ino);
969 if (crc != je32_to_cpu(ri->node_crc)) {
972 ofs, je32_to_cpu(ri->node_crc), crc);
978 PAD(je32_to_cpu(ri->totlen)));
989 jffs2_link_node_ref(c, jeb, ofs | REF_UNCHECKED, PAD(je32_to_cpu(ri->totlen)), ic);
992 je32_to_cpu(ri->ino), je32_to_cpu(ri->version),
993 je32_to_cpu(ri->offset),
994 je32_to_cpu(ri->offset)+je32_to_cpu(ri->dsize)));
996 pseudo_random += je32_to_cpu(ri->version);
1020 if (crc != je32_to_cpu(rd->node_crc)) {
1022 ofs, je32_to_cpu(rd->node_crc), crc);
1024 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen)))))
1029 pseudo_random += je32_to_cpu(rd->version);
1045 if (crc != je32_to_cpu(rd->name_crc)) {
1047 ofs, je32_to_cpu(rd->name_crc), crc);
1048 D1(printk(KERN_NOTICE "Name for which CRC failed is (now) '%s', ino #%d\n", fd->name, je32_to_cpu(rd->ino)));
1051 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen)))))
1055 ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(rd->pino));
1062 PAD(je32_to_cpu(rd->totlen)), ic);
1065 fd->version = je32_to_cpu(rd->version);
1066 fd->ino = je32_to_cpu(rd->ino);