Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
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 …]
Dxfs_refcount.c242 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 …]
Dxfs_alloc.c499 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 …]
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()
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 …]
Dxfs_ialloc.c568 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 …]
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()
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 …]
Dxfs_dir2.c213 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()
Dxfs_ag.c262 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()
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.6.21/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()
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 …]
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.h225 #define XFS_IS_CORRUPT(mp, expr) \ macro
Dxfs_inode_item_recover.c323 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()
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_discard.c206 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_gather_extents()
Dxfs_mount.c807 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()
Dxfs_symlink.c131 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_u1.if_data)) in xfs_readlink()
Dxfs_qm.c759 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
765 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
Dxfs_buf_item_recover.c663 if (XFS_IS_CORRUPT(mp, *logged_nextp == 0)) { in xlog_recover_do_inode_buffer()

12