Lines Matching defs:rr
389 struct jffs2_raw_xref *rr, uint32_t ofs,
396 crc = crc32(0, rr, sizeof(*rr) - 4);
397 if (crc != je32_to_cpu(rr->node_crc)) {
399 ofs, je32_to_cpu(rr->node_crc), crc);
400 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen)))))
405 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) {
407 ofs, je32_to_cpu(rr->totlen),
409 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen))))
427 ref->ino = je32_to_cpu(rr->ino);
428 ref->xid = je32_to_cpu(rr->xid);
429 ref->xseqno = je32_to_cpu(rr->xseqno);
435 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, PAD(je32_to_cpu(rr->totlen)), (void *)ref);
438 jffs2_sum_add_xref_mem(s, rr, ofs - jeb->offset);