/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_error.h | 46 #define XFS_TEST_ERROR(expr, mp, tag) \ macro 57 #define XFS_TEST_ERROR(expr, mp, tag) (expr) macro
|
H A D | xfs_inode.c | 2009 if (XFS_TEST_ERROR(false, pag->pag_mount, XFS_ERRTAG_IUNLINK_FALLBACK)) in xfs_iunlink_add_backref() 3469 if (XFS_TEST_ERROR(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC), in xfs_iflush() 3477 if (XFS_TEST_ERROR( in xfs_iflush() 3487 if (XFS_TEST_ERROR( in xfs_iflush() 3498 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(ip->i_afp) > in xfs_iflush() 3508 if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush()
|
H A D | xfs_trans_ail.c | 400 if (XFS_TEST_ERROR(false, ailp->ail_mount, XFS_ERRTAG_LOG_ITEM_PIN)) in xfsaild_push_item()
|
H A D | xfs_iomap.c | 886 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_buffered_write_iomap_begin() 1098 if (XFS_TEST_ERROR(false, mp, XFS_ERRTAG_DROP_WRITES)) { in xfs_buffered_write_iomap_end()
|
H A D | xfs_log.c | 925 if (XFS_TEST_ERROR(xfs_fs_has_sickness(mp, XFS_SICK_FS_COUNTERS), mp, in xfs_log_unmount_write() 1209 if (XFS_TEST_ERROR(error, log->l_mp, XFS_ERRTAG_IODONE_IOERR)) { in xlog_ioend_work() 1892 if (XFS_TEST_ERROR(false, log->l_mp, XFS_ERRTAG_LOG_BAD_CRC)) { in xlog_sync()
|
H A D | xfs_buf.c | 1453 XFS_TEST_ERROR(false, bp->b_mount, XFS_ERRTAG_BUF_IOERROR)) in xfs_buf_bio_end_io() 2345 if (XFS_TEST_ERROR(false, bp->b_mount, XFS_ERRTAG_BUF_LRU_REF)) in xfs_buf_set_ref()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_error.h | 46 #define XFS_TEST_ERROR(expr, mp, tag) \ macro 69 #define XFS_TEST_ERROR(expr, mp, tag) (expr) macro
|
H A D | xfs_inode.c | 3207 if (XFS_TEST_ERROR(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC), in xfs_iflush() 3215 if (XFS_TEST_ERROR( in xfs_iflush() 3225 if (XFS_TEST_ERROR( in xfs_iflush() 3236 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af) > in xfs_iflush() 3246 if (XFS_TEST_ERROR(ip->i_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush()
|
H A D | xfs_trans_ail.c | 401 if (XFS_TEST_ERROR(false, ailp->ail_log->l_mp, XFS_ERRTAG_LOG_ITEM_PIN)) in xfsaild_push_item()
|
H A D | xfs_attr_item.c | 327 if (XFS_TEST_ERROR(false, args->dp->i_mount, XFS_ERRTAG_LARP)) { in xfs_xattri_finish_update()
|
H A D | xfs_log.c | 1023 if (XFS_TEST_ERROR(xfs_fs_has_sickness(mp, XFS_SICK_FS_COUNTERS), mp, in xfs_log_unmount_write() 1393 if (XFS_TEST_ERROR(error, log->l_mp, XFS_ERRTAG_IODONE_IOERR)) { in xlog_ioend_work() 2088 if (XFS_TEST_ERROR(false, log->l_mp, XFS_ERRTAG_LOG_BAD_CRC)) { in xlog_sync()
|
H A D | xfs_buf.c | 1432 XFS_TEST_ERROR(false, bp->b_mount, XFS_ERRTAG_BUF_IOERROR)) in xfs_buf_bio_end_io() 2335 if (XFS_TEST_ERROR(false, bp->b_mount, XFS_ERRTAG_BUF_LRU_REF)) in xfs_buf_set_ref()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_ag_resv.c | 94 return XFS_TEST_ERROR(avail < orig / 10 || in xfs_ag_resv_critical() 216 if (XFS_TEST_ERROR(false, mp, XFS_ERRTAG_AG_RESV_FAIL)) in __xfs_ag_resv_init()
|
H A D | xfs_inode_fork.c | 762 if (XFS_TEST_ERROR(false, ip->i_mount, XFS_ERRTAG_REDUCE_MAX_IEXTENTS)) in xfs_iext_count_may_overflow() 787 XFS_TEST_ERROR(false, ip->i_mount, XFS_ERRTAG_REDUCE_MAX_IEXTENTS)) in xfs_iext_count_upgrade()
|
H A D | xfs_bmap.c | 3892 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) in xfs_bmapi_read() 4082 if (unlikely(XFS_TEST_ERROR(false, mp, in xfs_bmap_alloc_userdata() 4123 if (unlikely(XFS_TEST_ERROR(false, mp, in xfs_bmapi_allocate() 4373 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmapi_write() 4661 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmapi_remap() 5760 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmap_collapse_extents() 5875 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmap_insert_extents() 5978 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmap_split_extent() 6164 if (XFS_TEST_ERROR(false, tp->t_mountp, in xfs_bmap_finish_one()
|
H A D | xfs_dir2.c | 214 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_DIR_INO_VALIDATE)) { in xfs_dir_ino_validate()
|
H A D | xfs_inode_buf.c | 62 if (unlikely(XFS_TEST_ERROR(!di_ok, mp, in xfs_inode_buf_verify()
|
H A D | xfs_refcount.c | 1070 XFS_TEST_ERROR(false, cur->bc_mp, in xfs_refcount_still_have_space() 1370 if (XFS_TEST_ERROR(false, mp, XFS_ERRTAG_REFCOUNT_FINISH_ONE)) in xfs_refcount_finish_one()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_ag_resv.c | 94 return XFS_TEST_ERROR(avail < orig / 10 || avail < XFS_BTREE_MAXLEVELS, in xfs_ag_resv_critical()
|
H A D | xfs_refcount.c | 895 XFS_TEST_ERROR(false, cur->bc_mp, in xfs_refcount_still_have_space() 1159 if (XFS_TEST_ERROR(false, mp, in xfs_refcount_finish_one()
|
H A D | xfs_bmap.c | 3892 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) in xfs_bmapi_read() 4368 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmapi_write() 4647 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmapi_remap() 5788 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmap_collapse_extents() 5905 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmap_insert_extents() 6010 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_BMAPIFORMAT)) { in xfs_bmap_split_extent() 6199 if (XFS_TEST_ERROR(false, tp->t_mountp, in xfs_bmap_finish_one()
|
H A D | xfs_dir2.c | 201 XFS_TEST_ERROR(false, mp, XFS_ERRTAG_DIR_INO_VALIDATE)) { in xfs_dir_ino_validate()
|
H A D | xfs_inode_buf.c | 63 if (unlikely(XFS_TEST_ERROR(!di_ok, mp, in xfs_inode_buf_verify()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | scrub.c | 530 if (XFS_TEST_ERROR(false, mp, XFS_ERRTAG_FORCE_SCRUB_REPAIR)) in xfs_scrub_metadata()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | scrub.c | 554 if (XFS_TEST_ERROR(needs_fix, mp, XFS_ERRTAG_FORCE_SCRUB_REPAIR)) in xfs_scrub_metadata()
|