Lines Matching refs:rr
387 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node() argument
394 crc = crc32(0, rr, sizeof(*rr) - 4); in jffs2_scan_xref_node()
395 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node()
397 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node()
398 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node()
403 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node()
405 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node()
407 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) in jffs2_scan_xref_node()
425 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node()
426 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node()
427 ref->xseqno = je32_to_cpu(rr->xseqno); in jffs2_scan_xref_node()
433 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref); in jffs2_scan_xref_node()
436 jffs2_sum_add_xref_mem(s, rr, ofs - jeb->offset); in jffs2_scan_xref_node()