/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_ioctl.c | 214 return -XFS_ERROR(EPERM); in xfs_open_by_handle() 223 error = -XFS_ERROR(EPERM); in xfs_open_by_handle() 240 error = -XFS_ERROR(EPERM); in xfs_open_by_handle() 245 error = -XFS_ERROR(EACCES); in xfs_open_by_handle() 251 error = -XFS_ERROR(EISDIR); in xfs_open_by_handle() 318 return -XFS_ERROR(EPERM); in xfs_readlink_by_handle() 326 error = -XFS_ERROR(EINVAL); in xfs_readlink_by_handle() 331 error = -XFS_ERROR(EFAULT); in xfs_readlink_by_handle() 337 error = -XFS_ERROR(ENOMEM); in xfs_readlink_by_handle() 366 return -XFS_ERROR(EPERM); in xfs_fssetdm_by_handle() [all …]
|
D | xfs_ioctl32.c | 64 return -XFS_ERROR(EFAULT); in xfs_compat_flock64_copyin() 81 return -XFS_ERROR(EFAULT); in xfs_compat_ioc_fsgeometry_v1() 92 return -XFS_ERROR(EFAULT); in xfs_compat_growfs_data_copyin() 103 return -XFS_ERROR(EFAULT); in xfs_compat_growfs_rt_copyin() 121 return -XFS_ERROR(EFAULT); in xfs_inumbers_fmt_compat() 140 return -XFS_ERROR(EFAULT); in xfs_ioctl32_bstime_copyin() 172 return -XFS_ERROR(EFAULT); in xfs_ioctl32_bstat_copyin() 188 return -XFS_ERROR(EFAULT); in xfs_bstime_store_compat() 203 return XFS_ERROR(ENOMEM); in xfs_bulkstat_one_fmt_compat() 226 return XFS_ERROR(EFAULT); in xfs_bulkstat_one_fmt_compat() [all …]
|
D | xfs_discard.c | 154 return -XFS_ERROR(EPERM); in xfs_ioc_trim() 156 return -XFS_ERROR(EOPNOTSUPP); in xfs_ioc_trim() 158 return -XFS_ERROR(EFAULT); in xfs_ioc_trim() 173 return -XFS_ERROR(EINVAL); in xfs_ioc_trim() 191 return -XFS_ERROR(EFAULT); in xfs_ioc_trim()
|
D | xfs_super.c | 439 return XFS_ERROR(EINVAL); in xfs_parseargs() 449 return XFS_ERROR(EINVAL); in xfs_parseargs() 458 return XFS_ERROR(EINVAL); in xfs_parseargs() 969 return XFS_ERROR(EIO); in xfs_fs_write_inode() 1366 return XFS_ERROR(EINVAL); in xfs_finish_flags() 1373 return XFS_ERROR(EINVAL); in xfs_finish_flags() 1391 return XFS_ERROR(EROFS); in xfs_finish_flags()
|
/linux-2.6.39/fs/xfs/ |
D | xfs_dfrag.c | 59 error = XFS_ERROR(EINVAL); in xfs_swapext() 66 error = XFS_ERROR(EBADF); in xfs_swapext() 72 error = XFS_ERROR(EINVAL); in xfs_swapext() 79 error = XFS_ERROR(EBADF); in xfs_swapext() 85 error = XFS_ERROR(EINVAL); in xfs_swapext() 93 error = XFS_ERROR(EINVAL); in xfs_swapext() 98 error = XFS_ERROR(EINVAL); in xfs_swapext() 103 error = XFS_ERROR(EIO); in xfs_swapext() 219 error = XFS_ERROR(ENOMEM); in xfs_swap_extents() 236 error = XFS_ERROR(EINVAL); in xfs_swap_extents() [all …]
|
D | xfs_error.h | 25 #define XFS_ERROR(e) xfs_error_trap(e) macro 27 #define XFS_ERROR(e) (e) macro 58 error = XFS_ERROR(EFSCORRUPTED); \ 70 return XFS_ERROR(EFSCORRUPTED); \
|
D | xfs_iomap.c | 150 return XFS_ERROR(error); in xfs_iomap_write_direct() 263 return XFS_ERROR(error); in xfs_iomap_write_direct() 399 return XFS_ERROR(error); in xfs_iomap_write_delay() 440 return XFS_ERROR(error); in xfs_iomap_write_delay() 452 return XFS_ERROR(error ? error : ENOSPC); in xfs_iomap_write_delay() 506 return XFS_ERROR(error); in xfs_iomap_write_allocate() 535 return XFS_ERROR(error); in xfs_iomap_write_allocate() 639 return XFS_ERROR(error); in xfs_iomap_write_allocate() 700 return XFS_ERROR(error); in xfs_iomap_write_unwritten() 724 return XFS_ERROR(error); in xfs_iomap_write_unwritten() [all …]
|
D | xfs_mount.c | 137 return XFS_ERROR(EINVAL); in xfs_uuid_mount() 165 return XFS_ERROR(EINVAL); in xfs_uuid_mount() 323 return XFS_ERROR(EWRONGFS); in xfs_mount_validate_sb() 329 return XFS_ERROR(EWRONGFS); in xfs_mount_validate_sb() 338 return XFS_ERROR(EINVAL); in xfs_mount_validate_sb() 347 return XFS_ERROR(EINVAL); in xfs_mount_validate_sb() 377 return XFS_ERROR(EFSCORRUPTED); in xfs_mount_validate_sb() 391 return XFS_ERROR(EFSCORRUPTED); in xfs_mount_validate_sb() 404 return XFS_ERROR(ENOSYS); in xfs_mount_validate_sb() 420 return XFS_ERROR(ENOSYS); in xfs_mount_validate_sb() [all …]
|
D | xfs_fsops.c | 146 return XFS_ERROR(EINVAL); in xfs_growfs_data_private() 164 return XFS_ERROR(EINVAL); in xfs_growfs_data_private() 424 return XFS_ERROR(EINVAL); in xfs_growfs_log_private() 427 return XFS_ERROR(EINVAL); in xfs_growfs_log_private() 434 return XFS_ERROR(ENOSYS); in xfs_growfs_log_private() 452 return XFS_ERROR(EPERM); in xfs_growfs_data() 454 return XFS_ERROR(EWOULDBLOCK); in xfs_growfs_data() 468 return XFS_ERROR(EPERM); in xfs_growfs_log() 470 return XFS_ERROR(EWOULDBLOCK); in xfs_growfs_log() 667 return XFS_ERROR(EINVAL); in xfs_fs_goingdown()
|
D | xfs_vnodeops.c | 74 return XFS_ERROR(EROFS); in xfs_setattr() 77 return XFS_ERROR(EIO); in xfs_setattr() 197 code = XFS_ERROR(EISDIR); in xfs_setattr() 200 code = XFS_ERROR(EINVAL); in xfs_setattr() 458 return XFS_ERROR(code); in xfs_setattr() 544 return XFS_ERROR(EIO); in xfs_readlink() 1248 return XFS_ERROR(EIO); in xfs_lookup() 1299 return XFS_ERROR(EIO); in xfs_create() 1361 error = XFS_ERROR(EMLINK); in xfs_create() 1675 return XFS_ERROR(EIO); in xfs_remove() [all …]
|
D | xfs_log_recover.c | 287 return XFS_ERROR(EFSCORRUPTED); in xlog_header_check_recover() 294 return XFS_ERROR(EFSCORRUPTED); in xlog_header_check_recover() 321 return XFS_ERROR(EFSCORRUPTED); in xlog_header_check_mount() 496 error = XFS_ERROR(EIO); in xlog_find_verify_log_record() 777 error = XFS_ERROR(EIO); in xlog_find_head() 795 error = XFS_ERROR(EIO); in xlog_find_head() 917 return XFS_ERROR(EIO); in xlog_find_tail() 1097 return XFS_ERROR(EINVAL); in xlog_find_zeroed() 1136 error = XFS_ERROR(EIO); in xlog_find_zeroed() 1315 return XFS_ERROR(EFSCORRUPTED); in xlog_clear_stale_blocks() [all …]
|
D | xfs_dir2_sf.c | 293 return XFS_ERROR(EIO); in xfs_dir2_sf_addname() 336 return XFS_ERROR(ENOSPC); in xfs_dir2_sf_addname() 721 return XFS_ERROR(EIO); in xfs_dir2_sf_getdents() 823 return XFS_ERROR(EIO); in xfs_dir2_sf_lookup() 835 return XFS_ERROR(EEXIST); in xfs_dir2_sf_lookup() 844 return XFS_ERROR(EEXIST); in xfs_dir2_sf_lookup() 864 return XFS_ERROR(EEXIST); in xfs_dir2_sf_lookup() 874 return XFS_ERROR(ENOENT); in xfs_dir2_sf_lookup() 877 return XFS_ERROR(error); in xfs_dir2_sf_lookup() 907 return XFS_ERROR(EIO); in xfs_dir2_sf_removename() [all …]
|
D | xfs_itable.c | 72 return XFS_ERROR(EINVAL); in xfs_bulkstat_one_int() 76 return XFS_ERROR(ENOMEM); in xfs_bulkstat_one_int() 166 return XFS_ERROR(ENOMEM); in xfs_bulkstat_one_fmt() 168 return XFS_ERROR(EFAULT); in xfs_bulkstat_one_fmt() 588 XFS_ERROR(EINVAL) : error; in xfs_bulkstat_single() 696 error = XFS_ERROR(EFAULT); in xfs_inumbers() 723 error = XFS_ERROR(EFAULT); in xfs_inumbers()
|
D | xfs_rw.c | 139 return XFS_ERROR(EIO); in xfs_read_buf() 148 error = XFS_ERROR(EIO); in xfs_read_buf()
|
D | xfs_rename.c | 127 error = XFS_ERROR(EMLINK); in xfs_rename() 187 error = XFS_ERROR(EXDEV); in xfs_rename() 235 error = XFS_ERROR(EEXIST); in xfs_rename()
|
D | xfs_trans_buf.c | 294 EAGAIN : XFS_ERROR(ENOMEM); in xfs_trans_read_buf() 309 return XFS_ERROR(EIO); in xfs_trans_read_buf() 362 return XFS_ERROR(EIO); in xfs_trans_read_buf() 387 0 : XFS_ERROR(ENOMEM); in xfs_trans_read_buf() 408 return XFS_ERROR(EIO); in xfs_trans_read_buf() 439 return XFS_ERROR(EIO); in xfs_trans_read_buf()
|
D | xfs_attr.c | 539 error = XFS_ERROR(ENOATTR); in xfs_attr_remove_int() 606 return XFS_ERROR(ENOATTR); in xfs_attr_remove() 728 return(XFS_ERROR(EINVAL)); in xfs_attr_list() 731 return XFS_ERROR(EINVAL); in xfs_attr_list() 737 return XFS_ERROR(EFAULT); in xfs_attr_list() 873 return(XFS_ERROR(ENOSPC)); in xfs_attr_shortform_addname() 880 return(XFS_ERROR(ENOSPC)); in xfs_attr_shortform_addname() 1192 return XFS_ERROR(error); in xfs_attr_leaf_list() 1199 return XFS_ERROR(EFSCORRUPTED); in xfs_attr_leaf_list() 1204 return XFS_ERROR(error); in xfs_attr_leaf_list() [all …]
|
D | xfs_utils.c | 109 return XFS_ERROR(ENOSPC); in xfs_dir_ialloc() 300 return XFS_ERROR(EMLINK); in xfs_bumplink()
|
D | xfs_log.c | 313 return XFS_ERROR(EIO); in xfs_log_reserve() 341 return XFS_ERROR(ENOMEM); in xfs_log_reserve() 665 return XFS_ERROR(EIO); in xfs_log_write() 1911 return XFS_ERROR(EIO); in xlog_write() 2394 return XFS_ERROR(EIO); in xlog_state_get_iclog_space() 2596 return XFS_ERROR(EIO); in xlog_grant_log_space() 2713 return XFS_ERROR(EIO); in xlog_regrant_write_log_space() 2818 return XFS_ERROR(EIO); in xlog_state_release_iclog() 2826 return XFS_ERROR(EIO); in xlog_state_release_iclog() 2943 return XFS_ERROR(EIO); in _xfs_log_force() [all …]
|
D | xfs_inode.c | 177 return XFS_ERROR(EINVAL); in xfs_imap_to_bp() 189 return XFS_ERROR(EFSCORRUPTED); in xfs_imap_to_bp() 327 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 336 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 346 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 357 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 379 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 391 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 406 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() 412 return XFS_ERROR(EFSCORRUPTED); in xfs_iformat() [all …]
|
D | xfs_attr_leaf.c | 349 return(XFS_ERROR(ENOATTR)); in xfs_attr_shortform_remove() 415 return(XFS_ERROR(EEXIST)); in xfs_attr_shortform_lookup() 417 return(XFS_ERROR(ENOATTR)); in xfs_attr_shortform_lookup() 444 return(XFS_ERROR(EEXIST)); in xfs_attr_shortform_getvalue() 448 return(XFS_ERROR(ERANGE)); in xfs_attr_shortform_getvalue() 453 return(XFS_ERROR(EEXIST)); in xfs_attr_shortform_getvalue() 455 return(XFS_ERROR(ENOATTR)); in xfs_attr_shortform_getvalue() 655 return XFS_ERROR(EFSCORRUPTED); in xfs_attr_shortform_list() 1038 return(XFS_ERROR(ENOSPC)); in xfs_attr_leaf_add() 1052 return(XFS_ERROR(ENOSPC)); in xfs_attr_leaf_add() [all …]
|
D | xfs_ialloc.c | 264 return XFS_ERROR(ENOSPC); in xfs_ialloc_ag_alloc() 1061 return XFS_ERROR(EINVAL); in xfs_difree() 1069 return XFS_ERROR(EINVAL); in xfs_difree() 1076 return XFS_ERROR(EINVAL); in xfs_difree() 1290 return XFS_ERROR(EINVAL); in xfs_imap() 1310 return XFS_ERROR(EINVAL); in xfs_imap() 1383 return XFS_ERROR(EINVAL); in xfs_imap() 1503 return XFS_ERROR(EFSCORRUPTED); in xfs_read_agi()
|
D | xfs_dir2_block.c | 116 return XFS_ERROR(EFSCORRUPTED); in xfs_dir2_block_addname() 228 return XFS_ERROR(ENOSPC); in xfs_dir2_block_addname() 618 return XFS_ERROR(error); in xfs_dir2_block_lookup() 677 return XFS_ERROR(ENOENT); in xfs_dir2_block_lookup_int() 725 return XFS_ERROR(ENOENT); in xfs_dir2_block_lookup_int() 1062 return XFS_ERROR(EIO); in xfs_dir2_sf_to_block()
|
/linux-2.6.39/fs/xfs/quota/ |
D | xfs_qm_syscalls.c | 79 return XFS_ERROR(EEXIST); in xfs_qm_scall_quotaoff() 293 return XFS_ERROR(EINVAL); in xfs_qm_scall_trunc_qfiles() 329 return XFS_ERROR(EINVAL); in xfs_qm_scall_quotaon() 352 return XFS_ERROR(EINVAL); in xfs_qm_scall_quotaon() 358 return XFS_ERROR(EEXIST); in xfs_qm_scall_quotaon() 373 return XFS_ERROR(EEXIST); in xfs_qm_scall_quotaon() 391 return XFS_ERROR(ESRCH); in xfs_qm_scall_quotaon() 658 return XFS_ERROR(ENOENT); in xfs_qm_scall_getquota() 666 return (error ? XFS_ERROR(EFAULT) : 0); in xfs_qm_scall_getquota() 1143 return XFS_ERROR(EINVAL); in xfs_qm_internalqcheck_adjust() [all …]
|
D | xfs_dquot.c | 533 return XFS_ERROR(error); in xfs_qm_dqtobp() 553 return XFS_ERROR(EIO); in xfs_qm_dqtobp() 931 return XFS_ERROR(ESRCH); in xfs_qm_dqget() 943 return XFS_ERROR(ESRCH); in xfs_qm_dqget() 1189 return XFS_ERROR(EIO); in xfs_qm_dqflush() 1217 return XFS_ERROR(EIO); in xfs_qm_dqflush()
|