Searched defs:errno (Results 1 - 17 of 17) sorted by relevance

/fs/ncpfs/
H A Dfile.c15 #include <linux/errno.h>
153 error = -EIO; /* NW errno -> Linux errno */
184 int errno; local
214 errno = ncp_make_open(inode, O_WRONLY);
215 if (errno) {
216 ncp_dbg(1, "open failed, error=%d\n", errno);
217 return errno;
223 errno = file_update_time(file);
224 if (errno)
[all...]
/fs/nfsd/
H A Dnfsproc.c709 nfserrno (int errno) argument
753 if (nfs_errtbl[i].syserr == errno)
756 WARN(1, "nfsd: non-standard errno: %d\n", errno);
H A Dnfs4callback.c171 int errno; member in struct:__anon371
219 return nfs_cb_errtbl[i].errno;
/fs/reiserfs/
H A Dprints.c399 void reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...) argument
415 reiserfs_abort_journal(sb, errno);
H A Djournal.c42 #include <linux/errno.h>
4388 void reiserfs_abort_journal(struct super_block *sb, int errno) argument
4395 journal->j_errno = errno;
/fs/btrfs/
H A Dordered-data.c65 static void ordered_data_tree_panic(struct inode *inode, int errno, argument
69 btrfs_panic(fs_info, errno, "Inconsistency in ordered tree at offset "
H A Dsuper.c72 static const char *btrfs_decode_error(int errno) argument
76 switch (errno) {
139 unsigned int line, int errno, const char *fmt, ...)
148 if (errno == -EROFS && (sb->s_flags & MS_RDONLY))
151 errstr = btrfs_decode_error(errno);
161 "BTRFS: error (device %s) in %s:%d: errno=%d %s (%pV)\n",
162 sb->s_id, function, line, errno, errstr, &vaf);
165 printk(KERN_CRIT "BTRFS: error (device %s) in %s:%d: errno=%d %s\n",
166 sb->s_id, function, line, errno, errstr);
218 unsigned int line, int errno, cons
138 __btrfs_std_error(struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int errno, const char *fmt, ...) argument
217 __btrfs_std_error(struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int errno, const char *fmt, ...) argument
250 __btrfs_abort_transaction(struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *function, unsigned int line, int errno) argument
284 __btrfs_panic(struct btrfs_fs_info *fs_info, const char *function, unsigned int line, int errno, const char *fmt, ...) argument
[all...]
H A Drelocation.c331 static void backref_tree_panic(struct rb_node *rb_node, int errno, u64 bytenr) argument
339 btrfs_panic(fs_info, errno, "Inconsistency in backref cache "
/fs/nfs/
H A Dmount_clnt.c10 #include <linux/errno.h>
85 int errno; member in struct:__anon346
87 { .status = MNT_OK, .errno = 0, },
88 { .status = MNT_EPERM, .errno = -EPERM, },
89 { .status = MNT_ENOENT, .errno = -ENOENT, },
90 { .status = MNT_EACCES, .errno = -EACCES, },
91 { .status = MNT_EINVAL, .errno = -EINVAL, },
112 int errno; member in struct:__anon347
114 { .status = MNT3_OK, .errno = 0, },
115 { .status = MNT3ERR_PERM, .errno
127 int errno; member in struct:mountres
[all...]
H A Dnfs2xdr.c15 #include <linux/errno.h>
28 /* Mapping from NFS error code to "errno" error code. */
895 * Returns zero if successful, otherwise a negative errno value is
1053 * the local errno values which may not be the same.
1057 int errno; member in struct:__anon348
1096 * nfs_stat_to_errno - convert an NFS status code to a local errno
1099 * Returns a local errno value, or -EIO if the NFS status code is
1108 return nfs_errtbl[i].errno;
1111 return nfs_errtbl[i].errno;
H A Dnfs3xdr.c12 #include <linux/errno.h>
27 /* Mapping from NFS error code to "errno" error code. */
1917 * Returns zero if successful, otherwise a negative errno value is
2424 * the local errno values which may not be the same.
2428 int errno; member in struct:__anon350
2467 * nfs3_stat_to_errno - convert an NFS status code to a local errno
2470 * Returns a local errno value, or -EIO if the NFS status code is
2479 return nfs_errtbl[i].errno;
2482 return nfs_errtbl[i].errno;
H A Dnfs4xdr.c41 #include <linux/errno.h>
65 /* Mapping from NFS error code to "errno" error code. */
7189 * Returns zero if successful, otherwise a negative errno value is
7262 * the local errno values which may not be the same.
7266 int errno; member in struct:__anon353
7310 return nfs_errtbl[i].errno;
/fs/jbd/
H A Djournal.c29 #include <linux/errno.h>
90 static void __journal_abort_soft (journal_t *journal, int errno);
960 "(start %u, seq %d, errno %d)\n",
1166 * Update a journal's errno. Write updated superblock to disk waiting for IO
1174 jbd_debug(1, "JBD: updating superblock error (errno %d)\n",
1700 static void __journal_abort_soft (journal_t *journal, int errno) argument
1706 journal->j_errno = errno;
1710 if (errno)
1717 * @errno: an error number to record in the journal indicating
1746 * Finally, the journal_abort call allows the caller to supply an errno
1760 journal_abort(journal_t *journal, int errno) argument
[all...]
/fs/ext3/
H A Dsuper.c59 static const char *ext3_decode_error(struct super_block * sb, int errno,
210 static const char *ext3_decode_error(struct super_block * sb, int errno, argument
215 switch (errno) {
234 if (snprintf(nbuf, 16, "error %d", -errno) >= 0)
247 int errno)
255 if (errno == -EROFS && journal_current_handle() == NULL &&
259 errstr = ext3_decode_error(sb, errno, nbuf);
246 __ext3_std_error(struct super_block * sb, const char * function, int errno) argument
/fs/jbd2/
H A Djournal.c29 #include <linux/errno.h>
103 static void __journal_abort_soft (journal_t *journal, int errno);
1312 "(start %ld, seq %d, errno %d)\n",
1445 * Update a journal's errno. Write updated superblock to disk waiting for IO
1453 jbd_debug(1, "JBD2: updating superblock error (errno %d)\n",
2047 static void __journal_abort_soft (journal_t *journal, int errno) argument
2053 journal->j_errno = errno;
2057 if (errno)
2064 * @errno: an error number to record in the journal indicating
2093 * Finally, the jbd2_journal_abort call allows the caller to supply an errno
2107 jbd2_journal_abort(journal_t *journal, int errno) argument
[all...]
/fs/ocfs2/dlm/
H A Ddlmmaster.c132 int dlm_is_host_down(int errno) argument
134 switch (errno) {
1324 * -errno on a network error
/fs/ext4/
H A Dsuper.c504 const char *ext4_decode_error(struct super_block *sb, int errno, argument
509 switch (errno) {
529 if (snprintf(nbuf, 16, "error %d", -errno) >= 0)
542 unsigned int line, int errno)
550 if (errno == -EROFS && journal_current_handle() == NULL &&
555 errstr = ext4_decode_error(sb, errno, nbuf);
541 __ext4_std_error(struct super_block *sb, const char *function, unsigned int line, int errno) argument

Completed in 396 milliseconds