Home
last modified time | relevance | path

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

/fs/btrfs/
Dzstd.c424 size_t ret2; in zstd_compress_pages() local
426 ret2 = ZSTD_compressStream(stream, &workspace->out_buf, in zstd_compress_pages()
428 if (ZSTD_isError(ret2)) { in zstd_compress_pages()
430 ZSTD_getErrorCode(ret2)); in zstd_compress_pages()
493 size_t ret2; in zstd_compress_pages() local
495 ret2 = ZSTD_endStream(stream, &workspace->out_buf); in zstd_compress_pages()
496 if (ZSTD_isError(ret2)) { in zstd_compress_pages()
498 ZSTD_getErrorCode(ret2)); in zstd_compress_pages()
502 if (ret2 == 0) { in zstd_compress_pages()
582 size_t ret2; in zstd_decompress_bio() local
[all …]
Ddir-item.c113 int ret2 = 0; in btrfs_insert_dir_item() local
163 ret2 = btrfs_insert_delayed_dir_index(trans, name, name_len, dir, in btrfs_insert_dir_item()
169 if (ret2) in btrfs_insert_dir_item()
170 return ret2; in btrfs_insert_dir_item()
Dlzo.c309 int ret = 0, ret2; in lzo_decompress_bio() local
435 ret2 = btrfs_decompress_buf2page(workspace->buf, buf_start, in lzo_decompress_bio()
437 if (ret2 == 0) in lzo_decompress_bio()
Dzlib.c234 int ret = 0, ret2; in zlib_decompress_bio() local
283 ret2 = btrfs_decompress_buf2page(workspace->buf, buf_start, in zlib_decompress_bio()
286 if (ret2 == 0) { in zlib_decompress_bio()
Dinode.c8980 int ret2; in btrfs_page_mkwrite() local
9002 ret2 = btrfs_delalloc_reserve_space(inode, &data_reserved, page_start, in btrfs_page_mkwrite()
9004 if (!ret2) { in btrfs_page_mkwrite()
9005 ret2 = file_update_time(vmf->vma->vm_file); in btrfs_page_mkwrite()
9008 if (ret2) { in btrfs_page_mkwrite()
9009 ret = vmf_error(ret2); in btrfs_page_mkwrite()
9067 ret2 = btrfs_set_extent_delalloc(inode, page_start, end, 0, in btrfs_page_mkwrite()
9069 if (ret2) { in btrfs_page_mkwrite()
9075 ret2 = 0; in btrfs_page_mkwrite()
9099 if (!ret2) { in btrfs_page_mkwrite()
[all …]
Dfile.c2872 int ret2; in btrfs_punch_hole() local
2875 ret2 = btrfs_end_transaction(trans); in btrfs_punch_hole()
2877 ret = ret2; in btrfs_punch_hole()
2931 int ret2; in btrfs_fallocate_update_isize() local
2944 ret2 = btrfs_end_transaction(trans); in btrfs_fallocate_update_isize()
2946 return ret ? ret : ret2; in btrfs_fallocate_update_isize()
Dtransaction.c1041 int ret2; in btrfs_write_and_wait_transaction() local
1049 ret2 = btrfs_wait_extents(fs_info, dirty_pages); in btrfs_write_and_wait_transaction()
1055 else if (ret2) in btrfs_write_and_wait_transaction()
1056 return ret2; in btrfs_write_and_wait_transaction()
Drelocation.c2225 int ret2; in clean_dirty_subvols() local
2237 ret2 = btrfs_drop_snapshot(reloc_root, NULL, 0, 1); in clean_dirty_subvols()
2238 if (ret2 < 0 && !ret) in clean_dirty_subvols()
2239 ret = ret2; in clean_dirty_subvols()
2250 ret2 = btrfs_drop_snapshot(root, NULL, 0, 1); in clean_dirty_subvols()
2251 if (ret2 < 0 && !ret) in clean_dirty_subvols()
2252 ret = ret2; in clean_dirty_subvols()
Dqgroup.c1317 int ret2; in __del_qgroup_relation() local
1350 ret2 = del_qgroup_relation_item(trans, dst, src); in __del_qgroup_relation()
1351 if (ret2 < 0 && ret2 != -ENOENT) in __del_qgroup_relation()
1355 if (!ret || !ret2) in __del_qgroup_relation()
Dfree-space-cache.c3286 int ret2; in trim_bitmaps() local
3312 ret2 = search_bitmap(ctl, entry, &start, &bytes, false); in trim_bitmaps()
3313 if (ret2 || start >= end) { in trim_bitmaps()
/fs/ext4/
Dialloc.c752 int ret2, err; in __ext4_new_inode() local
861 ret2 = 0; in __ext4_new_inode()
866 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in __ext4_new_inode()
868 ret2 = find_group_other(sb, dir, &group, mode); in __ext4_new_inode()
873 if (ret2 == -1) in __ext4_new_inode()
909 ret2 = find_inode_bit(sb, group, inode_bitmap_bh, &ino); in __ext4_new_inode()
910 if (!ret2) in __ext4_new_inode()
939 ret2 = ext4_test_and_set_bit(ino, inode_bitmap_bh->b_data); in __ext4_new_inode()
940 if (ret2) { in __ext4_new_inode()
944 ret2 = find_inode_bit(sb, group, inode_bitmap_bh, &ino); in __ext4_new_inode()
[all …]
Dinode.c1429 int ret = 0, ret2; in ext4_write_end() local
1478 ret2 = ext4_journal_stop(handle); in ext4_write_end()
1480 ret = ret2; in ext4_write_end()
1538 int ret = 0, ret2; in ext4_journalled_write_end() local
1585 ret2 = ext4_mark_inode_dirty(handle, inode); in ext4_journalled_write_end()
1587 ret = ret2; in ext4_journalled_write_end()
1598 ret2 = ext4_journal_stop(handle); in ext4_journalled_write_end()
1600 ret = ret2; in ext4_journalled_write_end()
3183 int ret = 0, ret2; in ext4_da_write_end() local
3219 ret2 = ext4_da_write_inline_data_end(inode, pos, len, copied, in ext4_da_write_end()
[all …]
Dextents.c4609 int ret2 = 0; in ext4_alloc_file_blocks() local
4656 ret2 = ext4_journal_stop(handle); in ext4_alloc_file_blocks()
4675 ret2 = ext4_journal_stop(handle); in ext4_alloc_file_blocks()
4676 if (ret2) in ext4_alloc_file_blocks()
4685 return ret > 0 ? ret2 : ret; in ext4_alloc_file_blocks()
4963 int ret2 = 0; in ext4_convert_unwritten_extents() local
5008 ret2 = ext4_journal_stop(handle); in ext4_convert_unwritten_extents()
5009 if (ret <= 0 || ret2) in ext4_convert_unwritten_extents()
5013 ret2 = ext4_journal_stop(handle); in ext4_convert_unwritten_extents()
5014 return ret > 0 ? ret2 : ret; in ext4_convert_unwritten_extents()
Dxattr.c762 int ret, ret2; in ext4_listxattr() local
765 ret = ret2 = ext4_xattr_ibody_list(dentry, buffer, buffer_size); in ext4_listxattr()
775 ret += ret2; in ext4_listxattr()
/fs/ocfs2/
Dacl.c355 int ret = 0, ret2; in ocfs2_init_acl() local
389 ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl()
390 if (ret2) { in ocfs2_init_acl()
391 mlog_errno(ret2); in ocfs2_init_acl()
392 ret = ret2; in ocfs2_init_acl()
Dalloc.c6536 int ret = 0, ret2; in ocfs2_run_deallocs() local
6548 ret2 = ocfs2_free_cached_blocks(osb, in ocfs2_run_deallocs()
6552 if (ret2) in ocfs2_run_deallocs()
6553 mlog_errno(ret2); in ocfs2_run_deallocs()
6555 ret = ret2; in ocfs2_run_deallocs()
6563 ret2 = ocfs2_free_cached_clusters(osb, in ocfs2_run_deallocs()
6565 if (ret2) in ocfs2_run_deallocs()
6566 mlog_errno(ret2); in ocfs2_run_deallocs()
6568 ret = ret2; in ocfs2_run_deallocs()
/fs/
Ddirect-io.c596 int ret2; in dio_bio_reap() local
602 ret2 = blk_status_to_errno(dio_bio_complete(dio, bio)); in dio_bio_reap()
604 ret = ret2; in dio_bio_reap()
1123 int ret2; in drop_refcount() local
1138 ret2 = --dio->refcount; in drop_refcount()
1140 return ret2; in drop_refcount()
1349 ssize_t ret2; in do_blockdev_direct_IO() local
1351 ret2 = dio_send_cur_page(dio, &sdio, &map_bh); in do_blockdev_direct_IO()
1353 retval = ret2; in do_blockdev_direct_IO()
Dio_uring.c1422 ssize_t ret2; in io_read() local
1425 ret2 = call_read_iter(file, kiocb, &iter); in io_read()
1427 ret2 = loop_rw_iter(READ, file, kiocb, &iter); in io_read()
1439 ret2 > 0 && ret2 < read_size) in io_read()
1440 ret2 = -EAGAIN; in io_read()
1442 if (!force_nonblock || ret2 != -EAGAIN) { in io_read()
1443 io_rw_done(kiocb, ret2); in io_read()
1495 ssize_t ret2; in io_write() local
1513 ret2 = call_write_iter(file, kiocb, &iter); in io_write()
1515 ret2 = loop_rw_iter(WRITE, file, kiocb, &iter); in io_write()
[all …]
/fs/cachefiles/
Drdwr.c694 int ret, ret2, space; in cachefiles_read_or_alloc_pages() local
772 ret2 = cachefiles_read_backing_file(object, op, &backpages); in cachefiles_read_or_alloc_pages()
773 if (ret2 == -ENOMEM || ret2 == -EINTR) in cachefiles_read_or_alloc_pages()
774 ret = ret2; in cachefiles_read_or_alloc_pages()
/fs/afs/
Dwrite.c363 int ret = -ENOKEY, ret2; in afs_store_data() local
384 ret2 = key_validate(wbk->key); in afs_store_data()
385 if (ret2 == 0) in afs_store_data()
388 ret = ret2; in afs_store_data()
/fs/quota/
Ddquot.c428 int ret = 0, ret2 = 0; in dquot_acquire() local
445 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire()
450 if (ret2 < 0) { in dquot_acquire()
451 ret = ret2; in dquot_acquire()
495 int ret = 0, ret2 = 0; in dquot_release() local
506 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_release()
510 ret = ret2; in dquot_release()
/fs/ceph/
Dfile.c955 int ret2 = invalidate_inode_pages2_range(inode->i_mapping, in ceph_direct_read_write() local
958 if (ret2 < 0) in ceph_direct_read_write()
959 dout("invalidate_inode_pages2_range returned %d\n", ret2); in ceph_direct_read_write()
/fs/f2fs/
Dnode.c1936 int ret2, ret = 0; in f2fs_wait_on_node_pages_writeback() local
1964 ret2 = filemap_check_errors(NODE_MAPPING(sbi)); in f2fs_wait_on_node_pages_writeback()
1966 ret = ret2; in f2fs_wait_on_node_pages_writeback()