Home
last modified time | relevance | path

Searched refs:err2 (Results 1 – 25 of 29) sorted by relevance

12

/fs/xfs/
Dxfs_fsops.c529 int err2; in xfs_fs_reserve_ag_blocks() local
534 err2 = xfs_ag_resv_init(pag, NULL); in xfs_fs_reserve_ag_blocks()
536 if (err2 && !error) in xfs_fs_reserve_ag_blocks()
537 error = err2; in xfs_fs_reserve_ag_blocks()
559 int err2; in xfs_fs_unreserve_ag_blocks() local
563 err2 = xfs_ag_resv_free(pag); in xfs_fs_unreserve_ag_blocks()
565 if (err2 && !error) in xfs_fs_unreserve_ag_blocks()
566 error = err2; in xfs_fs_unreserve_ag_blocks()
/fs/ntfs/
Daops.c915 int i, nr_locked_nis, nr_recs, nr_bhs, max_bhs, bhs_per_rec, err, err2; in ntfs_write_mst_block() local
962 err = err2 = nr_bhs = nr_recs = nr_locked_nis = 0; in ntfs_write_mst_block()
981 if (unlikely(err2)) { in ntfs_write_mst_block()
982 if (err2 != -ENOMEM) in ntfs_write_mst_block()
990 err2 = 0; in ntfs_write_mst_block()
1047 err2 = ntfs_map_runlist(ni, vcn); in ntfs_write_mst_block()
1048 if (likely(!err2)) in ntfs_write_mst_block()
1050 if (err2 == -ENOMEM) in ntfs_write_mst_block()
1052 lcn = err2; in ntfs_write_mst_block()
1054 err2 = -EIO; in ntfs_write_mst_block()
[all …]
Dlcnalloc.c747 int err2; in ntfs_cluster_alloc() local
758 err2 = ntfs_cluster_free_from_rl_nolock(vol, rl); in ntfs_cluster_alloc()
759 if (err2) { in ntfs_cluster_alloc()
762 "Unmount and run chkdsk.", err2); in ntfs_cluster_alloc()
Dattrib.c1534 int mp_size, mp_ofs, name_ofs, arec_size, err, err2; in ntfs_attr_make_non_resident() local
1754 err2 = ntfs_attr_record_resize(m, a, arec_size); in ntfs_attr_make_non_resident()
1755 if (unlikely(err2)) { in ntfs_attr_make_non_resident()
1766 err2 = attr_size; in ntfs_attr_make_non_resident()
1777 err2, attr_size, err2 - attr_size, in ntfs_attr_make_non_resident()
/fs/ext4/
Dioctl.c703 int err, err2=0; in ext4_ioctl_group_add() local
723 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
727 err = err2; in ext4_ioctl_group_add()
917 int err, err2=0; in ext4_ioctl() local
942 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); in ext4_ioctl()
946 err = err2; in ext4_ioctl()
1065 int err = 0, err2 = 0; in ext4_ioctl() local
1084 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); in ext4_ioctl()
1088 err = err2; in ext4_ioctl()
1145 int err, err2; in ext4_ioctl() local
[all …]
Dverity.c202 int err2; in ext4_end_enable_verity() local
233 err2 = ext4_orphan_del(handle, inode); in ext4_end_enable_verity()
234 if (err2) in ext4_end_enable_verity()
249 return err ?: err2; in ext4_end_enable_verity()
Dresize.c508 int reserved_gdb, i, j, err = 0, err2; in setup_new_flex_group_blocks() local
689 err2 = ext4_journal_stop(handle); in setup_new_flex_group_blocks()
690 if (err2 && !err) in setup_new_flex_group_blocks()
691 err = err2; in setup_new_flex_group_blocks()
1037 int err2; in reserve_backup_gdb() local
1043 err2 = ext4_handle_dirty_metadata(handle, NULL, primary[i]); in reserve_backup_gdb()
1045 err = err2; in reserve_backup_gdb()
1090 int err = 0, err2; in update_backups() local
1155 if ((err2 = ext4_journal_stop(handle)) && !err) in update_backups()
1156 err = err2; in update_backups()
[all …]
Dmove_extent.c258 int i, err2, jblocks, retries = 0; in move_extent_per_page() local
422 block_len_in_page, 0, &err2); in move_extent_per_page()
Dinode.c1252 int err2; in ext4_block_write_begin() local
1254 err2 = fscrypt_decrypt_pagecache_blocks(page, blocksize, in ext4_block_write_begin()
1256 if (err2) { in ext4_block_write_begin()
1258 err = err2; in ext4_block_write_begin()
2590 int err2; in mpage_map_and_submit_extent() local
2600 err2 = ext4_mark_inode_dirty(handle, inode); in mpage_map_and_submit_extent()
2601 if (err2) in mpage_map_and_submit_extent()
2606 err = err2; in mpage_map_and_submit_extent()
/fs/xfs/libxfs/
Dxfs_ag_resv.c166 int err2; in xfs_ag_resv_free() local
169 err2 = __xfs_ag_resv_free(pag, XFS_AG_RESV_METADATA); in xfs_ag_resv_free()
170 if (err2 && !error) in xfs_ag_resv_free()
171 error = err2; in xfs_ag_resv_free()
/fs/fat/
Dfile.c240 int err2; in fat_cont_expand() local
248 err2 = sync_mapping_buffers(mapping); in fat_cont_expand()
250 err = err2; in fat_cont_expand()
251 err2 = write_inode_now(inode, 1); in fat_cont_expand()
253 err = err2; in fat_cont_expand()
Dnamei_msdos.c582 int err2 = fat_remove_entries(new_dir, &sinfo); in do_msdos_rename() local
584 corrupt |= err2; in do_msdos_rename()
Dnamei_vfat.c1014 int err2 = fat_remove_entries(new_dir, &sinfo); in vfat_rename() local
1016 corrupt |= err2; in vfat_rename()
/fs/jbd2/
Drecovery.c246 int err, err2; in jbd2_journal_recover() local
284 err2 = sync_blockdev(journal->j_fs_dev); in jbd2_journal_recover()
286 err = err2; in jbd2_journal_recover()
289 err2 = blkdev_issue_flush(journal->j_fs_dev, GFP_KERNEL, NULL); in jbd2_journal_recover()
291 err = err2; in jbd2_journal_recover()
/fs/hfs/
Dcatalog.c106 goto err2; in hfs_cat_create()
116 goto err2; in hfs_cat_create()
120 goto err2; in hfs_cat_create()
145 err2: in hfs_cat_create()
/fs/hfsplus/
Dcatalog.c274 goto err2; in hfsplus_create_cat()
283 goto err2; in hfsplus_create_cat()
290 goto err2; in hfsplus_create_cat()
294 goto err2; in hfsplus_create_cat()
325 err2: in hfsplus_create_cat()
/fs/nfsd/
Dvfs.c649 __be32 err2; in nfsd_access() local
653 err2 = nfsd_permission(rqstp, export, dentry, map->how); in nfsd_access()
654 switch (err2) { in nfsd_access()
667 error = err2; in nfsd_access()
1089 int err2 = vfs_fsync_range(nf->nf_file, offset, end, 0); in nfsd_commit() local
1091 switch (err2) { in nfsd_commit()
1098 err = nfserrno(err2); in nfsd_commit()
1155 __be32 err2; in nfsd_create_locked() local
1232 err2 = nfserrno(commit_metadata(fhp)); in nfsd_create_locked()
1233 if (err2) in nfsd_create_locked()
[all …]
/fs/nfs/
Dnfs42proc.c330 ssize_t err, err2; in nfs42_proc_copy() local
367 err2 = nfs4_handle_exception(server, err, &src_exception); in nfs42_proc_copy()
370 err = err2; in nfs42_proc_copy()
895 int err, err2; in nfs42_proc_clone() local
925 err2 = nfs4_handle_exception(server, err, &src_exception); in nfs42_proc_clone()
928 err = err2; in nfs42_proc_clone()
/fs/ceph/
Daddr.c1824 int err = 0, err2 = 0, have = 0; in __ceph_pool_perm_get() local
1933 err2 = ceph_osdc_start_request(&fsc->client->osdc, wr_req, false); in __ceph_pool_perm_get()
1937 if (!err2) in __ceph_pool_perm_get()
1938 err2 = ceph_osdc_wait_request(&fsc->client->osdc, wr_req); in __ceph_pool_perm_get()
1948 if (err2 == 0 || err2 == -EEXIST) in __ceph_pool_perm_get()
1950 else if (err2 != -EPERM) { in __ceph_pool_perm_get()
1951 if (err2 == -EBLACKLISTED) in __ceph_pool_perm_get()
1953 err = err2; in __ceph_pool_perm_get()
/fs/nilfs2/
Drecovery.c502 int err = 0, err2 = 0; in nilfs_recover_dsync_blocks() local
550 if (!err2) in nilfs_recover_dsync_blocks()
551 err2 = err; in nilfs_recover_dsync_blocks()
557 return err2; in nilfs_recover_dsync_blocks()
/fs/nfs/blocklayout/
Dextent_tree.c363 int err, err2; in ext_tree_remove() local
369 err2 = __ext_tree_remove(&bl->bl_ext_rw, start, end, &tmp); in ext_tree_remove()
371 err = err2; in ext_tree_remove()
/fs/crypto/
Dkeyring.c763 int err2; in try_to_lock_encrypted_files() local
796 err2 = check_for_busy_inodes(sb, mk); in try_to_lock_encrypted_files()
798 return err1 ?: err2; in try_to_lock_encrypted_files()
/fs/ocfs2/
Dquota_global.c486 int err, err2; in __ocfs2_sync_dquot() local
581 err2 = __ocfs2_global_write_info(sb, type); in __ocfs2_sync_dquot()
583 err = err2; in __ocfs2_sync_dquot()
/fs/ubifs/
Drecovery.c1195 int err2 = ubifs_wbuf_sync_nolock(wbuf); in ubifs_rcvry_gc_commit() local
1197 if (err2) in ubifs_rcvry_gc_commit()
1198 err = err2; in ubifs_rcvry_gc_commit()
/fs/reiserfs/
Dinode.c2277 int err2; in reiserfs_truncate_file() local
2323 err2 = reiserfs_do_truncate(&th, inode, page, update_timestamps); in reiserfs_truncate_file()
2329 if (err2) { in reiserfs_truncate_file()
2330 error = err2; in reiserfs_truncate_file()

12