Home
last modified time | relevance | path

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

1234567

/fs/jffs2/
Ddebug.h67 #define jffs2_dbg(level, fmt, ...) \ argument
70 pr_debug(fmt, ##__VA_ARGS__); \
79 #define JFFS2_ERROR(fmt, ...) \ argument
80 pr_err("error: (%d) %s: " fmt, \
83 #define JFFS2_WARNING(fmt, ...) \ argument
84 pr_warn("warning: (%d) %s: " fmt, \
87 #define JFFS2_NOTICE(fmt, ...) \ argument
88 pr_notice("notice: (%d) %s: " fmt, \
91 #define JFFS2_DEBUG(fmt, ...) \ argument
92 printk(KERN_DEBUG "[JFFS2 DBG] (%d) %s: " fmt, \
[all …]
/fs/xfs/
Dxfs_message.h10 void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...);
12 void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...);
14 void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...);
16 void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...);
18 void xfs_err(const struct xfs_mount *mp, const char *fmt, ...);
20 void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...);
22 void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...);
24 void xfs_info(const struct xfs_mount *mp, const char *fmt, ...);
28 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...);
31 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/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/ntfs3/
Ddebug.h24 void ntfs_printk(const struct super_block *sb, const char *fmt, ...);
26 void ntfs_inode_printk(struct inode *inode, const char *fmt, ...);
29 void ntfs_printk(const struct super_block *sb, const char *fmt, ...) in ntfs_printk() argument
34 void ntfs_inode_printk(struct inode *inode, const char *fmt, ...) in ntfs_inode_printk() argument
43 #define ntfs_err(sb, fmt, ...) ntfs_printk(sb, KERN_ERR fmt, ##__VA_ARGS__) argument
44 #define ntfs_warn(sb, fmt, ...) ntfs_printk(sb, KERN_WARNING fmt, ##__VA_ARGS__) argument
45 #define ntfs_info(sb, fmt, ...) ntfs_printk(sb, KERN_INFO fmt, ##__VA_ARGS__) argument
46 #define ntfs_notice(sb, fmt, ...) \ argument
47 ntfs_printk(sb, KERN_NOTICE fmt, ##__VA_ARGS__)
49 #define ntfs_inode_err(inode, fmt, ...) \ argument
[all …]
/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.h299 void __nilfs_msg(struct super_block *sb, const char *fmt, ...);
302 const char *fmt, ...);
306 #define nilfs_msg(sb, level, fmt, ...) \ argument
307 __nilfs_msg(sb, level fmt, ##__VA_ARGS__)
308 #define nilfs_error(sb, fmt, ...) \ argument
309 __nilfs_error(sb, __func__, fmt, ##__VA_ARGS__)
313 #define nilfs_msg(sb, level, fmt, ...) \ argument
315 no_printk(level fmt, ##__VA_ARGS__); \
318 #define nilfs_error(sb, fmt, ...) \ argument
320 no_printk(fmt, ##__VA_ARGS__); \
[all …]
/fs/btrfs/
Dctree.h1468 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument
1471 btrfs_info(fs_info, fmt, ##args); \
1475 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument
1478 btrfs_info(fs_info, fmt, ##args); \
1505 #define btrfs_set_pending_and_info(info, opt, fmt, args...) \ argument
1508 btrfs_info((info), fmt, ##args); \
1514 #define btrfs_clear_pending_and_info(info, opt, fmt, args...) \ argument
1517 btrfs_info((info), fmt, ##args); \
3345 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() argument
3352 void btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
[all …]
Dtree-checker.c52 const char *fmt, ...) in generic_err() argument
58 va_start(args, fmt); in generic_err()
60 vaf.fmt = fmt; in generic_err()
77 const char *fmt, ...) in file_extent_err() argument
85 va_start(args, fmt); in file_extent_err()
87 vaf.fmt = fmt; in file_extent_err()
137 const char *fmt, ...) in dir_item_err() argument
145 va_start(args, fmt); in dir_item_err()
147 vaf.fmt = fmt; in dir_item_err()
381 #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.h15 const char *fmt, ...);
17 #define ocfs2_error(sb, fmt, ...) \ argument
18 __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
22 const char *fmt, ...);
24 #define ocfs2_abort(sb, fmt, ...) \ argument
25 __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
/fs/ksmbd/
Dglob.h36 #define pr_fmt(fmt) "ksmbd: " SUBMOD_NAME ": " fmt argument
38 #define pr_fmt(fmt) "ksmbd: " fmt argument
41 #define ksmbd_debug(type, fmt, ...) \ argument
44 pr_info(fmt, ##__VA_ARGS__); \
/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/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__)
230 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...);
/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/ocfs2/cluster/
Dmasklog.h151 const char *fmt, ...);
157 #define mlog(mask, fmt, ...) \ argument
161 __mlog_printk(&_m, __func__, __LINE__, fmt, \
165 #define mlog_ratelimited(mask, fmt, ...) \ argument
171 mlog(mask, fmt, ##__VA_ARGS__); \
183 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
186 mlog(ML_ERROR, fmt, ##args); \
/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/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()
/fs/dlm/
Ddlm_internal.h62 #define log_print(fmt, args...) \ argument
63 printk(KERN_ERR "dlm: "fmt"\n" , ##args)
64 #define log_print_ratelimited(fmt, args...) \ argument
65 printk_ratelimited(KERN_ERR "dlm: "fmt"\n", ##args)
66 #define log_error(ls, fmt, args...) \ argument
67 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args)
69 #define log_rinfo(ls, fmt, args...) \ argument
72 printk(KERN_INFO "dlm: %s: " fmt "\n", \
75 printk(KERN_DEBUG "dlm: %s: " fmt "\n", \
79 #define log_debug(ls, fmt, args...) \ argument
[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()
164 if (fmt->flags & MISC_FMT_OPEN_BINARY) in load_misc_binary()
174 retval = copy_string_kernel(fmt->interpreter, bprm); in load_misc_binary()
180 retval = bprm_change_interp(fmt->interpreter, bprm); in load_misc_binary()
[all …]
/fs/nfs/
Dinternal.h152 #define nfs_errorf(fc, fmt, ...) ((fc)->log.log ? \ argument
153 errorf(fc, fmt, ## __VA_ARGS__) : \
154 ({ dprintk(fmt "\n", ## __VA_ARGS__); }))
156 #define nfs_ferrorf(fc, fac, fmt, ...) ((fc)->log.log ? \ argument
157 errorf(fc, fmt, ## __VA_ARGS__) : \
158 ({ dfprintk(fac, fmt "\n", ## __VA_ARGS__); }))
160 #define nfs_invalf(fc, fmt, ...) ((fc)->log.log ? \ argument
161 invalf(fc, fmt, ## __VA_ARGS__) : \
162 ({ dprintk(fmt "\n", ## __VA_ARGS__); -EINVAL; }))
164 #define nfs_finvalf(fc, fac, fmt, ...) ((fc)->log.log ? \ argument
[all …]

1234567