Lines Matching refs:error

701  * single bit error could clear the feature bit and unused parts of the
717 int error;
732 error = -EFSBADCRC;
743 error = xfs_validate_sb_common(mp, bp, &sb);
744 if (error)
746 error = xfs_validate_sb_read(mp, &sb);
749 if (error == -EFSCORRUPTED || error == -EFSBADCRC)
750 xfs_verifier_error(bp, error, __this_address);
751 else if (error)
752 xfs_buf_ioerror(bp, error);
784 int error;
791 error = xfs_validate_sb_common(mp, bp, &sb);
792 if (error)
794 error = xfs_validate_sb_write(mp, bp, &sb);
795 if (error)
808 xfs_verifier_error(bp, error, __this_address);
896 int error = 0;
904 error = xfs_alloc_pagf_init(mp, NULL, index, 0);
905 if (error)
906 return error;
908 error = xfs_ialloc_pagi_init(mp, NULL, index);
909 if (error)
910 return error;
929 error = -EFSCORRUPTED;
943 return error;
995 int error;
997 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0,
999 if (error)
1000 return error;
1024 int error = 0;
1031 error = xfs_buf_get(mp->m_ddev_targp,
1035 * If we get an error reading or writing alternate superblocks,
1041 if (error) {
1043 "error allocating secondary superblock for ag %d",
1046 saved_error = error;
1061 error = xfs_buf_delwri_submit(&buffer_list);
1062 if (error) {
1064 "write error %d updating a secondary superblock near ag %d",
1065 error, agno);
1067 saved_error = error;
1071 error = xfs_buf_delwri_submit(&buffer_list);
1072 if (error) {
1074 "write error %d updating a secondary superblock near ag %d",
1075 error, agno);
1078 return saved_error ? saved_error : error;
1091 int error;
1093 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_sb, 0, 0, 0, &tp);
1094 if (error)
1095 return error;
1101 error = xfs_trans_commit(tp);
1102 if (error)
1107 error = xfs_bwrite(bp);
1110 return error;
1211 int error;
1214 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp,
1217 if (error)
1218 return error;
1233 int error;
1236 error = xfs_trans_get_buf(tp, mp->m_ddev_targp,
1239 if (error)
1240 return error;