| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_rmap.c | 612 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 632 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 644 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 707 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_rmap_unmap() 726 if (XFS_IS_CORRUPT(mp, in xfs_rmap_unmap() 765 if (XFS_IS_CORRUPT(mp, in xfs_rmap_unmap() 1066 if (XFS_IS_CORRUPT(mp, in xfs_rmap_map() 1326 if (XFS_IS_CORRUPT(mp, in xfs_rmap_convert() 1810 if (XFS_IS_CORRUPT(mp, in xfs_rmap_convert_shared() 2216 if (XFS_IS_CORRUPT(mp, in xfs_rmap_unmap_shared() [all …]
|
| H A D | xfs_refcount.c | 282 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_insert() 312 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_delete() 319 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_delete() 1205 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_refcount_adjust_extents() 1675 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_refcount_find_shared() 1693 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_refcount_find_shared() 1727 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_refcount_find_shared() 1822 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec && in xfs_refcount_adjust_cow_extents() 1838 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_refcount_adjust_cow_extents() 2031 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_refcount_recover_extent() [all …]
|
| H A D | xfs_alloc.c | 594 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 605 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 617 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 628 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 642 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 681 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 691 if (XFS_IS_CORRUPT(mp, i != 0)) { in xfs_alloc_fixup_trees() 1896 if (XFS_IS_CORRUPT(args->mp, in xfs_alloc_ag_vextent_size() 1932 if (XFS_IS_CORRUPT(args->mp, in xfs_alloc_ag_vextent_size() 2010 if (XFS_IS_CORRUPT(args->mp, in xfs_alloc_ag_vextent_size() [all …]
|
| H A D | xfs_bmap.c | 1568 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1576 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1584 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1615 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1650 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1680 if (XFS_IS_CORRUPT(mp, i != 0)) { in xfs_bmap_add_extent_delay_real() 1688 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1724 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 5569 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmse_merge() 5577 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmse_merge() [all …]
|
| H A D | xfs_ialloc.c | 575 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 590 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 668 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_finobt_insert_sprec() 1135 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1144 if (XFS_IS_CORRUPT(mp, j != 1)) { in xfs_dialloc_ag_inobt() 1303 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1547 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_dialloc_ag_update_inobt() 2110 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_difree_inobt() 2121 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_difree_inobt() 2260 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_difree_finobt() [all …]
|
| H A D | xfs_group.c | 162 XFS_IS_CORRUPT(mp, atomic_read(&xg->xg_ref) != 0); in xfs_group_free() 174 XFS_IS_CORRUPT(mp, atomic_read(&xg->xg_active_ref) != 0); in xfs_group_free()
|
| H A D | xfs_attr_remote.c | 566 if (XFS_IS_CORRUPT(mp, map->br_startblock == DELAYSTARTBLOCK) || in xfs_attr_rmtval_stale() 567 XFS_IS_CORRUPT(mp, map->br_startblock == HOLESTARTBLOCK)) { in xfs_attr_rmtval_stale() 679 if (XFS_IS_CORRUPT(args->dp->i_mount, nmap != 1)) { in xfs_attr_rmtval_invalidate()
|
| H A D | xfs_dquot_buf.c | 402 if (XFS_IS_CORRUPT(mp, ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_dqinode_load() 409 if (XFS_IS_CORRUPT(mp, ip->i_projid != 0)) { in xfs_dqinode_load()
|
| H A D | xfs_da_btree.c | 1806 if (XFS_IS_CORRUPT(dp->i_mount, blkno == args->geo->leafblk)) { in xfs_da3_node_lookup_int() 1812 if (XFS_IS_CORRUPT(dp->i_mount, expected_level != 0)) { in xfs_da3_node_lookup_int() 2440 if (XFS_IS_CORRUPT(mp, lastoff == 0)) { in xfs_da3_swap_lastblock() 2505 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2533 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2564 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2577 if (XFS_IS_CORRUPT(mp, entno == par_hdr.count)) { in xfs_da3_swap_lastblock() 2603 if (XFS_IS_CORRUPT(mp, par_blkno == 0)) { in xfs_da3_swap_lastblock() 2620 if (XFS_IS_CORRUPT(mp, par_hdr.level != level)) { in xfs_da3_swap_lastblock() 2751 if (XFS_IS_CORRUPT(mp, !(flags & XFS_DABUF_MAP_HOLE_OK))) { in xfs_dabuf_map()
|
| H A D | xfs_rtgroup.c | 492 if (XFS_IS_CORRUPT(mp, !((1U << ip->i_df.if_format) & ops->fmt_mask))) { in xfs_rtginode_load() 498 if (XFS_IS_CORRUPT(mp, ip->i_projid != rtg_rgno(rtg))) { in xfs_rtginode_load()
|
| H A D | xfs_btree.c | 308 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_block() 2121 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_lookup() 2566 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift() 2736 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_rshift() 3767 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_insert() 4233 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4242 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4249 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4297 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4324 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() [all …]
|
| H A D | xfs_parent.c | 179 if (XFS_IS_CORRUPT(child->i_mount, !xfs_inode_has_attr_fork(child))) { in xfs_parent_iread_extents()
|
| H A D | xfs_rtbitmap.c | 199 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) { in xfs_rtbuf_get() 238 if (XFS_IS_CORRUPT(mp, block >= mp->m_sb.sb_rbmblocks)) { in xfs_rtbitmap_read_buf() 253 if (XFS_IS_CORRUPT(mp, block >= mp->m_rsumblocks)) { in xfs_rtsummary_read_buf()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_attr_list.c | 84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 187 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 284 if (XFS_IS_CORRUPT(mp, cursor->blkno == 0)) { in xfs_attr_node_list_lookup() 516 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr3_leaf_list_int()
|
| H A D | xfs_dir2_readdir.c | 119 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_sf_getdents() 213 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_block_getdents() 469 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_leaf_getdents()
|
| H A D | xfs_log_recover.c | 81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer() 129 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io() 220 if (XFS_IS_CORRUPT(mp, head->h_fmt != cpu_to_be32(XLOG_FMT))) { in xlog_header_check_recover() 226 if (XFS_IS_CORRUPT(mp, !uuid_equal(&mp->m_sb.sb_uuid, in xlog_header_check_recover() 253 } else if (XFS_IS_CORRUPT(mp, !uuid_equal(&mp->m_sb.sb_uuid, in xlog_header_check_mount() 1632 if (XFS_IS_CORRUPT(log->l_mp, in xlog_clear_stale_blocks() 1643 if (XFS_IS_CORRUPT(log->l_mp, in xlog_clear_stale_blocks() 2955 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2958 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2972 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header() [all …]
|
| H A D | xfs_linux.h | 240 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
| H A D | xfs_trans_dquot.c | 885 if (XFS_IS_CORRUPT(mp, dqp->q_blk.reserved < dqp->q_blk.count) || in xfs_trans_dqresv() 886 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv() 887 XFS_IS_CORRUPT(mp, dqp->q_ino.reserved < dqp->q_ino.count)) in xfs_trans_dqresv()
|
| H A D | xfs_iwalk.c | 302 if (XFS_IS_CORRUPT(mp, *has_more != 1)) { in xfs_iwalk_ag_start() 429 XFS_IS_CORRUPT(mp, iwag->lastino >= rec_fsino)) { in xfs_iwalk_ag()
|
| H A D | xfs_inode_item_recover.c | 362 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 370 if (XFS_IS_CORRUPT(mp, ldip->di_magic != XFS_DINODE_MAGIC)) { in xlog_recover_inode_commit_pass2()
|
| H A D | xfs_attr_inactive.c | 57 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
| H A D | xfs_symlink.c | 66 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_data)) in xfs_readlink()
|
| H A D | xfs_mount.c | 862 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 947 if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) { in xfs_mountfs()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | refcount_repair.c | 265 if (XFS_IS_CORRUPT(mp, !have_gt)) { in xrep_refc_walk_rmaps() 398 if (XFS_IS_CORRUPT(sc->mp, !have_gt)) { in xrep_refc_push_rmaps_at()
|
| H A D | rtrefcount_repair.c | 253 if (XFS_IS_CORRUPT(mp, !have_gt)) { in xrep_rtrefc_walk_rmaps() 412 if (XFS_IS_CORRUPT(sc->mp, !have_gt)) { in xrep_rtrefc_push_rmaps_at()
|