Home
last modified time | relevance | path

Searched refs:XFS_IS_CORRUPT (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_rmap.c134 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 …]
Dxfs_refcount.c220 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 …]
Dxfs_alloc.c469 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 …]
Dxfs_bmap.c385 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 …]
Dxfs_ialloc.c543 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 …]
Dxfs_attr_remote.c550 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()
Dxfs_da_btree.c1720 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()
Dxfs_btree.c176 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 …]
Dxfs_dir2.c212 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()
Dxfs_ag.c194 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()
Dxfs_rtbitmap.c73 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) in xfs_rtbuf_get()
Dxfs_dir2_node.c734 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/
Dxfs_attr_list.c84 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()
Dxfs_dir2_readdir.c120 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()
Dxfs_log_recover.c81 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 …]
Dxfs_trans_dquot.c693 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()
Dxfs_linux.h222 #define XFS_IS_CORRUPT(mp, expr) \ macro
Dxfs_discard.c75 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_extents()
Dxfs_inode_item_recover.c322 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()
Dxfs_iwalk.c309 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()
Dxfs_attr_inactive.c56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
Dxfs_mount.c790 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()
Dxfs_symlink.c131 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_u1.if_data)) in xfs_readlink()
Dxfs_buf_item_recover.c663 if (XFS_IS_CORRUPT(mp, *logged_nextp == 0)) { in xlog_recover_do_inode_buffer()
Dxfs_qm.c751 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
757 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()

12