Lines Matching refs:error
358 int error;
360 error = xfs_defer_save_resources(&dres, *tpp);
361 if (error)
362 return error;
373 error = xfs_trans_roll(tpp);
377 if (error)
378 trace_xfs_defer_trans_roll_error(*tpp, error);
379 return error;
479 int error;
488 error = ops->finish_item(tp, dfp->dfp_done, li, &state);
489 if (error == -EAGAIN) {
504 error = ret;
507 if (error)
516 ops->finish_cleanup(tp, state, error);
517 return error;
533 int error = 0;
556 error = has_intents;
560 error = xfs_defer_trans_roll(tp);
561 if (error)
565 error = xfs_defer_relog(tp, &dop_pending);
566 if (error)
572 error = xfs_defer_finish_one(*tp, dfp);
573 if (error && error != -EAGAIN)
583 trace_xfs_defer_finish_error(*tp, error);
586 return error;
593 int error;
599 error = xfs_defer_finish_noroll(tp);
600 if (error)
601 return error;
603 error = xfs_defer_trans_roll(tp);
604 if (error) {
607 return error;
712 int error;
717 error = xfs_defer_create_intents(tp);
718 if (error < 0)
719 return ERR_PTR(error);
738 error = xfs_defer_save_resources(&dfc->dfc_held, tp);
739 if (error) {
799 int error;
811 error = xfs_trans_commit(tp);
812 if (error) {
814 return error;
904 int error;
906 error = xfs_defer_init_cache();
907 if (error)
908 return error;
909 error = xfs_rmap_intent_init_cache();
910 if (error)
912 error = xfs_refcount_intent_init_cache();
913 if (error)
915 error = xfs_bmap_intent_init_cache();
916 if (error)
918 error = xfs_extfree_intent_init_cache();
919 if (error)
921 error = xfs_attr_intent_init_cache();
922 if (error)
927 return error;