| /linux/fs/xfs/libxfs/ |
| 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() 443 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 470 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 514 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 523 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 533 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 545 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 588 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_left_extent() [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() 595 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec() 605 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) { in xfs_inobt_insert_sprec() 668 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_finobt_insert_sprec() 1002 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_next_rec() 1029 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_get_rec() 1136 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1145 if (XFS_IS_CORRUPT(mp, j != 1)) { in xfs_dialloc_ag_inobt() 1304 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() [all …]
|
| H A D | xfs_da_btree.c | 1837 if (XFS_IS_CORRUPT(dp->i_mount, blkno == args->geo->leafblk)) { in xfs_da3_node_lookup_int() 1843 if (XFS_IS_CORRUPT(dp->i_mount, expected_level != 0)) { in xfs_da3_node_lookup_int() 2471 if (XFS_IS_CORRUPT(mp, lastoff == 0)) { in xfs_da3_swap_lastblock() 2536 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2564 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2595 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2608 if (XFS_IS_CORRUPT(mp, entno == par_hdr.count)) { in xfs_da3_swap_lastblock() 2634 if (XFS_IS_CORRUPT(mp, par_blkno == 0)) { in xfs_da3_swap_lastblock() 2651 if (XFS_IS_CORRUPT(mp, par_hdr.level != level)) { in xfs_da3_swap_lastblock() 2778 if (XFS_IS_CORRUPT(mp, !(flags & XFS_DABUF_MAP_HOLE_OK))) { in xfs_dabuf_map()
|
| H A D | xfs_rtgroup.c | 493 if (XFS_IS_CORRUPT(mp, !((1U << ip->i_df.if_format) & ops->fmt_mask))) { in xfs_rtginode_load() 499 if (XFS_IS_CORRUPT(mp, ip->i_projid != rtg_rgno(rtg))) { in xfs_rtginode_load()
|
| H 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()
|
| H A D | xfs_ag.c | 766 if (XFS_IS_CORRUPT(mp, agf->agf_length != agi->agi_length)) { in xfs_ag_shrink_space()
|
| /linux/fs/xfs/ |
| 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() 2959 if (XFS_IS_CORRUPT(mp, in xlog_valid_rec_header() 2967 if (XFS_IS_CORRUPT(mp, h_version != XLOG_VERSION_2)) in xlog_valid_rec_header() 2970 if (XFS_IS_CORRUPT(mp, h_version != XLOG_VERSION_1)) in xlog_valid_rec_header() [all …]
|
| H A D | xfs_iwalk.c | 302 if (XFS_IS_CORRUPT(mp, *has_more != 1)) { in xfs_iwalk_ag_start() 426 XFS_IS_CORRUPT(mp, iwag->lastino >= rec_fsino)) { in xfs_iwalk_ag()
|
| H A D | xfs_platform.h | 257 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
| 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_mount.c | 1009 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 1081 if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) { in xfs_mountfs()
|
| H A D | xfs_qm.c | 669 if (XFS_IS_CORRUPT(mp, qi->qi_dirip == NULL)) in xfs_qm_create_metadir_qinos() 922 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc() 930 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
|
| H A D | xfs_discard.c | 229 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_gather_extents()
|
| H A D | xfs_buf_item_recover.c | 683 if (XFS_IS_CORRUPT(mp, *logged_nextp == 0)) { in xlog_recover_do_inode_buffer()
|
| H A D | xfs_rtalloc.c | 115 if (XFS_IS_CORRUPT(oargs->mp, sum < 0)) { in xfs_rtcopy_summary()
|
| H A D | xfs_inode.c | 561 if (XFS_IS_CORRUPT(dp->i_mount, xfs_is_metadir_inode(*ipp))) { in xfs_lookup()
|
| /linux/fs/xfs/scrub/ |
| H A D | refcount_repair.c | 259 if (XFS_IS_CORRUPT(mp, !have_gt)) { in xrep_refc_walk_rmaps() 392 if (XFS_IS_CORRUPT(sc->mp, !have_gt)) { in xrep_refc_push_rmaps_at()
|
| H A D | rtrefcount_repair.c | 247 if (XFS_IS_CORRUPT(mp, !have_gt)) { in xrep_rtrefc_walk_rmaps() 406 if (XFS_IS_CORRUPT(sc->mp, !have_gt)) { in xrep_rtrefc_push_rmaps_at()
|