/linux/fs/xfs/libxfs/ |
H A D | xfs_rmap.c | 137 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert() 151 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_insert() 179 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 188 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 612 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 621 if (XFS_IS_CORRUPT(mp, owner != rec->rm_owner)) { in xfs_rmap_free_check_owner() 632 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 639 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { 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() [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() 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_bmap.c | 412 if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbno(mp, bno))) { in xfs_bmap_check_leaf_extents() 593 if (XFS_IS_CORRUPT(cur->bc_mp, !xfs_verify_fsbno(mp, cbno))) { in xfs_bmap_btree_to_extents() 907 if (XFS_IS_CORRUPT(mp, stat != 1)) { in xfs_bmap_add_attrfork_btree() 1218 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents() 1410 if (XFS_IS_CORRUPT(ip->i_mount, !xfs_ifork_has_extents(ifp))) { in xfs_bmap_last_offset() 1570 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1578 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1586 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1617 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1652 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() [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() 1001 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_next_rec() 1028 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_get_rec() 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() [all …]
|
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_btree.c | 308 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_block() 1998 if (XFS_IS_CORRUPT(cur->bc_mp, cur->bc_nlevels == 0)) { in xfs_btree_lookup() 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() [all …]
|
H A D | xfs_rtgroup.c | 485 if (XFS_IS_CORRUPT(mp, !((1U << ip->i_df.if_format) & ops->fmt_mask))) { in xfs_rtginode_load() 491 if (XFS_IS_CORRUPT(mp, ip->i_projid != rtg_rgno(rtg))) { in xfs_rtginode_load()
|
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()
|
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 | 775 if (XFS_IS_CORRUPT(mp, agf->agf_length != agi->agi_length)) { in xfs_ag_shrink_space()
|
/linux/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_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_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_linux.h | 240 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
H A D | xfs_inode_item_recover.c | 361 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 369 if (XFS_IS_CORRUPT(mp, ldip->di_magic != XFS_DINODE_MAGIC)) { in xlog_recover_inode_commit_pass2()
|
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_attr_inactive.c | 57 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
H A D | xfs_mount.c | 856 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 941 if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) { in xfs_mountfs()
|
H A D | xfs_qm.c | 741 if (XFS_IS_CORRUPT(mp, qi->qi_dirip == NULL)) in xfs_qm_create_metadir_qinos() 994 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc() 1002 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
|
H A D | xfs_discard.c | 241 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()
|
/linux/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()
|