Lines Matching defs:error
155 int error = 0;
164 error = xfs_mod_fdblocks(mp, -((int64_t)blocks), rsvd);
165 if (error != 0)
191 error = xfs_log_regrant(mp, tp->t_ticket);
193 error = xfs_log_reserve(mp,
200 if (error)
213 error = xfs_mod_frextents(mp, -((int64_t)rtextents));
214 if (error) {
215 error = -ENOSPC;
240 return error;
253 int error;
282 error = xfs_trans_reserve(tp, resp, blocks, rtextents);
283 if (error) {
285 return error;
571 int error;
595 error = xfs_mod_fdblocks(mp, blkdelta, rsvd);
596 ASSERT(!error);
719 * as an iclog write error even though we haven't started any IO yet. Hence in
820 * XFS disk error handling mechanism is not based on a typical
824 * be inconsistent. In such cases, this returns an error, and the
836 int error = 0;
848 error = xfs_defer_finish_noroll(&tp);
849 if (error)
864 error = -EIO;
886 error = xfs_log_force_seq(mp, commit_seq, XFS_LOG_SYNC, NULL);
892 return error;
910 xfs_trans_free_items(tp, !!error);
914 return error;
986 int error;
1005 error = __xfs_trans_commit(trans, true);
1006 if (error)
1007 return error;