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