Lines Matching refs:ref2
316 struct jffs2_raw_node_ref *ref2 = jeb->first_node; in __jffs2_dbg_acct_paranoia_check_nolock() local
318 while (ref2) { in __jffs2_dbg_acct_paranoia_check_nolock()
319 uint32_t totlen = ref_totlen(c, jeb, ref2); in __jffs2_dbg_acct_paranoia_check_nolock()
321 if (ref_offset(ref2) < jeb->offset || in __jffs2_dbg_acct_paranoia_check_nolock()
322 ref_offset(ref2) > jeb->offset + c->sector_size) { in __jffs2_dbg_acct_paranoia_check_nolock()
324 ref_offset(ref2), jeb->offset); in __jffs2_dbg_acct_paranoia_check_nolock()
328 if (ref_flags(ref2) == REF_UNCHECKED) in __jffs2_dbg_acct_paranoia_check_nolock()
330 else if (!ref_obsolete(ref2)) in __jffs2_dbg_acct_paranoia_check_nolock()
335 if ((!ref_next(ref2)) != (ref2 == jeb->last_node)) { in __jffs2_dbg_acct_paranoia_check_nolock()
337 ref_offset(ref2), ref2, ref_offset(ref_next(ref2)), ref_next(ref2), in __jffs2_dbg_acct_paranoia_check_nolock()
341 ref2 = ref_next(ref2); in __jffs2_dbg_acct_paranoia_check_nolock()