Home
last modified time | relevance | path

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

12

/fs/btrfs/
Dzstd.c419 size_t ret2; in zstd_compress_pages() local
421 ret2 = ZSTD_compressStream(stream, &workspace->out_buf, in zstd_compress_pages()
423 if (ZSTD_isError(ret2)) { in zstd_compress_pages()
425 ZSTD_getErrorCode(ret2)); in zstd_compress_pages()
488 size_t ret2; in zstd_compress_pages() local
490 ret2 = ZSTD_endStream(stream, &workspace->out_buf); in zstd_compress_pages()
491 if (ZSTD_isError(ret2)) { in zstd_compress_pages()
493 ZSTD_getErrorCode(ret2)); in zstd_compress_pages()
497 if (ret2 == 0) { in zstd_compress_pages()
575 size_t ret2; in zstd_decompress_bio() local
[all …]
Ddir-item.c113 int ret2 = 0; in btrfs_insert_dir_item() local
162 ret2 = btrfs_insert_delayed_dir_index(trans, name, name_len, dir, in btrfs_insert_dir_item()
168 if (ret2) in btrfs_insert_dir_item()
169 return ret2; in btrfs_insert_dir_item()
Dtransaction.c1205 int ret2; in btrfs_write_and_wait_transaction() local
1213 ret2 = btrfs_wait_extents(fs_info, dirty_pages); in btrfs_write_and_wait_transaction()
1219 else if (ret2) in btrfs_write_and_wait_transaction()
1220 return ret2; in btrfs_write_and_wait_transaction()
1422 int ret2; in commit_fs_roots() local
1430 ret2 = btrfs_update_reloc_root(trans, root); in commit_fs_roots()
1431 if (ret2) in commit_fs_roots()
1432 return ret2; in commit_fs_roots()
1445 ret2 = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1448 if (ret2) in commit_fs_roots()
[all …]
Dzlib.c280 int ret = 0, ret2; in zlib_decompress_bio() local
327 ret2 = btrfs_decompress_buf2page(workspace->buf, in zlib_decompress_bio()
329 if (ret2 == 0) { in zlib_decompress_bio()
Dinode.c8905 int ret2; in btrfs_page_mkwrite() local
8927 ret2 = btrfs_delalloc_reserve_space(BTRFS_I(inode), &data_reserved, in btrfs_page_mkwrite()
8929 if (!ret2) { in btrfs_page_mkwrite()
8930 ret2 = file_update_time(vmf->vma->vm_file); in btrfs_page_mkwrite()
8933 if (ret2) { in btrfs_page_mkwrite()
8934 ret = vmf_error(ret2); in btrfs_page_mkwrite()
8954 ret2 = set_page_extent_mapped(page); in btrfs_page_mkwrite()
8955 if (ret2 < 0) { in btrfs_page_mkwrite()
8956 ret = vmf_error(ret2); in btrfs_page_mkwrite()
8999 ret2 = btrfs_set_extent_delalloc(BTRFS_I(inode), page_start, end, 0, in btrfs_page_mkwrite()
[all …]
Dctree.c2002 int ret2; in btrfs_search_slot() local
2004 ret2 = finish_need_commit_sem_search(p); in btrfs_search_slot()
2006 if (ret2) in btrfs_search_slot()
2007 ret = ret2; in btrfs_search_slot()
4668 int ret2; in btrfs_next_old_leaf() local
4671 ret2 = finish_need_commit_sem_search(path); in btrfs_next_old_leaf()
4673 if (ret2) in btrfs_next_old_leaf()
4674 ret = ret2; in btrfs_next_old_leaf()
Dfile.c3139 int ret2; in btrfs_punch_hole() local
3142 ret2 = btrfs_end_transaction(trans); in btrfs_punch_hole()
3144 ret = ret2; in btrfs_punch_hole()
3196 int ret2; in btrfs_fallocate_update_isize() local
3209 ret2 = btrfs_end_transaction(trans); in btrfs_fallocate_update_isize()
3211 return ret ? ret : ret2; in btrfs_fallocate_update_isize()
Drelocation.c1635 int ret2; in clean_dirty_subvols() local
1657 ret2 = btrfs_drop_snapshot(reloc_root, 0, 1); in clean_dirty_subvols()
1658 if (ret2 < 0) { in clean_dirty_subvols()
1661 ret = ret2; in clean_dirty_subvols()
1667 ret2 = btrfs_drop_snapshot(root, 0, 1); in clean_dirty_subvols()
1668 if (ret2 < 0) { in clean_dirty_subvols()
1671 ret = ret2; in clean_dirty_subvols()
/fs/ext4/
Dialloc.c941 int ret2, err; in __ext4_new_inode() local
998 ret2 = ext4_xattr_credits_for_new_inode(dir, mode, encrypt); in __ext4_new_inode()
999 if (ret2 < 0) { in __ext4_new_inode()
1000 err = ret2; in __ext4_new_inode()
1003 nblocks += ret2; in __ext4_new_inode()
1012 ret2 = 0; in __ext4_new_inode()
1017 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in __ext4_new_inode()
1019 ret2 = find_group_other(sb, dir, &group, mode); in __ext4_new_inode()
1024 if (ret2 == -1) in __ext4_new_inode()
1066 ret2 = find_inode_bit(sb, group, inode_bitmap_bh, &ino); in __ext4_new_inode()
[all …]
Dmigrate.c608 int ret, ret2 = 0; in ext4_ind_migrate() local
662 ret2 = ext4_mark_inode_dirty(handle, inode); in ext4_ind_migrate()
663 if (unlikely(ret2 && !ret)) in ext4_ind_migrate()
664 ret = ret2; in ext4_ind_migrate()
Dinline.c767 int ret = 0, ret2; in ext4_write_inline_data_end() local
826 ret2 = ext4_journal_stop(handle); in ext4_write_inline_data_end()
828 ret = ret2; in ext4_write_inline_data_end()
1313 int ret, ret2, inline_size, no_expand; in ext4_try_add_inline_entry() local
1367 ret2 = ext4_mark_inode_dirty(handle, dir); in ext4_try_add_inline_entry()
1368 if (unlikely(ret2 && !ret)) in ext4_try_add_inline_entry()
1369 ret = ret2; in ext4_try_add_inline_entry()
Dxattr.c774 int ret, ret2; in ext4_listxattr() local
777 ret = ret2 = ext4_xattr_ibody_list(dentry, buffer, buffer_size); in ext4_listxattr()
787 ret += ret2; in ext4_listxattr()
1342 int ret = 0, ret2 = 0; in ext4_xattr_inode_write() local
1400 ret2 = ext4_mark_inode_dirty(handle, ea_inode); in ext4_xattr_inode_write()
1401 if (unlikely(ret2 && !ret)) in ext4_xattr_inode_write()
1402 ret = ret2; in ext4_xattr_inode_write()
Dinode.c1302 int ret = 0, ret2; in ext4_write_end() local
1344 ret2 = ext4_journal_stop(handle); in ext4_write_end()
1346 ret = ret2; in ext4_write_end()
1405 int ret = 0, ret2; in ext4_journalled_write_end() local
1445 ret2 = ext4_mark_inode_dirty(handle, inode); in ext4_journalled_write_end()
1447 ret = ret2; in ext4_journalled_write_end()
1457 ret2 = ext4_journal_stop(handle); in ext4_journalled_write_end()
1459 ret = ret2; in ext4_journalled_write_end()
4005 int ret = 0, ret2 = 0; in ext4_punch_hole() local
4132 ret2 = ext4_mark_inode_dirty(handle, inode); in ext4_punch_hole()
[all …]
Dextents.c4434 int ret = 0, ret2 = 0, ret3 = 0; in ext4_alloc_file_blocks() local
4498 ret2 = ext4_mark_inode_dirty(handle, inode); in ext4_alloc_file_blocks()
4501 ret2 = ret3 ? ret3 : ret2; in ext4_alloc_file_blocks()
4502 if (unlikely(ret2)) in ext4_alloc_file_blocks()
4508 return ret > 0 ? ret2 : ret; in ext4_alloc_file_blocks()
4790 int ret = 0, ret2 = 0, ret3 = 0; in ext4_convert_unwritten_extents() local
4823 ret2 = ext4_mark_inode_dirty(handle, inode); in ext4_convert_unwritten_extents()
4827 ret2 = ret3; in ext4_convert_unwritten_extents()
4830 if (ret <= 0 || ret2) in ext4_convert_unwritten_extents()
4833 return ret > 0 ? ret2 : ret; in ext4_convert_unwritten_extents()
/fs/cachefiles/
Drdwr.c401 int ret, ret2; in cachefiles_read_or_alloc_page() local
432 ret2 = bmap(inode, &block); in cachefiles_read_or_alloc_page()
433 ASSERT(ret2 == 0); in cachefiles_read_or_alloc_page()
694 int ret, ret2, space; in cachefiles_read_or_alloc_pages() local
740 ret2 = bmap(inode, &block); in cachefiles_read_or_alloc_pages()
741 ASSERT(ret2 == 0); in cachefiles_read_or_alloc_pages()
771 ret2 = cachefiles_read_backing_file(object, op, &backpages); in cachefiles_read_or_alloc_pages()
772 if (ret2 == -ENOMEM || ret2 == -EINTR) in cachefiles_read_or_alloc_pages()
773 ret = ret2; in cachefiles_read_or_alloc_pages()
Dio.c40 static void cachefiles_read_complete(struct kiocb *iocb, long ret, long ret2) in cachefiles_read_complete() argument
44 _enter("%ld,%ld", ret, ret2); in cachefiles_read_complete()
162 static void cachefiles_write_complete(struct kiocb *iocb, long ret, long ret2) in cachefiles_write_complete() argument
167 _enter("%ld,%ld", ret, ret2); in cachefiles_write_complete()
/fs/ocfs2/
Dacl.c360 int ret = 0, ret2; in ocfs2_init_acl() local
394 ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl()
395 if (ret2) { in ocfs2_init_acl()
396 mlog_errno(ret2); in ocfs2_init_acl()
397 ret = ret2; in ocfs2_init_acl()
Dalloc.c6533 int ret = 0, ret2; in ocfs2_run_deallocs() local
6545 ret2 = ocfs2_free_cached_blocks(osb, in ocfs2_run_deallocs()
6549 if (ret2) in ocfs2_run_deallocs()
6550 mlog_errno(ret2); in ocfs2_run_deallocs()
6552 ret = ret2; in ocfs2_run_deallocs()
6560 ret2 = ocfs2_free_cached_clusters(osb, in ocfs2_run_deallocs()
6562 if (ret2) in ocfs2_run_deallocs()
6563 mlog_errno(ret2); in ocfs2_run_deallocs()
6565 ret = ret2; in ocfs2_run_deallocs()
/fs/
Ddirect-io.c555 int ret2; in dio_bio_reap() local
561 ret2 = blk_status_to_errno(dio_bio_complete(dio, bio)); in dio_bio_reap()
563 ret = ret2; in dio_bio_reap()
1083 int ret2; in drop_refcount() local
1098 ret2 = --dio->refcount; in drop_refcount()
1100 return ret2; in drop_refcount()
1294 ssize_t ret2; in do_blockdev_direct_IO() local
1296 ret2 = dio_send_cur_page(dio, &sdio, &map_bh); in do_blockdev_direct_IO()
1298 retval = ret2; in do_blockdev_direct_IO()
Dsync.c153 int ret, ret2; in SYSCALL_DEFINE1() local
163 ret2 = errseq_check_and_advance(&sb->s_wb_err, &f.file->f_sb_err); in SYSCALL_DEFINE1()
166 return ret ? ret : ret2; in SYSCALL_DEFINE1()
/fs/nfs/
Dfile.c211 int ret, ret2; in nfs_file_fsync_commit() local
217 ret2 = file_check_and_advance_wb_err(file); in nfs_file_fsync_commit()
218 if (ret2 < 0) in nfs_file_fsync_commit()
219 return ret2; in nfs_file_fsync_commit()
/fs/afs/
Dwrite.c302 int ret = -ENOKEY, ret2; in afs_get_writeback_key() local
313 ret2 = key_validate(wbk->key); in afs_get_writeback_key()
314 if (ret2 == 0) { in afs_get_writeback_key()
322 ret = ret2; in afs_get_writeback_key()
/fs/gfs2/
Dfile.c1143 ssize_t buffered, ret2; in gfs2_file_write_iter() local
1164 ret2 = generic_write_sync(iocb, buffered); in gfs2_file_write_iter()
1168 if (!ret || ret2 > 0) in gfs2_file_write_iter()
1169 ret += ret2; in gfs2_file_write_iter()
/fs/quota/
Ddquot.c454 int ret = 0, ret2 = 0; in dquot_acquire() local
473 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire()
478 if (ret2 < 0) { in dquot_acquire()
479 ret = ret2; in dquot_acquire()
527 int ret = 0, ret2 = 0; in dquot_release() local
540 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_release()
544 ret = ret2; in dquot_release()
/fs/f2fs/
Dfile.c4570 ssize_t ret2; in f2fs_dio_write_iter() local
4578 ret2 = f2fs_buffered_write_iter(iocb, from); in f2fs_dio_write_iter()
4581 if (ret2 < 0) in f2fs_dio_write_iter()
4588 if (ret2 > 0) { in f2fs_dio_write_iter()
4589 loff_t bufio_end_pos = bufio_start_pos + ret2 - 1; in f2fs_dio_write_iter()
4591 ret += ret2; in f2fs_dio_write_iter()
4593 ret2 = filemap_write_and_wait_range(file->f_mapping, in f2fs_dio_write_iter()
4596 if (ret2 < 0) in f2fs_dio_write_iter()

12