/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_rmap.c | 135 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert() 149 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_insert() 177 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 186 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 542 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 551 if (XFS_IS_CORRUPT(mp, owner != rec->rm_owner)) { in xfs_rmap_free_check_owner() 562 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 569 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { 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() [all …]
|
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() 403 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 430 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 474 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 483 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 493 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 505 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 548 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_left_extent() [all …]
|
D | xfs_alloc.c | 519 if (XFS_IS_CORRUPT(cnt_cur->bc_mp, !stat)) { in xfs_cntbt_longest() 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() 698 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_alloc_fixup_trees() 706 if (XFS_IS_CORRUPT(mp, i != 0)) { in xfs_alloc_fixup_trees() [all …]
|
D | xfs_bmap.c | 411 if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbno(mp, bno))) { in xfs_bmap_check_leaf_extents() 592 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() 1217 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents() 1409 if (XFS_IS_CORRUPT(ip->i_mount, !xfs_ifork_has_extents(ifp))) { in xfs_bmap_last_offset() 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() [all …]
|
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() 593 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec() 603 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) { in xfs_inobt_insert_sprec() 669 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_finobt_insert_sprec() 1003 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_next_rec() 1030 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_get_rec() 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() [all …]
|
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()
|
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()
|
D | xfs_btree.c | 302 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_block() 2000 if (XFS_IS_CORRUPT(cur->bc_mp, cur->bc_nlevels == 0)) { in xfs_btree_lookup() 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() [all …]
|
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()
|
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()
|
D | xfs_parent.c | 179 if (XFS_IS_CORRUPT(child->i_mount, !xfs_inode_has_attr_fork(child))) { in xfs_parent_iread_extents()
|
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-6.12.1/fs/xfs/ |
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()
|
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()
|
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 …]
|
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()
|
D | xfs_linux.h | 240 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
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()
|
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()
|
D | xfs_symlink.c | 66 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_data)) in xfs_readlink()
|
D | xfs_attr_inactive.c | 57 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
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()
|
D | xfs_discard.c | 220 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_gather_extents()
|
/linux-6.12.1/fs/xfs/scrub/ |
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()
|
D | iscan.c | 143 XFS_IS_CORRUPT(mp, lastino >= rec.ir_startino)) { in xchk_iscan_find_next()
|