/linux-6.1.9/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() 480 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 488 if (XFS_IS_CORRUPT(mp, owner != rec->rm_owner)) { in xfs_rmap_free_check_owner() 498 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 504 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner() 508 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner() 571 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_rmap_unmap() [all …]
|
D | xfs_refcount.c | 220 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_insert() 250 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_delete() 256 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_delete() 380 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 407 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent() 452 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 460 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 469 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 480 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents() 524 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_left_extent() [all …]
|
D | xfs_alloc.c | 469 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 478 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 488 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 497 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 509 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees() 542 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 550 if (XFS_IS_CORRUPT(mp, i != 0)) in xfs_alloc_fixup_trees() 554 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees() 560 if (XFS_IS_CORRUPT(mp, i != 0)) in xfs_alloc_fixup_trees() 564 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() 891 if (XFS_IS_CORRUPT(mp, stat != 1)) { in xfs_bmap_add_attrfork_btree() 1185 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents() 1367 if (XFS_IS_CORRUPT(ip->i_mount, !xfs_ifork_has_extents(ifp))) in xfs_bmap_last_offset() 1506 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1513 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1520 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1549 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() 1582 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real() [all …]
|
D | xfs_ialloc.c | 543 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 559 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec() 563 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec() 572 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) { in xfs_inobt_insert_sprec() 926 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_next_rec() 951 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_get_rec() 1029 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1037 if (XFS_IS_CORRUPT(mp, j != 1)) { in xfs_dialloc_ag_inobt() 1195 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt() 1204 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() 2469 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift() 2639 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_rshift() 3513 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_insert() 3920 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 3928 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() 3934 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec() [all …]
|
D | xfs_dir2.c | 212 if (XFS_IS_CORRUPT(mp, !ino_ok) || in xfs_dir_ino_validate() 628 if (XFS_IS_CORRUPT(mp, args->dp->i_disk_size != args->geo->blksize)) in xfs_dir2_isblock()
|
D | xfs_ag.c | 194 XFS_IS_CORRUPT(pag->pag_mount, atomic_read(&pag->pag_ref) != 0); in xfs_free_perag() 854 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.1.9/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() 2913 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2916 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header() 2930 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 | 222 #define XFS_IS_CORRUPT(mp, expr) \ macro
|
D | xfs_discard.c | 75 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_extents()
|
D | xfs_inode_item_recover.c | 322 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2() 330 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_mount.c | 790 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 845 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_buf_item_recover.c | 663 if (XFS_IS_CORRUPT(mp, *logged_nextp == 0)) { in xlog_recover_do_inode_buffer()
|
D | xfs_qm.c | 751 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc() 757 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
|