| /linux/fs/xfs/libxfs/ |
| A D | xfs_rmap.c | 542 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 562 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 574 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 637 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_rmap_unmap() 656 if (XFS_IS_CORRUPT(mp, in xfs_rmap_unmap() 695 if (XFS_IS_CORRUPT(mp, in xfs_rmap_unmap() 995 if (XFS_IS_CORRUPT(mp, in xfs_rmap_map() 1254 if (XFS_IS_CORRUPT(mp, in xfs_rmap_convert() 1738 if (XFS_IS_CORRUPT(mp, in xfs_rmap_convert_shared() 2144 if (XFS_IS_CORRUPT(mp, in xfs_rmap_unmap_shared() [all …]
|
| A D | xfs_refcount.c | 242 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_insert() 272 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_delete() 279 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_delete() 1150 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_refcount_adjust_extents() 1516 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_refcount_find_shared() 1534 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_refcount_find_shared() 1568 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_refcount_find_shared() 1663 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec && in xfs_refcount_adjust_cow_extents() 1679 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_refcount_adjust_cow_extents() 1872 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_refcount_recover_extent() [all …]
|
| A D | xfs_alloc.c | 595 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 606 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 618 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 629 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 643 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 682 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 692 if (XFS_IS_CORRUPT(mp, i != 0)) { in xfs_alloc_fixup_trees() 1895 if (XFS_IS_CORRUPT(args->mp, in xfs_alloc_ag_vextent_size() 1931 if (XFS_IS_CORRUPT(args->mp, in xfs_alloc_ag_vextent_size() 2008 if (XFS_IS_CORRUPT(args->mp, in xfs_alloc_ag_vextent_size() [all …]
|
| A D | xfs_bmap.c | 1549 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1557 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1565 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1596 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1631 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1661 if (XFS_IS_CORRUPT(mp, i != 0)) { in xfs_bmap_add_extent_delay_real() 1669 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1705 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 5768 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmse_merge() 5776 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmse_merge() [all …]
|
| A D | xfs_ialloc.c | 573 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 588 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 669 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_finobt_insert_sprec() 1137 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1146 if (XFS_IS_CORRUPT(mp, j != 1)) { in xfs_dialloc_ag_inobt() 1305 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1549 if (XFS_IS_CORRUPT(cur->bc_mp, in xfs_dialloc_ag_update_inobt() 2091 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_difree_inobt() 2102 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_difree_inobt() 2242 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_difree_finobt() [all …]
|
| 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()
|
| 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()
|
| A D | xfs_btree.c | 302 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_block() 2123 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_lookup() 2568 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift() 2738 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_rshift() 3657 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_insert() 4055 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4064 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4071 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4119 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 4146 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() [all …]
|
| A D | xfs_rtbitmap.c | 121 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) { in xfs_rtbuf_get() 150 if (XFS_IS_CORRUPT(mp, block >= mp->m_sb.sb_rbmblocks)) { in xfs_rtbitmap_read_buf() 165 if (XFS_IS_CORRUPT(mp, block >= mp->m_rsumblocks)) { in xfs_rtsummary_read_buf()
|
| A D | xfs_parent.c | 179 if (XFS_IS_CORRUPT(child->i_mount, !xfs_inode_has_attr_fork(child))) { in xfs_parent_iread_extents()
|
| A D | xfs_ag.c | 203 XFS_IS_CORRUPT(pag->pag_mount, atomic_read(&pag->pag_ref) != 0); in xfs_free_perag_range() 211 XFS_IS_CORRUPT(pag->pag_mount, in xfs_free_perag_range() 852 if (XFS_IS_CORRUPT(mp, agf->agf_length != agi->agi_length)) { in xfs_ag_shrink_space()
|
| A D | xfs_dir2.c | 225 if (XFS_IS_CORRUPT(mp, !ino_ok) || in xfs_dir_ino_validate() 285 if (XFS_IS_CORRUPT(mp, dp->i_disk_size != geo->blksize)) { in xfs_dir2_format()
|
| /linux/fs/xfs/ |
| A D | xfs_attr_list.c | 84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 186 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 283 if (XFS_IS_CORRUPT(mp, cursor->blkno == 0)) { in xfs_attr_node_list_lookup() 515 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr3_leaf_list_int()
|
| 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()
|
| 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() 2951 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2954 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2968 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header() [all …]
|
| A D | xfs_trans_dquot.c | 860 if (XFS_IS_CORRUPT(mp, dqp->q_blk.reserved < dqp->q_blk.count) || in xfs_trans_dqresv() 861 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv() 862 XFS_IS_CORRUPT(mp, dqp->q_ino.reserved < dqp->q_ino.count)) in xfs_trans_dqresv()
|
| A D | xfs_linux.h | 240 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
| A D | xfs_inode_item_recover.c | 324 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 332 if (XFS_IS_CORRUPT(mp, ldip->di_magic != XFS_DINODE_MAGIC)) { in xlog_recover_inode_commit_pass2()
|
| A D | xfs_iwalk.c | 303 if (XFS_IS_CORRUPT(mp, *has_more != 1)) { in xfs_iwalk_ag_start() 430 XFS_IS_CORRUPT(mp, iwag->lastino >= rec_fsino)) { in xfs_iwalk_ag()
|
| A D | xfs_symlink.c | 66 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_data)) in xfs_readlink()
|
| A D | xfs_attr_inactive.c | 57 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
| A D | xfs_mount.c | 820 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 884 if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) { in xfs_mountfs()
|
| A D | xfs_discard.c | 220 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_gather_extents()
|
| /linux/fs/xfs/scrub/ |
| 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()
|
| A D | iscan.c | 143 XFS_IS_CORRUPT(mp, lastino >= rec.ir_startino)) { in xchk_iscan_find_next()
|