Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_rmap.c116 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert()
129 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_insert()
158 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete()
166 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete()
421 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner()
429 if (XFS_IS_CORRUPT(mp, owner != rec->rm_owner)) { in xfs_rmap_free_check_owner()
439 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner()
445 if (XFS_IS_CORRUPT(mp, rec->rm_offset > offset)) { in xfs_rmap_free_check_owner()
449 if (XFS_IS_CORRUPT(mp, in xfs_rmap_free_check_owner()
512 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_rmap_unmap()
[all …]
Dxfs_refcount.c203 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_insert()
233 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_delete()
239 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_delete()
361 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent()
386 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent()
428 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
436 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
445 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
456 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
498 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_left_extent()
[all …]
Dxfs_alloc.c454 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees()
463 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees()
473 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees()
482 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees()
494 if (XFS_IS_CORRUPT(mp, in xfs_alloc_fixup_trees()
527 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees()
535 if (XFS_IS_CORRUPT(mp, i != 0)) in xfs_alloc_fixup_trees()
539 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees()
545 if (XFS_IS_CORRUPT(mp, i != 0)) in xfs_alloc_fixup_trees()
549 if (XFS_IS_CORRUPT(mp, i != 1)) in xfs_alloc_fixup_trees()
[all …]
Dxfs_bmap.c384 if (XFS_IS_CORRUPT(mp, !xfs_verify_fsbno(mp, bno))) { in xfs_bmap_check_leaf_extents()
615 if (XFS_IS_CORRUPT(cur->bc_mp, !xfs_btree_check_lptr(cur, cbno, 1))) in xfs_bmap_btree_to_extents()
944 if (XFS_IS_CORRUPT(mp, stat != 1)) { in xfs_bmap_add_attrfork_btree()
1235 if (XFS_IS_CORRUPT(mp, ifp->if_format != XFS_DINODE_FMT_BTREE)) { in xfs_iread_extents()
1249 if (XFS_IS_CORRUPT(mp, ir.loaded != ifp->if_nextents)) { in xfs_iread_extents()
1439 if (XFS_IS_CORRUPT(ip->i_mount, !xfs_ifork_has_extents(ifp))) in xfs_bmap_last_offset()
1610 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real()
1617 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real()
1624 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real()
1653 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_bmap_add_extent_delay_real()
[all …]
Dxfs_ialloc.c547 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec()
563 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_inobt_insert_sprec()
567 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec()
576 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) { in xfs_inobt_insert_sprec()
1068 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_next_rec()
1093 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_get_rec()
1172 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt()
1180 if (XFS_IS_CORRUPT(mp, j != 1)) { in xfs_dialloc_ag_inobt()
1338 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt()
1347 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_dialloc_ag_inobt()
[all …]
Dxfs_attr_remote.c549 if (XFS_IS_CORRUPT(mp, map->br_startblock == DELAYSTARTBLOCK) || in xfs_attr_rmtval_stale()
550 XFS_IS_CORRUPT(mp, map->br_startblock == HOLESTARTBLOCK)) in xfs_attr_rmtval_stale()
659 if (XFS_IS_CORRUPT(args->dp->i_mount, nmap != 1)) in xfs_attr_rmtval_invalidate()
Dxfs_da_btree.c1708 if (XFS_IS_CORRUPT(dp->i_mount, blkno == args->geo->leafblk)) in xfs_da3_node_lookup_int()
1712 if (XFS_IS_CORRUPT(dp->i_mount, expected_level != 0)) in xfs_da3_node_lookup_int()
2296 if (XFS_IS_CORRUPT(mp, lastoff == 0)) in xfs_da3_swap_lastblock()
2343 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock()
2363 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock()
2386 if (XFS_IS_CORRUPT(mp, in xfs_da3_swap_lastblock()
2398 if (XFS_IS_CORRUPT(mp, entno == par_hdr.count)) { in xfs_da3_swap_lastblock()
2423 if (XFS_IS_CORRUPT(mp, par_blkno == 0)) { in xfs_da3_swap_lastblock()
2432 if (XFS_IS_CORRUPT(mp, par_hdr.level != level)) { in xfs_da3_swap_lastblock()
2560 if (XFS_IS_CORRUPT(mp, !(flags & XFS_DABUF_MAP_HOLE_OK))) { in xfs_dabuf_map()
Dxfs_btree.c109 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_lblock()
172 if (XFS_IS_CORRUPT(mp, fa != NULL) || in xfs_btree_check_sblock()
1823 if (XFS_IS_CORRUPT(cur->bc_mp, cur->bc_nlevels == 0)) in xfs_btree_lookup()
1943 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_btree_lookup()
2397 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift()
2567 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_rshift()
3432 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_insert()
3839 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3847 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3853 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
[all …]
Dxfs_dir2.c200 if (XFS_IS_CORRUPT(mp, !ino_ok) || in xfs_dir_ino_validate()
609 if (XFS_IS_CORRUPT(args->dp->i_mount, in xfs_dir2_isblock()
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()
/kernel/linux/linux-5.10/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()
211 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_block_getdents()
464 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_leaf_getdents()
Dxfs_log_recover.c87 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
135 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io()
226 if (XFS_IS_CORRUPT(mp, head->h_fmt != cpu_to_be32(XLOG_FMT))) { in xlog_header_check_recover()
232 if (XFS_IS_CORRUPT(mp, !uuid_equal(&mp->m_sb.sb_uuid, in xlog_header_check_recover()
259 } else if (XFS_IS_CORRUPT(mp, !uuid_equal(&mp->m_sb.sb_uuid, in xlog_header_check_mount()
1642 if (XFS_IS_CORRUPT(log->l_mp, in xlog_clear_stale_blocks()
1653 if (XFS_IS_CORRUPT(log->l_mp, in xlog_clear_stale_blocks()
2893 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header()
2896 if (XFS_IS_CORRUPT(log->l_mp, in xlog_valid_rec_header()
2910 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header()
[all …]
Dxfs_discard.c75 if (XFS_IS_CORRUPT(mp, i != 1)) { in xfs_trim_extents()
Dxfs_linux.h222 #define XFS_IS_CORRUPT(mp, expr) \ macro
Dxfs_iwalk.c304 if (XFS_IS_CORRUPT(mp, *has_more != 1)) in xfs_iwalk_ag_start()
422 XFS_IS_CORRUPT(mp, iwag->lastino >= rec_fsino)) { in xfs_iwalk_ag()
Dxfs_inode_item_recover.c248 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2()
256 if (XFS_IS_CORRUPT(mp, ldip->di_magic != XFS_DINODE_MAGIC)) { in xlog_recover_inode_commit_pass2()
Dxfs_attr_inactive.c56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
Dxfs_mount.c870 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs()
909 if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) { in xfs_mountfs()
Dxfs_buf_item_recover.c654 if (XFS_IS_CORRUPT(mp, *logged_nextp == 0)) { in xlog_recover_do_inode_buffer()
Dxfs_qm.c763 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
769 if (XFS_IS_CORRUPT(mp, in xfs_qm_qino_alloc()
Dxfs_iomap.c885 if (XFS_IS_CORRUPT(mp, !xfs_ifork_has_extents(&ip->i_df)) || in xfs_buffered_write_iomap_begin()
Dxfs_iops.c491 if (XFS_IS_CORRUPT(ip->i_mount, !link)) in xfs_vn_get_link_inline()