Lines Matching refs:error
169 int error;
180 error = xrep_cow_mark_file_range(xc,
184 if (error)
185 return error;
244 int error;
253 error = xrep_ag_init(sc, pag, &sc->sa);
254 if (error)
261 error = xfs_refcount_query_range(sc->sa.refc_cur, &rc_low, &rc_high,
263 if (error)
271 error = xfs_refcount_query_range(sc->sa.refc_cur, &rc_low, &rc_high,
273 if (error)
277 error = xrep_cow_mark_file_range(xc,
282 if (error)
290 error = xfs_rmap_query_range(sc->sa.rmap_cur, &rm_low, &rm_high,
292 if (error)
301 error = xrep_cow_mark_file_range(xc, xc->irec.br_startblock,
303 if (error)
304 return error;
334 int error;
336 error = xfs_trans_reserve_more(sc->tp, maxlen, 0);
337 if (error)
338 return error;
340 error = xfs_alloc_vextent_start_ag(&args,
342 if (error)
343 return error;
453 int error;
459 error = xrep_cow_find_mapping(xc, &icur, startoff, &got);
460 if (error)
461 return error;
471 error = xrep_cow_alloc(sc, alloc_len, &repl);
472 if (error)
473 return error;
482 error = xfs_defer_finish(&sc->tp);
483 if (error)
484 return error;
487 error = xfsb_bitmap_set(&xc->old_cowfork_fsblocks, got.br_startblock,
489 if (error)
490 return error;
507 int error = 0;
513 error = xrep_cow_replace_range(xc, startoff, &len);
514 if (error)
521 return error;
536 int error;
569 if (xchk_should_terminate(sc, &error))
589 error = xrep_cow_find_bad(xc);
590 if (error)
595 error = xoff_bitmap_walk(&xc->bad_fileoffs, xrep_cow_replace, xc);
596 if (error)
604 error = xrep_reap_fsblocks(sc, &xc->old_cowfork_fsblocks,
606 if (error)
613 return error;