Home
last modified time | relevance | path

Searched refs:ret2 (Results 1 – 20 of 20) sorted by relevance

/fs/xfs/
Dxfs_fs_subr.c70 int ret2; in xfs_flush_pages() local
77 ret2 = xfs_wait_on_pages(ip, first, last); in xfs_flush_pages()
79 ret = ret2; in xfs_flush_pages()
/fs/ext4/
Dfsync.c84 int ret2 = 0; in ext4_flush_completed_IO() local
110 ret2 = ret; in ext4_flush_completed_IO()
115 return (ret2 < 0) ? ret2 : 0; in ext4_flush_completed_IO()
Dinode.c959 int ret = 0, ret2; in ext4_ordered_write_end() local
965 ret2 = ext4_generic_write_end(file, mapping, pos, len, copied, in ext4_ordered_write_end()
967 copied = ret2; in ext4_ordered_write_end()
974 if (ret2 < 0) in ext4_ordered_write_end()
975 ret = ret2; in ext4_ordered_write_end()
981 ret2 = ext4_journal_stop(handle); in ext4_ordered_write_end()
983 ret = ret2; in ext4_ordered_write_end()
1007 int ret = 0, ret2; in ext4_writeback_write_end() local
1010 ret2 = ext4_generic_write_end(file, mapping, pos, len, copied, in ext4_writeback_write_end()
1012 copied = ret2; in ext4_writeback_write_end()
[all …]
Dialloc.c630 int ret2, err = 0; in ext4_new_inode() local
654 ret2 = 0; in ext4_new_inode()
659 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in ext4_new_inode()
661 ret2 = find_group_other(sb, dir, &group, mode); in ext4_new_inode()
666 if (ret2 == -1) in ext4_new_inode()
702 ret2 = ext4_test_and_set_bit(ino, inode_bitmap_bh->b_data); in ext4_new_inode()
705 if (!ret2) in ext4_new_inode()
Dextents.c4342 int ret2 = 0; in ext4_fallocate() local
4410 ret2 = ext4_journal_stop(handle); in ext4_fallocate()
4422 ret2 = ext4_journal_stop(handle); in ext4_fallocate()
4423 if (ret2) in ext4_fallocate()
4433 ret > 0 ? ret2 : ret); in ext4_fallocate()
4434 return ret > 0 ? ret2 : ret; in ext4_fallocate()
4453 int ret2 = 0; in ext4_convert_unwritten_extents() local
4487 ret2 = ext4_journal_stop(handle); in ext4_convert_unwritten_extents()
4488 if (ret <= 0 || ret2 ) in ext4_convert_unwritten_extents()
4491 return ret > 0 ? ret2 : ret; in ext4_convert_unwritten_extents()
Dxattr.c429 int ret, ret2; in ext4_xattr_list() local
432 ret = ret2 = ext4_xattr_ibody_list(dentry, buffer, buffer_size); in ext4_xattr_list()
442 ret += ret2; in ext4_xattr_list()
/fs/ocfs2/
Dacl.c353 int ret = 0, ret2; in ocfs2_init_acl() local
385 ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl()
386 if (ret2) { in ocfs2_init_acl()
387 mlog_errno(ret2); in ocfs2_init_acl()
388 ret = ret2; in ocfs2_init_acl()
Dalloc.c6443 int ret = 0, ret2; in ocfs2_run_deallocs() local
6455 ret2 = ocfs2_free_cached_blocks(osb, in ocfs2_run_deallocs()
6459 if (ret2) in ocfs2_run_deallocs()
6460 mlog_errno(ret2); in ocfs2_run_deallocs()
6462 ret = ret2; in ocfs2_run_deallocs()
6470 ret2 = ocfs2_free_cached_clusters(osb, in ocfs2_run_deallocs()
6472 if (ret2) in ocfs2_run_deallocs()
6473 mlog_errno(ret2); in ocfs2_run_deallocs()
6475 ret = ret2; in ocfs2_run_deallocs()
/fs/
Ddirect-io.c541 int ret2; in dio_bio_reap() local
547 ret2 = dio_bio_complete(dio, bio); in dio_bio_reap()
549 ret = ret2; in dio_bio_reap()
1046 int ret2; in drop_refcount() local
1061 ret2 = --dio->refcount; in drop_refcount()
1063 return ret2; in drop_refcount()
1271 ssize_t ret2; in do_blockdev_direct_IO() local
1273 ret2 = dio_send_cur_page(dio, &sdio, &map_bh); in do_blockdev_direct_IO()
1275 retval = ret2; in do_blockdev_direct_IO()
/fs/btrfs/
Ddir-item.c126 int ret2 = 0; in btrfs_insert_dir_item() local
175 ret2 = btrfs_insert_delayed_dir_index(trans, root, name, name_len, dir, in btrfs_insert_dir_item()
181 if (ret2) in btrfs_insert_dir_item()
182 return ret2; in btrfs_insert_dir_item()
Dlzo.c263 int ret = 0, ret2; in lzo_decompress_biovec() local
366 ret2 = btrfs_decompress_buf2page(workspace->buf, buf_start, in lzo_decompress_biovec()
370 if (ret2 == 0) in lzo_decompress_biovec()
Dzlib.c222 int ret = 0, ret2; in zlib_decompress_biovec() local
270 ret2 = btrfs_decompress_buf2page(workspace->buf, buf_start, in zlib_decompress_biovec()
274 if (ret2 == 0) { in zlib_decompress_biovec()
Dtransaction.c658 int ret2; in btrfs_write_and_wait_marked_extents() local
661 ret2 = btrfs_wait_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents()
665 if (ret2) in btrfs_write_and_wait_marked_extents()
666 return ret2; in btrfs_write_and_wait_marked_extents()
Dfree-space-cache.c2712 int ret2; in trim_bitmaps() local
2734 ret2 = search_bitmap(ctl, entry, &start, &bytes); in trim_bitmaps()
2735 if (ret2 || start >= end) { in trim_bitmaps()
Dextent-tree.c2677 int ret2; in btrfs_cross_ref_exist() local
2689 ret2 = check_delayed_ref(trans, root, path, objectid, in btrfs_cross_ref_exist()
2691 } while (ret2 == -EAGAIN); in btrfs_cross_ref_exist()
2693 if (ret2 && ret2 != -ENOENT) { in btrfs_cross_ref_exist()
2694 ret = ret2; in btrfs_cross_ref_exist()
2698 if (ret != -ENOENT || ret2 != -ENOENT) in btrfs_cross_ref_exist()
/fs/cachefiles/
Drdwr.c700 int ret, ret2, space; in cachefiles_read_or_alloc_pages() local
778 ret2 = cachefiles_read_backing_file(object, op, &backpages, in cachefiles_read_or_alloc_pages()
780 if (ret2 == -ENOMEM || ret2 == -EINTR) in cachefiles_read_or_alloc_pages()
781 ret = ret2; in cachefiles_read_or_alloc_pages()
/fs/nfs/
Dread.c254 int ret2; in nfs_do_multiple_reads() local
259 ret2 = nfs_do_read(data, call_ops); in nfs_do_multiple_reads()
261 ret = ret2; in nfs_do_multiple_reads()
Dwrite.c952 int ret2; in nfs_do_multiple_writes() local
957 ret2 = nfs_do_write(data, call_ops, how); in nfs_do_multiple_writes()
959 ret = ret2; in nfs_do_multiple_writes()
/fs/ext3/
Dinode.c1376 int ret = 0, ret2; in ext3_ordered_write_end() local
1394 ret2 = ext3_journal_stop(handle); in ext3_ordered_write_end()
1396 ret = ret2; in ext3_ordered_write_end()
1440 int ret = 0, ret2; in ext3_journalled_write_end() local
1472 ret2 = ext3_mark_inode_dirty(handle, inode); in ext3_journalled_write_end()
1474 ret = ret2; in ext3_journalled_write_end()
1477 ret2 = ext3_journal_stop(handle); in ext3_journalled_write_end()
1479 ret = ret2; in ext3_journalled_write_end()
/fs/quota/
Ddquot.c407 int ret = 0, ret2 = 0; in dquot_acquire() local
422 ret2 = dqopt->ops[dquot->dq_type]->write_file_info( in dquot_acquire()
427 if (ret2 < 0) { in dquot_acquire()
428 ret = ret2; in dquot_acquire()
472 int ret = 0, ret2 = 0; in dquot_release() local
484 ret2 = dqopt->ops[dquot->dq_type]->write_file_info( in dquot_release()
488 ret = ret2; in dquot_release()