Lines Matching refs:journal_entry_err_on
320 #define journal_entry_err_on(cond, ...) \ macro
337 if (journal_entry_err_on(!k->k.u64s, in journal_validate_key()
346 if (journal_entry_err_on((void *) bkey_next(k) > in journal_validate_key()
356 if (journal_entry_err_on(k->k.format != KEY_FORMAT_CURRENT, in journal_validate_key()
439 if (journal_entry_err_on(!entry->u64s || in journal_entry_btree_root_validate()
492 if (journal_entry_err_on(le16_to_cpu(entry->u64s) != 1, in journal_entry_blacklist_validate()
520 if (journal_entry_err_on(le16_to_cpu(entry->u64s) != 2, in journal_entry_blacklist_v2_validate()
530 if (journal_entry_err_on(le64_to_cpu(bl_entry->start) > in journal_entry_blacklist_v2_validate()
564 if (journal_entry_err_on(bytes < sizeof(*u), in journal_entry_usage_validate()
599 if (journal_entry_err_on(bytes < sizeof(*u) || in journal_entry_data_usage_validate()
608 if (journal_entry_err_on(bch2_replicas_entry_validate(&u->r, c, &err), in journal_entry_data_usage_validate()
642 if (journal_entry_err_on(bytes != sizeof(*clock), in journal_entry_clock_validate()
650 if (journal_entry_err_on(clock->rw > 1, in journal_entry_clock_validate()
683 if (journal_entry_err_on(bytes < expected, in journal_entry_dev_usage_validate()
692 if (journal_entry_err_on(u->pad, in journal_entry_dev_usage_validate()
788 if (journal_entry_err_on(vstruct_bytes(entry) < expected, in journal_entry_datetime_validate()
856 if (journal_entry_err_on(vstruct_next(entry) > vstruct_last(jset), in jset_validate_entries()
885 if (journal_entry_err_on(!bch2_version_compatible(version), in jset_validate()
897 if (journal_entry_err_on(!bch2_checksum_type_valid(c, JSET_CSUM_TYPE(jset)), in jset_validate()
907 if (journal_entry_err_on(!JSET_NO_FLUSH(jset) && in jset_validate()
938 if (journal_entry_err_on(!bch2_version_compatible(version), in jset_validate_early()
954 if (journal_entry_err_on(bytes > bucket_sectors_left << 9, in jset_validate_early()
1255 if (journal_entry_err_on(le64_to_cpu(i->j.last_seq) > le64_to_cpu(i->j.seq), in bch2_journal_read()