Lines Matching refs:totlen

332 	uint32_t xid, version, totlen, crc;
339 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
347 totlen = PAD(sizeof(struct jffs2_raw_xattr)
349 if (totlen != je32_to_cpu(rx->totlen)) {
351 ofs, je32_to_cpu(rx->totlen), totlen);
352 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
363 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL);
373 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd);
395 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen)))))
400 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) {
402 ofs, je32_to_cpu(rr->totlen),
404 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen))))
430 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref);
750 crcnode.totlen = node->totlen;
758 je32_to_cpu(node->totlen),
767 if (ofs + je32_to_cpu(node->totlen) > jeb->offset + c->sector_size) {
770 ofs, je32_to_cpu(node->totlen));
782 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
784 ofs += PAD(je32_to_cpu(node->totlen));
803 ofs += PAD(je32_to_cpu(node->totlen));
807 if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) {
810 je32_to_cpu(node->totlen), buf_len,
820 ofs += PAD(je32_to_cpu(node->totlen));
825 if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) {
828 je32_to_cpu(node->totlen), buf_len,
839 ofs += PAD(je32_to_cpu(node->totlen));
842 if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) {
845 je32_to_cpu(node->totlen), buf_len,
856 ofs += PAD(je32_to_cpu(node->totlen));
862 if (je32_to_cpu(node->totlen) != c->cleanmarker_size) {
863 pr_notice("CLEANMARKER node found at 0x%08x has totlen 0x%x != normal 0x%x\n",
864 ofs, je32_to_cpu(node->totlen),
884 jffs2_sum_add_padding_mem(s, je32_to_cpu(node->totlen));
885 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
887 ofs += PAD(je32_to_cpu(node->totlen));
898 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
900 ofs += PAD(je32_to_cpu(node->totlen));
911 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(node->totlen)))))
913 ofs += PAD(je32_to_cpu(node->totlen));
920 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(node->totlen)), NULL);
924 ofs += PAD(je32_to_cpu(node->totlen));
1003 * We believe totlen because the CRC on the node
1007 PAD(je32_to_cpu(ri->totlen)));
1018 jffs2_link_node_ref(c, jeb, ofs | REF_UNCHECKED, PAD(je32_to_cpu(ri->totlen)), ic);
1052 /* We believe totlen because the CRC on the node _header_ was OK, just the node itself failed. */
1053 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen)))))
1080 /* FIXME: Why do we believe totlen? */
1081 /* We believe totlen because the CRC on the node _header_ was OK, just the name failed. */
1082 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen)))))
1093 PAD(je32_to_cpu(rd->totlen)), ic);