Lines Matching refs:error

34 	int			error;
39 error = xchk_iget_for_scrubbing(sc);
40 if (error)
59 error = xfs_break_layouts(VFS_I(sc->ip),
61 if (error)
80 error = filemap_fdatawrite(mapping);
81 if (!error)
82 error = filemap_fdatawait_keep_errors(mapping);
83 if (error && (error != -ENOSPC && error != -EIO))
88 error = invalidate_inode_pages2(
90 if (error)
97 error = xchk_trans_alloc(sc, 0);
98 if (error)
101 error = xchk_ino_dqattach(sc);
102 if (error)
108 return error;
152 int error;
174 error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno,
177 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno,
180 if (!xchk_should_check_xref(info->sc, &error, &info->sc->sa.rmap_cur))
333 int error;
339 error = xchk_ag_init_existing(info->sc, agno, &info->sc->sa);
341 irec->br_startoff, &error))
532 int error;
537 error = xfs_iread_extents(sc->tp, ip, whichfork);
538 if (!xchk_fblock_process_error(sc, whichfork, 0, &error))
544 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info);
545 xfs_btree_del_cursor(cur, error);
547 return error;
640 int error;
642 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf);
643 if (error)
644 return error;
650 error = xfs_rmap_query_all(cur, xchk_bmap_check_rmap, &sbcri);
651 if (error == -ECANCELED)
652 error = 0;
654 xfs_btree_del_cursor(cur, error);
656 return error;
766 int error;
769 error = xchk_bmap_check_ag_rmaps(sc, whichfork, pag);
770 if (error ||
773 return error;
921 int error = 0;
966 error = xchk_bmap_btree(sc, whichfork, &info);
967 if (error)
968 return error;
979 error = xfs_bmap_last_offset(ip, &endoff, whichfork);
980 if (!xchk_fblock_process_error(sc, whichfork, 0, &error))
981 return error;
992 if (xchk_should_terminate(sc, &error) ||
1010 error = xchk_bmap_check_rmaps(sc, whichfork);
1011 if (!xchk_fblock_xref_process_error(sc, whichfork, 0, &error))
1012 return error;
1023 int error;
1030 error = xchk_bmap(sc, XFS_DATA_FORK);
1031 if (error)
1032 return error;
1044 int error;
1058 error = xchk_bmap(sc, XFS_ATTR_FORK);
1059 if (error)
1060 return error;