| /linux/fs/bcachefs/ |
| A D | fsck.c | 1214 if (fsck_err_on(ret, in check_inode_dirent_inode() 1380 fsck_err_on(!ret, in check_inode() 1393 if (fsck_err_on(!ret, in check_inode() 1405 if (fsck_err_on(u.bi_parent_subvol && in check_inode() 1427 if (fsck_err_on(ret, in check_inode() 1609 if (fsck_err_on(!i, in check_key_has_inode() 2135 fsck_err_on(S_ISDIR(target->bi_mode), in check_dirent_inode_dirent() 2177 if (fsck_err_on(!backpointer_exists, in check_dirent_inode_dirent() 2198 if (fsck_err_on(backpointer_exists && in check_dirent_inode_dirent() 2347 if (fsck_err_on(ret, in check_dirent_to_subvol() [all …]
|
| A D | subvolume.c | 58 if (fsck_err_on(subvol.k->p.offset == BCACHEFS_ROOT_SUBVOL && in check_subvol() 82 if (fsck_err_on(subvol_children_k.k->type != KEY_TYPE_set, in check_subvol() 99 if (fsck_err_on(inode.bi_subvol != subvol.k->p.offset, in check_subvol() 141 if (fsck_err_on(le32_to_cpu(st.master_subvol) != subvol.k->p.offset, in check_subvol() 182 if (fsck_err_on(ret || in check_subvol_child()
|
| A D | buckets.c | 112 if (fsck_err_on(p.ptr.dev != BCH_SB_MEMBER_INVALID, in bch2_check_fix_ptr() 137 if (fsck_err_on(!g->gen_valid, in bch2_check_fix_ptr() 154 if (fsck_err_on(gen_cmp(p.ptr.gen, g->gen) > 0, in bch2_check_fix_ptr() 177 if (fsck_err_on(gen_cmp(g->gen, p.ptr.gen) > BUCKET_GC_GEN_MAX, in bch2_check_fix_ptr() 188 if (fsck_err_on(!p.ptr.cached && gen_cmp(p.ptr.gen, g->gen) < 0, in bch2_check_fix_ptr() 202 if (fsck_err_on(bucket_data_type_mismatch(g->data_type, data_type), in bch2_check_fix_ptr() 226 if (fsck_err_on(!m || !m->alive, in bch2_check_fix_ptr() 235 if (fsck_err_on(m && m->alive && !bch2_ptr_matches_stripe_m(m, p), in bch2_check_fix_ptr()
|
| A D | snapshot.c | 552 if (fsck_err_on(ret || in check_snapshot_tree() 567 if (fsck_err_on(ret, in check_snapshot_tree() 572 fsck_err_on(!bch2_snapshot_is_ancestor(c, in check_snapshot_tree() 579 fsck_err_on(BCH_SUBVOLUME_SNAP(&subvol), in check_snapshot_tree() 816 if (fsck_err_on(s.subvol, in check_snapshot() 834 if (fsck_err_on(!ret, in check_snapshot() 846 if (fsck_err_on(le32_to_cpu(s.depth) != real_depth, in check_snapshot() 863 if (fsck_err_on(!ret, in check_snapshot() 1053 if (fsck_err_on(!bch2_snapshot_equiv(c, *id), in bch2_reconstruct_snapshots() 1086 if (fsck_err_on(!bch2_snapshot_equiv(c, k.k->p.snapshot), in bch2_check_key_has_snapshot()
|
| A D | alloc_background.c | 1139 if (fsck_err_on(!ca, in bch2_check_alloc_key() 1159 if (fsck_err_on(k.k->type != discard_key_type, in bch2_check_alloc_key() 1189 if (fsck_err_on(k.k->type != freespace_key_type, in bch2_check_alloc_key() 1220 if (fsck_err_on(a->gen != alloc_gen(k, gens_offset), in bch2_check_alloc_key() 1278 if (fsck_err_on(k.k->type != KEY_TYPE_set, in bch2_check_alloc_hole_freespace() 1338 if (fsck_err_on(g.v.gens[i], trans, in bch2_check_alloc_hole_bucket_gens() 1396 if (fsck_err_on(!bch2_dev_bucket_exists(c, pos), in bch2_check_discard_freespace_key() 1404 if (fsck_err_on(a->data_type != state || in bch2_check_discard_freespace_key() 1461 if (fsck_err_on(end <= ca->mi.first_bucket || in bch2_check_bucket_gens_key() 1471 if (fsck_err_on(g.v.gens[b & KEY_TYPE_BUCKET_GENS_MASK], in bch2_check_bucket_gens_key() [all …]
|
| A D | logged_ops.c | 41 fsck_err_on(test_bit(BCH_FS_clean_recovery, &c->flags), in resume_logged_op()
|
| A D | error.h | 167 #define fsck_err_on(cond, c, _err_type, ...) \ macro
|
| A D | btree_gc.c | 606 if (fsck_err_on(btree_id != BTREE_ID_accounting && in bch2_gc_mark_key() 841 if (fsck_err_on(new.data_type != gc.data_type, in bch2_alloc_write_key() 852 if (fsck_err_on(new._f != gc._f, \ in bch2_alloc_write_key() 956 if (fsck_err_on(r->refcount != le64_to_cpu(*refcount), in bch2_gc_write_reflink_key() 1055 if (fsck_err_on(bad, in bch2_gc_write_stripes_key()
|
| A D | lru.c | 138 if (fsck_err_on(!ca, in bch2_check_lru_key()
|
| A D | inode.c | 1284 if (fsck_err_on(!bkey_is_inode(k.k), in may_delete_deleted_inode() 1296 if (fsck_err_on(bch2_err_matches(ret, ENOTEMPTY), in may_delete_deleted_inode() 1305 if (fsck_err_on(!(inode.bi_flags & BCH_INODE_unlinked), in may_delete_deleted_inode() 1311 if (fsck_err_on(inode.bi_flags & BCH_INODE_has_child_snapshot, in may_delete_deleted_inode()
|
| A D | sb-clean.c | 152 if (fsck_err_on(!sb_clean, c, in bch2_read_superblock_clean()
|
| A D | recovery.c | 408 if (fsck_err_on(entry->btree_id >= BTREE_ID_NR_MAX, in journal_replay_entry_early() 764 fsck_err_on(!c->sb.clean, c, in bch2_fs_recovery()
|
| A D | backpointers.c | 414 if (fsck_err_on(alloc_k.k->type != KEY_TYPE_alloc_v4, in bch2_check_btree_backpointer() 511 if (fsck_err_on(bch2_crc_cmp(csum, p.crc.csum), in check_extent_checksum()
|
| A D | journal_io.c | 212 fsck_err_on(same_device, in journal_entry_add() 217 fsck_err_on(not_identical, in journal_entry_add() 1300 fsck_err_on(!JSET_NO_FLUSH(&i->j), c, in bch2_journal_read()
|
| A D | disk_accounting.c | 643 if (fsck_err_on(!bch2_replicas_marked_locked(c, &r.e), in bch2_disk_accounting_validate_late()
|