Lines Matching refs:error
115 int error = 0;
122 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev,
126 if (error && error != -EOPNOTSUPP) {
128 "discard failed for extent [0x%llx,%u], error %d",
131 error);
145 return error;
163 int error;
174 error = xfs_trans_alloc_empty(mp, &tp);
175 if (error)
176 return error;
178 error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
179 if (error)
188 error = xfs_alloc_lookup_ge(cur, 0, tcur->ar_blockcount, &i);
190 error = xfs_alloc_lookup_le(cur, tcur->ar_startblock,
192 if (error)
210 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i);
211 if (error)
215 error = -EFSCORRUPTED;
269 error = xfs_btree_decrement(cur, 0, &i);
270 if (error)
283 * If there was an error, release all the gathered busy extents because
286 if (error)
289 xfs_btree_del_cursor(cur, error);
292 return error;
318 int error = 0;
325 error = -ENOMEM;
333 error = xfs_trim_gather_extents(pag, start, end, minlen,
335 if (error) {
350 error = xfs_discard_extents(pag->pag_mount, extents);
351 if (error)
359 return error;
384 int error, last_error = 0;
423 error = xfs_trim_extents(pag, start, end, minlen,
425 if (error)
426 last_error = error;