/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_rmap.c | 134 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert() 147 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_insert() 176 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 184 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 529 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 537 if (XFS_IS_CORRUPT(mp, owner != rec->rm_owner)) { in xfs_rmap_free_check_owner() 547 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 553 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner() 557 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 620 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() 278 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_delete() 402 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 429 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() 482 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 491 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 502 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 546 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_left_extent() [all …]
|
D | xfs_alloc.c | 499 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 508 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 518 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 527 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 539 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 572 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 580 if (XFS_IS_CORRUPT(mp, i != 0)) in xfs_alloc_fixup_trees() 584 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 590 if (XFS_IS_CORRUPT(mp, i != 0)) in xfs_alloc_fixup_trees() 594 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() [all …]
|
D | xfs_bmap.c | 385 if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbno(mp, bno))) { in xfs_bmap_check_leaf_extents() 565 if (XFS_IS_CORRUPT(cur->bc_mp, !xfs_btree_check_lptr(cur, cbno, 1))) in xfs_bmap_btree_to_extents() 880 if (XFS_IS_CORRUPT(mp, stat != 1)) { in xfs_bmap_add_attrfork_btree() 1203 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents() 1391 if (XFS_IS_CORRUPT(ip->i_mount, !xfs_ifork_has_extents(ifp))) in xfs_bmap_last_offset() 1530 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1537 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1544 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1573 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1606 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() [all …]
|
D | xfs_ialloc.c | 568 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 584 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 588 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec() 597 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) { in xfs_inobt_insert_sprec() 947 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_next_rec() 972 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_get_rec() 1050 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1058 if (XFS_IS_CORRUPT(mp, j != 1)) { in xfs_dialloc_ag_inobt() 1216 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1225 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() [all …]
|
D | xfs_attr_remote.c | 550 if (XFS_IS_CORRUPT(mp, map->br_startblock == DELAYSTARTBLOCK) || in xfs_attr_rmtval_stale() 551 XFS_IS_CORRUPT(mp, map->br_startblock == HOLESTARTBLOCK)) in xfs_attr_rmtval_stale() 662 if (XFS_IS_CORRUPT(args->dp->i_mount, nmap != 1)) in xfs_attr_rmtval_invalidate()
|
D | xfs_da_btree.c | 1720 if (XFS_IS_CORRUPT(dp->i_mount, blkno == args->geo->leafblk)) in xfs_da3_node_lookup_int() 1724 if (XFS_IS_CORRUPT(dp->i_mount, expected_level != 0)) in xfs_da3_node_lookup_int() 2308 if (XFS_IS_CORRUPT(mp, lastoff == 0)) in xfs_da3_swap_lastblock() 2355 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2375 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2398 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock() 2410 if (XFS_IS_CORRUPT(mp, entno == par_hdr.count)) { in xfs_da3_swap_lastblock() 2435 if (XFS_IS_CORRUPT(mp, par_blkno == 0)) { in xfs_da3_swap_lastblock() 2444 if (XFS_IS_CORRUPT(mp, par_hdr.level != level)) { in xfs_da3_swap_lastblock() 2572 if (XFS_IS_CORRUPT(mp, !(flags & XFS_DABUF_MAP_HOLE_OK))) { in xfs_dabuf_map()
|
D | xfs_btree.c | 176 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_lblock() 242 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_sblock() 1895 if (XFS_IS_CORRUPT(cur->bc_mp, cur->bc_nlevels == 0)) in xfs_btree_lookup() 2015 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_btree_lookup() 2468 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift() 2638 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_rshift() 3526 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_insert() 3933 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 3941 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 3947 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() [all …]
|
D | xfs_dir2.c | 213 if (XFS_IS_CORRUPT(mp, !ino_ok) || in xfs_dir_ino_validate() 629 if (XFS_IS_CORRUPT(mp, args->dp->i_disk_size != args->geo->blksize)) in xfs_dir2_isblock()
|
D | xfs_ag.c | 262 XFS_IS_CORRUPT(pag->pag_mount, atomic_read(&pag->pag_ref) != 0); in xfs_free_perag() 270 XFS_IS_CORRUPT(pag->pag_mount, in xfs_free_perag() 933 if (XFS_IS_CORRUPT(mp, agf->agf_length != agi->agi_length)) in xfs_ag_shrink_space()
|
D | xfs_rtbitmap.c | 73 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) in xfs_rtbuf_get()
|
D | xfs_dir2_node.c | 734 if (XFS_IS_CORRUPT(mp, in xfs_dir2_leafn_lookup_for_addname() 1726 if (XFS_IS_CORRUPT(mp, in xfs_dir2_node_add_datablk()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_attr_list.c | 84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 176 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 266 if (XFS_IS_CORRUPT(mp, cursor->blkno == 0)) in xfs_attr_node_list_lookup() 467 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr3_leaf_list_int()
|
D | xfs_dir2_readdir.c | 120 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_sf_getdents() 212 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_block_getdents() 466 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() 1636 if (XFS_IS_CORRUPT(log->l_mp, in xlog_clear_stale_blocks() 1647 if (XFS_IS_CORRUPT(log->l_mp, in xlog_clear_stale_blocks() 2912 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2915 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2929 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header() [all …]
|
D | xfs_trans_dquot.c | 693 if (XFS_IS_CORRUPT(mp, dqp->q_blk.reserved < dqp->q_blk.count) || in xfs_trans_dqresv() 694 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv() 695 XFS_IS_CORRUPT(mp, dqp->q_ino.reserved < dqp->q_ino.count)) in xfs_trans_dqresv()
|
D | xfs_linux.h | 225 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
D | xfs_inode_item_recover.c | 323 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 331 if (XFS_IS_CORRUPT(mp, ldip->di_magic != XFS_DINODE_MAGIC)) { in xlog_recover_inode_commit_pass2()
|
D | xfs_iwalk.c | 309 if (XFS_IS_CORRUPT(mp, *has_more != 1)) in xfs_iwalk_ag_start() 436 XFS_IS_CORRUPT(mp, iwag->lastino >= rec_fsino)) { in xfs_iwalk_ag()
|
D | xfs_attr_inactive.c | 56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
D | xfs_discard.c | 206 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_gather_extents()
|
D | xfs_mount.c | 807 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 862 if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) { in xfs_mountfs()
|
D | xfs_symlink.c | 131 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_u1.if_data)) in xfs_readlink()
|
D | xfs_qm.c | 759 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc() 765 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
|
D | xfs_buf_item_recover.c | 663 if (XFS_IS_CORRUPT(mp, *logged_nextp == 0)) { in xlog_recover_do_inode_buffer()
|