Home
last modified time | relevance | path

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

123456

/fs/xfs/
Dxfs_message.h8 void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...);
10 void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...);
12 void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...);
14 void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...);
16 void xfs_err(const struct xfs_mount *mp, const char *fmt, ...);
18 void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...);
20 void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...);
22 void xfs_info(const struct xfs_mount *mp, const char *fmt, ...);
26 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...);
29 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...) in xfs_debug() argument
[all …]
Dxfs_message.c31 void func(const struct xfs_mount *mp, const char *fmt, ...) \
37 va_start(args, fmt); \
39 vaf.fmt = fmt; \
66 const char *fmt, ...) in xfs_alert_tag() argument
77 va_start(args, fmt); in xfs_alert_tag()
79 vaf.fmt = fmt; in xfs_alert_tag()
125 const char *fmt, in xfs_buf_alert_ratelimited() argument
136 va_start(args, fmt); in xfs_buf_alert_ratelimited()
137 vaf.fmt = fmt; in xfs_buf_alert_ratelimited()
/fs/cifs/
Dcifs_debug.h15 #define pr_fmt(fmt) "CIFS: " fmt argument
55 #define cifs_info_func(ratefunc, fmt, ...) \ argument
56 pr_info_ ## ratefunc(fmt, ##__VA_ARGS__)
58 #define cifs_info(fmt, ...) \ argument
59 cifs_info_func(ratelimited, fmt, ##__VA_ARGS__)
62 #define cifs_dbg_func(ratefunc, type, fmt, ...) \ argument
65 pr_debug_ ## ratefunc("%s: " fmt, \
68 pr_err_ ## ratefunc("VFS: " fmt, ##__VA_ARGS__); \
70 pr_debug_ ## ratefunc(fmt, ##__VA_ARGS__); \
74 #define cifs_dbg(type, fmt, ...) \ argument
[all …]
/fs/jffs2/
Ddebug.h66 #define jffs2_dbg(level, fmt, ...) \ argument
69 pr_debug(fmt, ##__VA_ARGS__); \
78 #define JFFS2_ERROR(fmt, ...) \ argument
79 pr_err("error: (%d) %s: " fmt, \
82 #define JFFS2_WARNING(fmt, ...) \ argument
83 pr_warn("warning: (%d) %s: " fmt, \
86 #define JFFS2_NOTICE(fmt, ...) \ argument
87 pr_notice("notice: (%d) %s: " fmt, \
90 #define JFFS2_DEBUG(fmt, ...) \ argument
91 printk(KERN_DEBUG "[JFFS2 DBG] (%d) %s: " fmt, \
[all …]
/fs/ubifs/
Ddebug.h157 #define ubifs_dbg_msg(type, fmt, ...) \ argument
158 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
162 #define ubifs_dbg_msg_key(type, key, fmt, ...) do { \ argument
164 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \
170 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) argument
172 #define dbg_jnl(fmt, ...) ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__) argument
173 #define dbg_jnlk(key, fmt, ...) \ argument
174 ubifs_dbg_msg_key("jnl", key, fmt, ##__VA_ARGS__)
176 #define dbg_tnc(fmt, ...) ubifs_dbg_msg("tnc", fmt, ##__VA_ARGS__) argument
177 #define dbg_tnck(key, fmt, ...) \ argument
[all …]
Dmisc.c6 void ubifs_msg(const struct ubifs_info *c, const char *fmt, ...) in ubifs_msg() argument
11 va_start(args, fmt); in ubifs_msg()
13 vaf.fmt = fmt; in ubifs_msg()
23 void ubifs_err(const struct ubifs_info *c, const char *fmt, ...) in ubifs_err() argument
28 va_start(args, fmt); in ubifs_err()
30 vaf.fmt = fmt; in ubifs_err()
42 void ubifs_warn(const struct ubifs_info *c, const char *fmt, ...) in ubifs_warn() argument
47 va_start(args, fmt); in ubifs_warn()
49 vaf.fmt = fmt; in ubifs_warn()
/fs/ntfs/
Ddebug.c7 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
30 const char *fmt, ...) in __ntfs_warning() argument
42 va_start(args, fmt); in __ntfs_warning()
43 vaf.fmt = fmt; in __ntfs_warning()
73 const char *fmt, ...) in __ntfs_error() argument
85 va_start(args, fmt); in __ntfs_error()
86 vaf.fmt = fmt; in __ntfs_error()
102 const char *fmt, ...) in __ntfs_debug() argument
112 va_start(args, fmt); in __ntfs_debug()
113 vaf.fmt = fmt; in __ntfs_debug()
/fs/jfs/
Djfs_debug.h55 #define jfs_info(fmt, arg...) do { \ argument
57 printk(KERN_INFO fmt "\n", ## arg); \
61 #define jfs_debug(fmt, arg...) do { \ argument
63 printk(KERN_DEBUG fmt "\n", ## arg); \
67 #define jfs_warn(fmt, arg...) do { \ argument
69 printk(KERN_WARNING fmt "\n", ## arg); \
73 #define jfs_err(fmt, arg...) do { \ argument
75 printk(KERN_ERR fmt "\n", ## arg); \
84 #define jfs_info(fmt, arg...) do {} while (0) argument
85 #define jfs_debug(fmt, arg...) do {} while (0) argument
[all …]
/fs/nilfs2/
Dnilfs.h294 void __nilfs_msg(struct super_block *sb, const char *fmt, ...);
297 const char *fmt, ...);
301 #define nilfs_msg(sb, level, fmt, ...) \ argument
302 __nilfs_msg(sb, level fmt, ##__VA_ARGS__)
303 #define nilfs_error(sb, fmt, ...) \ argument
304 __nilfs_error(sb, __func__, fmt, ##__VA_ARGS__)
308 #define nilfs_msg(sb, level, fmt, ...) \ argument
310 no_printk(level fmt, ##__VA_ARGS__); \
313 #define nilfs_error(sb, fmt, ...) \ argument
315 no_printk(fmt, ##__VA_ARGS__); \
[all …]
/fs/btrfs/
Dctree.h1317 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument
1320 btrfs_info(fs_info, fmt, ##args); \
1324 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument
1327 btrfs_info(fs_info, fmt, ##args); \
1356 #define btrfs_set_pending_and_info(info, opt, fmt, args...) \ argument
1359 btrfs_info((info), fmt, ##args); \
1365 #define btrfs_clear_pending_and_info(info, opt, fmt, args...) \ argument
1368 btrfs_info((info), fmt, ##args); \
3139 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() argument
3146 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
[all …]
Dtree-checker.c51 const char *fmt, ...) in generic_err() argument
57 va_start(args, fmt); in generic_err()
59 vaf.fmt = fmt; in generic_err()
76 const char *fmt, ...) in file_extent_err() argument
84 va_start(args, fmt); in file_extent_err()
86 vaf.fmt = fmt; in file_extent_err()
135 const char *fmt, ...) in dir_item_err() argument
143 va_start(args, fmt); in dir_item_err()
145 vaf.fmt = fmt; in dir_item_err()
377 #define inode_item_err(eb, slot, fmt, ...) \ argument
[all …]
/fs/befs/
Ddebug.c14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
29 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error() argument
34 va_start(args, fmt); in befs_error()
35 vaf.fmt = fmt; in befs_error()
42 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning() argument
47 va_start(args, fmt); in befs_warning()
48 vaf.fmt = fmt; in befs_warning()
55 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug() argument
62 va_start(args, fmt); in befs_debug()
63 vaf.fmt = fmt; in befs_debug()
/fs/ocfs2/
Dsuper.h17 const char *fmt, ...);
19 #define ocfs2_error(sb, fmt, ...) \ argument
20 __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
24 const char *fmt, ...);
26 #define ocfs2_abort(sb, fmt, ...) \ argument
27 __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
/fs/gfs2/
Dutil.h12 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
19 #define fs_emerg(fs, fmt, ...) \ argument
20 pr_emerg("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
21 #define fs_warn(fs, fmt, ...) \ argument
22 pr_warn("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
23 #define fs_err(fs, fmt, ...) \ argument
24 pr_err("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
25 #define fs_info(fs, fmt, ...) \ argument
26 pr_info("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
225 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...);
/fs/udf/
Dudfdecl.h5 #define pr_fmt(fmt) "UDF-fs: " fmt argument
22 const char *function, const char *fmt, ...);
23 #define udf_err(sb, fmt, ...) \ argument
24 _udf_err(sb, __func__, fmt, ##__VA_ARGS__)
27 const char *function, const char *fmt, ...);
28 #define udf_warn(sb, fmt, ...) \ argument
29 _udf_warn(sb, __func__, fmt, ##__VA_ARGS__)
31 #define udf_info(fmt, ...) \ argument
32 pr_info("INFO " fmt, ##__VA_ARGS__)
34 #define udf_debug(fmt, ...) \ argument
[all …]
/fs/reiserfs/
Dprints.c174 static char *is_there_reiserfs_struct(char *fmt, int *what) in is_there_reiserfs_struct() argument
176 char *k = fmt; in is_there_reiserfs_struct()
203 static void prepare_error_buf(const char *fmt, va_list args) in prepare_error_buf() argument
213 if (WARN_ON(strscpy(fmt_buf, fmt, sizeof(fmt_buf)) < 0)) { in prepare_error_buf()
277 #define do_reiserfs_warning(fmt)\ argument
280 va_start( args, fmt );\
281 prepare_error_buf( fmt, args );\
286 const char *function, const char *fmt, ...) in __reiserfs_warning() argument
288 do_reiserfs_warning(fmt); in __reiserfs_warning()
299 void reiserfs_info(struct super_block *sb, const char *fmt, ...) in reiserfs_info() argument
[all …]
/fs/verity/
Dfsverity_private.h15 #define pr_fmt(fmt) "fs-verity: " fmt argument
109 const char *fmt, ...);
111 #define fsverity_warn(inode, fmt, ...) \ argument
112 fsverity_msg((inode), KERN_WARNING, fmt, ##__VA_ARGS__)
113 #define fsverity_err(inode, fmt, ...) \ argument
114 fsverity_msg((inode), KERN_ERR, fmt, ##__VA_ARGS__)
/fs/ocfs2/cluster/
Dmasklog.h153 const char *fmt, ...);
159 #define mlog(mask, fmt, ...) \ argument
163 __mlog_printk(&_m, __func__, __LINE__, fmt, \
167 #define mlog_ratelimited(mask, fmt, ...) \ argument
173 mlog(mask, fmt, ##__VA_ARGS__); \
185 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
188 mlog(ML_ERROR, fmt, ##args); \
/fs/exfat/
Dmisc.c25 void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...) in __exfat_fs_error() argument
32 va_start(args, fmt); in __exfat_fs_error()
33 vaf.fmt = fmt; in __exfat_fs_error()
52 void exfat_msg(struct super_block *sb, const char *level, const char *fmt, ...) in exfat_msg() argument
57 va_start(args, fmt); in exfat_msg()
58 vaf.fmt = fmt; in exfat_msg()
Dexfat_fs.h504 void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...)
506 #define exfat_fs_error(sb, fmt, args...) \ argument
507 __exfat_fs_error(sb, 1, fmt, ## args)
508 #define exfat_fs_error_ratelimit(sb, fmt, args...) \ argument
510 fmt, ## args)
511 void exfat_msg(struct super_block *sb, const char *lv, const char *fmt, ...)
513 #define exfat_err(sb, fmt, ...) \ argument
514 exfat_msg(sb, KERN_ERR, fmt, ##__VA_ARGS__)
515 #define exfat_warn(sb, fmt, ...) \ argument
516 exfat_msg(sb, KERN_WARNING, fmt, ##__VA_ARGS__)
[all …]
/fs/unicode/
Dutf8-selftest.c8 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
25 #define _test(cond, func, line, fmt, ...) do { \ argument
30 func, line, #cond, (fmt?":":".")); \
31 if (fmt) \
32 pr_err(fmt, ##__VA_ARGS__); \
35 #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) argument
/fs/
Dbinfmt_misc.c11 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
134 Node *fmt; in load_misc_binary() local
144 fmt = check_file(bprm); in load_misc_binary()
145 if (fmt) in load_misc_binary()
146 dget(fmt->dentry); in load_misc_binary()
148 if (!fmt) in load_misc_binary()
156 if (!(fmt->flags & MISC_FMT_PRESERVE_ARGV0)) { in load_misc_binary()
162 if (fmt->flags & MISC_FMT_OPEN_BINARY) in load_misc_binary()
172 retval = copy_string_kernel(fmt->interpreter, bprm); in load_misc_binary()
178 retval = bprm_change_interp(fmt->interpreter, bprm); in load_misc_binary()
[all …]
/fs/nfs/
Dinternal.h155 #define nfs_errorf(fc, fmt, ...) ((fc)->log.log ? \ argument
156 errorf(fc, fmt, ## __VA_ARGS__) : \
157 ({ dprintk(fmt "\n", ## __VA_ARGS__); }))
159 #define nfs_ferrorf(fc, fac, fmt, ...) ((fc)->log.log ? \ argument
160 errorf(fc, fmt, ## __VA_ARGS__) : \
161 ({ dfprintk(fac, fmt "\n", ## __VA_ARGS__); }))
163 #define nfs_invalf(fc, fmt, ...) ((fc)->log.log ? \ argument
164 invalf(fc, fmt, ## __VA_ARGS__) : \
165 ({ dprintk(fmt "\n", ## __VA_ARGS__); -EINVAL; }))
167 #define nfs_finvalf(fc, fac, fmt, ...) ((fc)->log.log ? \ argument
[all …]
/fs/dlm/
Ddlm_internal.h61 #define log_print(fmt, args...) \ argument
62 printk(KERN_ERR "dlm: "fmt"\n" , ##args)
63 #define log_error(ls, fmt, args...) \ argument
64 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args)
66 #define log_rinfo(ls, fmt, args...) \ argument
69 printk(KERN_INFO "dlm: %s: " fmt "\n", \
72 printk(KERN_DEBUG "dlm: %s: " fmt "\n", \
76 #define log_debug(ls, fmt, args...) \ argument
79 printk(KERN_DEBUG "dlm: %s: " fmt "\n", \
83 #define log_limit(ls, fmt, args...) \ argument
[all …]
/fs/ext4/
Dext4.h80 #define ext4_debug(fmt, ...) no_printk(fmt, ##__VA_ARGS__) argument
92 #define ext_debug(ino, fmt, ...) \ argument
93 pr_debug("[%s/%d] EXT4-fs (%s): ino %lu: (%s, %d): %s:" fmt, \
98 #define ext_debug(ino, fmt, ...) no_printk(fmt, ##__VA_ARGS__) argument
3038 unsigned int line, const char *fmt, ...);
3049 #define EXT4_ERROR_INODE(inode, fmt, a...) \ argument
3050 ext4_error_inode((inode), __func__, __LINE__, 0, (fmt), ## a)
3052 #define EXT4_ERROR_INODE_ERR(inode, err, fmt, a...) \ argument
3053 __ext4_error_inode((inode), __func__, __LINE__, 0, (err), (fmt), ## a)
3055 #define ext4_error_inode_block(inode, block, err, fmt, a...) \ argument
[all …]

123456