Lines Matching defs:error
113 int error = 0;
120 error = __blkdev_issue_discard(mp->m_ddev_targp->bt_bdev,
124 if (error && error != -EOPNOTSUPP) {
126 "discard failed for extent [0x%llx,%u], error %d",
129 error);
143 return error;
160 int error;
171 error = xfs_alloc_read_agf(pag, NULL, 0, &agbp);
172 if (error)
173 return error;
181 error = xfs_alloc_lookup_ge(cur, 0, tcur->ar_blockcount, &i);
183 error = xfs_alloc_lookup_le(cur, tcur->ar_startblock,
185 if (error)
203 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i);
204 if (error)
207 error = -EFSCORRUPTED;
261 error = xfs_btree_decrement(cur, 0, &i);
262 if (error)
275 * If there was an error, release all the gathered busy extents because
278 if (error)
281 xfs_btree_del_cursor(cur, error);
283 return error;
309 int error = 0;
316 error = -ENOMEM;
324 error = xfs_trim_gather_extents(pag, start, end, minlen,
326 if (error) {
341 error = xfs_discard_extents(pag->pag_mount, extents);
342 if (error)
350 return error;
375 int error, last_error = 0;
414 error = xfs_trim_extents(pag, start, end, minlen,
416 if (error)
417 last_error = error;