Home
last modified time | relevance | path

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

/fs/hostfs/
Dhostfs_user.c47 return -errno; in stat_file()
49 return -errno; in stat_file()
66 return -errno; in access_file()
86 return -errno; in open_file()
95 *err_out = errno; in open_dir()
130 return -errno; in read_file()
141 return -errno; in write_file()
152 return -errno; in lseek_file()
165 return -errno; in fsync_file()
190 return -errno; in file_create()
[all …]
/fs/nfs/
Dmount_clnt.c83 int errno; member
85 { .status = MNT_OK, .errno = 0, },
86 { .status = MNT_EPERM, .errno = -EPERM, },
87 { .status = MNT_ENOENT, .errno = -ENOENT, },
88 { .status = MNT_EACCES, .errno = -EACCES, },
89 { .status = MNT_EINVAL, .errno = -EINVAL, },
110 int errno; member
112 { .status = MNT3_OK, .errno = 0, },
113 { .status = MNT3ERR_PERM, .errno = -EPERM, },
114 { .status = MNT3ERR_NOENT, .errno = -ENOENT, },
[all …]
Dnfs2xdr.c1065 int errno; member
1116 return nfs_errtbl[i].errno; in nfs_stat_to_errno()
1119 return nfs_errtbl[i].errno; in nfs_stat_to_errno()
Dnfs4idmap.c729 if (msg->errno) in idmap_pipe_destroy_msg()
730 nfs_idmap_abort_pipe_upcall(idmap, data, msg->errno); in idmap_pipe_destroy_msg()
Dnfs3xdr.c2450 int errno; member
2501 return nfs_errtbl[i].errno; in nfs3_stat_to_errno()
2504 return nfs_errtbl[i].errno; in nfs3_stat_to_errno()
Dnfs4xdr.c7498 int errno; member
7544 return nfs_errtbl[i].errno; in nfs4_stat_to_errno()
/fs/ocfs2/
Dfilecheck.c63 ocfs2_filecheck_error(int errno) in ocfs2_filecheck_error() argument
65 if (!errno) in ocfs2_filecheck_error()
66 return ocfs2_filecheck_errs[errno]; in ocfs2_filecheck_error()
68 BUG_ON(errno < OCFS2_FILECHECK_ERR_START || in ocfs2_filecheck_error()
69 errno > OCFS2_FILECHECK_ERR_END); in ocfs2_filecheck_error()
70 return ocfs2_filecheck_errs[errno - OCFS2_FILECHECK_ERR_START + 1]; in ocfs2_filecheck_error()
/fs/btrfs/
Dsuper.c85 const char * __attribute_const__ btrfs_decode_error(int errno) in btrfs_decode_error() argument
89 switch (errno) { in btrfs_decode_error()
128 unsigned int line, int errno, const char *fmt, ...) in __btrfs_handle_fs_error() argument
139 if (errno == -EROFS && sb_rdonly(sb)) in __btrfs_handle_fs_error()
143 errstr = btrfs_decode_error(errno); in __btrfs_handle_fs_error()
153 sb->s_id, function, line, errno, errstr, &vaf); in __btrfs_handle_fs_error()
157 sb->s_id, function, line, errno, errstr); in __btrfs_handle_fs_error()
297 unsigned int line, int errno) in __btrfs_abort_transaction() argument
301 WRITE_ONCE(trans->aborted, errno); in __btrfs_abort_transaction()
302 WRITE_ONCE(trans->transaction->aborted, errno); in __btrfs_abort_transaction()
[all …]
Dbackref.h362 u64 bytenr, int errno) in btrfs_backref_panic() argument
364 btrfs_panic(fs_info, errno, in btrfs_backref_panic()
Dctree.h3572 unsigned int line, int errno, const char *fmt, ...);
3574 const char * __attribute_const__ btrfs_decode_error(int errno);
3579 unsigned int line, int errno);
3585 #define btrfs_abort_transaction(trans, errno) \ argument
3590 if ((errno) != -EIO && (errno) != -EROFS) { \
3593 (errno)); \
3597 (errno)); \
3601 __LINE__, (errno)); \
3604 #define btrfs_handle_fs_error(fs_info, errno, fmt, args...) \ argument
3607 (errno), fmt, ##args); \
[all …]
/fs/gfs2/
Dtrace_gfs2.h442 sector_t lblock, int create, int errno),
444 TP_ARGS(ip, bh, lblock, create, errno),
454 __field( int, errno )
465 __entry->errno = errno;
475 __entry->errno)
/fs/nfsd/
Dexport.h118 __be32 nfserrno(int errno);
Dnfsproc.c836 nfserrno (int errno) in nfserrno() argument
883 if (nfs_errtbl[i].syserr == errno) in nfserrno()
886 WARN_ONCE(1, "nfsd: non-standard errno: %d\n", errno); in nfserrno()
Dnfs4callback.c164 int errno; member
212 return nfs_cb_errtbl[i].errno; in nfs_cb_stat_to_errno()
Dnfs4recover.c767 if (msg.errno < 0) in __cld_pipe_upcall()
768 ret = msg.errno; in __cld_pipe_upcall()
922 if (msg->errno >= 0) in cld_pipe_destroy_msg()
/fs/unicode/
Dmkutf8data.c1949 open_fail(age_name, errno); in age_init()
2067 open_fail(ccc_name, errno); in ccc_init()
2132 open_fail(data_name, errno); in nfdi_init()
2193 open_fail(fold_name, errno); in nfdicf_init()
2247 open_fail(prop_name, errno); in ignore_init()
2321 open_fail(norm_name, errno); in corrections_init()
3229 open_fail(test_name, errno); in normalization_test()
3287 open_fail(utf8_name, errno); in write_file()
/fs/reiserfs/
Dprints.c418 void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...) in reiserfs_abort() argument
434 reiserfs_abort_journal(sb, errno); in reiserfs_abort()
Dreiserfs.h2946 void reiserfs_abort_journal(struct super_block *sb, int errno);
2947 void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...);
Djournal.c4389 void reiserfs_abort_journal(struct super_block *sb, int errno) in reiserfs_abort_journal() argument
4396 journal->j_errno = errno; in reiserfs_abort_journal()
/fs/nfs/blocklayout/
Drpc_pipefs.c134 if (msg->errno >= 0) in bl_pipe_destroy_msg()
/fs/ext4/
Dsuper.c547 int errno; member
550 #define EXT4_ERR_TRANSLATE(err) { .code = EXT4_ERR_##err, .errno = err }
571 static int ext4_errno_to_code(int errno) in ext4_errno_to_code() argument
576 if (err_translation[i].errno == errno) in ext4_errno_to_code()
828 const char *ext4_decode_error(struct super_block *sb, int errno, in ext4_decode_error() argument
833 switch (errno) { in ext4_decode_error()
859 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in ext4_decode_error()
872 unsigned int line, int errno) in __ext4_std_error() argument
883 if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) in __ext4_std_error()
887 errstr = ext4_decode_error(sb, errno, nbuf); in __ext4_std_error()
[all …]
Dext4.h3118 extern const char *ext4_decode_error(struct super_block *sb, int errno,
3380 #define ext4_std_error(sb, errno) \ argument
3382 if ((errno)) \
3383 __ext4_std_error((sb), __func__, __LINE__, (errno)); \
/fs/jbd2/
Djournal.c2592 void jbd2_journal_abort(journal_t *journal, int errno) in jbd2_journal_abort() argument
2613 if (old_errno != -ESHUTDOWN && errno == -ESHUTDOWN) { in jbd2_journal_abort()
2614 journal->j_errno = errno; in jbd2_journal_abort()
2628 journal->j_errno = errno; in jbd2_journal_abort()
/fs/ocfs2/dlm/
Ddlmcommon.h876 int dlm_is_host_down(int errno);
Ddlmmaster.c115 int dlm_is_host_down(int errno) in dlm_is_host_down() argument
117 switch (errno) { in dlm_is_host_down()