Lines Matching refs:error
79 int error;
81 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp);
82 if (error)
83 return error;
91 int error)
104 /* we abort the update if there was an IO error */
105 if (error) {
107 return error;
125 int error;
138 error = -EIO;
144 * I/O error. The delalloc punch is required because this ioend was
149 error = blk_status_to_errno(ioend->io_bio->bi_status);
150 if (unlikely(error)) {
164 error = xfs_reflink_end_cow(ip, offset, size);
166 error = xfs_iomap_write_unwritten(ip, offset, size, false);
168 if (!error && xfs_ioend_is_append(ioend))
169 error = xfs_setfilesize(ip, ioend->io_offset, ioend->io_size);
171 iomap_finish_ioends(ioend, error);
292 int error;
307 error = xfs_bmapi_convert_delalloc(ip, whichfork, offset,
309 if (error)
310 return error;
332 int error = 0;
429 error = xfs_convert_blocks(wpc, ip, whichfork, offset);
430 if (error) {
438 if (error == -EAGAIN && whichfork == XFS_COW_FORK && !retries++)
440 ASSERT(error != -EAGAIN);
441 return error;
511 int error;
520 error = xfs_bmap_punch_delalloc_range(ip, start_fsb,
522 if (error && !XFS_FORCED_SHUTDOWN(mp))
593 * 0 is the magic code for a bmap error.