Home
last modified time | relevance | path

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

123

/fs/jffs2/
Ddebug.h81 #define JFFS2_ERROR(fmt, ...) \ argument
84 " (%d) %s: " fmt, task_pid_nr(current), \
88 #define JFFS2_WARNING(fmt, ...) \ argument
91 " (%d) %s: " fmt, task_pid_nr(current), \
95 #define JFFS2_NOTICE(fmt, ...) \ argument
98 " (%d) %s: " fmt, task_pid_nr(current), \
102 #define JFFS2_DEBUG(fmt, ...) \ argument
105 " (%d) %s: " fmt, task_pid_nr(current), \
115 #define dbg_readinode(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__) argument
117 #define dbg_readinode(fmt, ...) argument
[all …]
/fs/ubifs/
Ddebug.h106 #define dbg_msg(fmt, ...) do { \ argument
108 printk(KERN_DEBUG "UBIFS DBG (pid %d): %s: " fmt "\n", current->pid, \
113 #define dbg_do_msg(typ, fmt, ...) do { \ argument
115 dbg_msg(fmt, ##__VA_ARGS__); \
118 #define dbg_err(fmt, ...) do { \ argument
120 ubifs_err(fmt, ##__VA_ARGS__); \
137 #define dbg_gen(fmt, ...) dbg_do_msg(UBIFS_MSG_GEN, fmt, ##__VA_ARGS__) argument
140 #define dbg_jnl(fmt, ...) dbg_do_msg(UBIFS_MSG_JNL, fmt, ##__VA_ARGS__) argument
143 #define dbg_tnc(fmt, ...) dbg_do_msg(UBIFS_MSG_TNC, fmt, ##__VA_ARGS__) argument
146 #define dbg_lp(fmt, ...) dbg_do_msg(UBIFS_MSG_LP, fmt, ##__VA_ARGS__) argument
[all …]
/fs/jfs/
Djfs_debug.h68 #define jfs_info(fmt, arg...) do { \ argument
70 printk(KERN_INFO fmt "\n", ## arg); \
74 #define jfs_debug(fmt, arg...) do { \ argument
76 printk(KERN_DEBUG fmt "\n", ## arg); \
80 #define jfs_warn(fmt, arg...) do { \ argument
82 printk(KERN_WARNING fmt "\n", ## arg); \
86 #define jfs_err(fmt, arg...) do { \ argument
88 printk(KERN_ERR fmt "\n", ## arg); \
97 #define jfs_info(fmt, arg...) do {} while (0) argument
98 #define jfs_debug(fmt, arg...) do {} while (0) argument
[all …]
/fs/gfs2/locking/dlm/
Dlock_dlm.h117 #define gdlm_assert(assertion, fmt, args...) \ argument
121 "lock_dlm: " fmt "\n", \
127 #define log_print(lev, fmt, arg...) printk(lev "lock_dlm: " fmt "\n" , ## arg) argument
128 #define log_info(fmt, arg...) log_print(KERN_INFO , fmt , ## arg) argument
129 #define log_error(fmt, arg...) log_print(KERN_ERR , fmt , ## arg) argument
131 #define log_debug(fmt, arg...) log_print(KERN_DEBUG , fmt , ## arg) argument
133 #define log_debug(fmt, arg...) argument
/fs/ntfs/
Ddebug.c51 const char *fmt, ...) in __ntfs_warning() argument
63 va_start(args, fmt); in __ntfs_warning()
64 vsnprintf(err_buf, sizeof(err_buf), fmt, args); in __ntfs_warning()
95 const char *fmt, ...) in __ntfs_error() argument
107 va_start(args, fmt); in __ntfs_error()
108 vsnprintf(err_buf, sizeof(err_buf), fmt, args); in __ntfs_error()
125 const char *fmt, ...) in __ntfs_debug() argument
135 va_start(args, fmt); in __ntfs_debug()
136 vsnprintf(err_buf, sizeof(err_buf), fmt, args); in __ntfs_debug()
Ddebug.h56 const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
60 const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
/fs/ocfs2/
Dsuper.h36 const char *fmt, ...)
39 #define ocfs2_error(sb, fmt, args...) __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##args) argument
43 const char *fmt, ...)
46 #define ocfs2_abort(sb, fmt, args...) __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##args) argument
/fs/ocfs2/cluster/
Dmasklog.h196 #define __mlog_printk(level, fmt, args...) \ argument
197 printk(level "(%u,%lu):%s:%d " fmt, task_pid_nr(current), \
201 #define mlog(mask, fmt, args...) do { \ argument
207 __mlog_printk(KERN_ERR, "ERROR: "fmt , ##args); \
209 __mlog_printk(KERN_NOTICE, fmt , ##args); \
210 else __mlog_printk(KERN_INFO, fmt , ##args); \
222 #define mlog_entry(fmt, args...) do { \ argument
223 mlog(ML_ENTRY, "ENTRY:" fmt , ##args); \
273 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
276 mlog(ML_ERROR, fmt, ##args); \
/fs/gfs2/
Dutil.h15 #define fs_printk(level, fs, fmt, arg...) \ argument
16 printk(level "GFS2: fsid=%s: " fmt , (fs)->sd_fsname , ## arg)
18 #define fs_info(fs, fmt, arg...) \ argument
19 fs_printk(KERN_INFO , fs , fmt , ## arg)
21 #define fs_warn(fs, fmt, arg...) \ argument
22 fs_printk(KERN_WARNING , fs , fmt , ## arg)
24 #define fs_err(fs, fmt, arg...) \ argument
25 fs_printk(KERN_ERR, fs , fmt , ## arg)
168 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...);
Dutil.c36 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) in gfs2_lm_withdraw() argument
43 va_start(args, fmt); in gfs2_lm_withdraw()
44 vprintk(fmt, args); in gfs2_lm_withdraw()
/fs/xfs/support/
Ddebug.c40 cmn_err(register int level, char *fmt, ...) in cmn_err() argument
42 char *fp = fmt; in cmn_err()
51 va_start(ap, fmt); in cmn_err()
52 if (*fmt == '!') fp++; in cmn_err()
68 char *fmt, in xfs_fs_vcmn_err() argument
91 len = vsnprintf(message + len, sizeof(message) - len, fmt, ap); in xfs_fs_vcmn_err()
/fs/reiserfs/
Dprints.c160 static char *is_there_reiserfs_struct(char *fmt, int *what, int *skip) in is_there_reiserfs_struct() argument
162 char *k = fmt; in is_there_reiserfs_struct()
191 static void prepare_error_buf(const char *fmt, va_list args) in prepare_error_buf() argument
198 strcpy(fmt1, fmt); in prepare_error_buf()
259 #define do_reiserfs_warning(fmt)\ argument
262 va_start( args, fmt );\
263 prepare_error_buf( fmt, args );\
267 void reiserfs_warning(struct super_block *sb, const char *fmt, ...) in reiserfs_warning() argument
269 do_reiserfs_warning(fmt); in reiserfs_warning()
278 void reiserfs_info(struct super_block *sb, const char *fmt, ...) in reiserfs_info() argument
[all …]
/fs/xfs/
Dxfs_error.h164 char *fmt, va_list ap)
167 char *fmt, ...)
169 extern void xfs_fs_cmn_err(int level, struct xfs_mount *mp, char *fmt, ...)
174 #define xfs_fs_repair_cmn_err(level, mp, fmt, args...) \ argument
175 xfs_fs_cmn_err(level, mp, fmt " Unmount and run xfs_repair.", ## args)
177 #define xfs_fs_mount_cmn_err(f, fmt, args...) \ argument
178 ((f & XFS_MFSI_QUIET)? (void)0 : cmn_err(CE_WARN, "XFS: " fmt, ## args))
Dxfs_error.c158 xfs_fs_cmn_err(int level, xfs_mount_t *mp, char *fmt, ...) in xfs_fs_cmn_err() argument
162 va_start(ap, fmt); in xfs_fs_cmn_err()
163 xfs_fs_vcmn_err(level, mp, fmt, ap); in xfs_fs_cmn_err()
168 xfs_cmn_err(int panic_tag, int level, xfs_mount_t *mp, char *fmt, ...) in xfs_cmn_err() argument
182 va_start(ap, fmt); in xfs_cmn_err()
183 xfs_fs_vcmn_err(level, mp, fmt, ap); in xfs_cmn_err()
/fs/autofs4/
Dautofs_i.h42 #define DPRINTK(fmt, args...) \ argument
44 printk(KERN_DEBUG "pid %d: %s: " fmt "\n", \
48 #define DPRINTK(fmt, args...) do {} while (0) argument
51 #define AUTOFS_WARN(fmt, args...) \ argument
53 printk(KERN_WARNING "pid %d: %s: " fmt "\n", \
57 #define AUTOFS_ERROR(fmt, args...) \ argument
59 printk(KERN_ERR "pid %d: %s: " fmt "\n", \
/fs/befs/
Ddebug.c28 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error() argument
37 va_start(args, fmt); in befs_error()
38 vsnprintf(err_buf, ERRBUFSIZE, fmt, args); in befs_error()
46 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning() argument
55 va_start(args, fmt); in befs_warning()
56 vsnprintf(err_buf, ERRBUFSIZE, fmt, args); in befs_warning()
65 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug() argument
80 va_start(args, fmt); in befs_debug()
81 vsnprintf(err_buf, ERRBUFSIZE, fmt, args); in befs_debug()
Dbefs.h91 void befs_error(const struct super_block *sb, const char *fmt, ...);
92 void befs_warning(const struct super_block *sb, const char *fmt, ...);
93 void befs_debug(const struct super_block *sb, const char *fmt, ...);
/fs/configfs/
Ditem.c65 int config_item_set_name(struct config_item * item, const char * fmt, ...) in config_item_set_name() argument
76 va_start(args,fmt); in config_item_set_name()
77 need = vsnprintf(item->ci_namebuf,limit,fmt,args); in config_item_set_name()
91 va_start(args,fmt); in config_item_set_name()
92 need = vsnprintf(name,limit,fmt,args); in config_item_set_name()
/fs/
Dexec.c73 int register_binfmt(struct linux_binfmt * fmt) in register_binfmt() argument
75 if (!fmt) in register_binfmt()
78 list_add(&fmt->lh, &formats); in register_binfmt()
85 void unregister_binfmt(struct linux_binfmt * fmt) in unregister_binfmt() argument
88 list_del(&fmt->lh); in unregister_binfmt()
94 static inline void put_binfmt(struct linux_binfmt * fmt) in put_binfmt() argument
96 module_put(fmt->module); in put_binfmt()
143 struct linux_binfmt * fmt; in SYSCALL_DEFINE1() local
146 list_for_each_entry(fmt, &formats, lh) { in SYSCALL_DEFINE1()
147 if (!fmt->load_shlib) in SYSCALL_DEFINE1()
[all …]
Dbinfmt_misc.c108 Node *fmt; in load_misc_binary() local
125 fmt = check_file(bprm); in load_misc_binary()
126 if (fmt) in load_misc_binary()
127 strlcpy(iname, fmt->interpreter, BINPRM_BUF_SIZE); in load_misc_binary()
129 if (!fmt) in load_misc_binary()
132 if (!(fmt->flags & MISC_FMT_PRESERVE_ARGV0)) { in load_misc_binary()
138 if (fmt->flags & MISC_FMT_OPEN_BINARY) { in load_misc_binary()
187 if (fmt->flags & MISC_FMT_CREDENTIALS) { in load_misc_binary()
/fs/adfs/
Dadfs.h77 const char *fmt, ...);
78 #define adfs_error(sb, fmt...) __adfs_error(sb, __func__, fmt) argument
/fs/dlm/
Ddlm_internal.h65 #define log_print(fmt, args...) \ argument
66 printk(KERN_ERR "dlm: "fmt"\n" , ##args)
67 #define log_error(ls, fmt, args...) \ argument
68 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args)
70 #define log_debug(ls, fmt, args...) \ argument
73 printk(KERN_DEBUG "dlm: %s: " fmt "\n", \
/fs/ext4/
Dmballoc.h44 #define mb_debug(fmt, a...) printk(fmt, ##a) argument
46 #define mb_debug(fmt, a...) argument
/fs/affs/
Damigaffs.c445 affs_error(struct super_block *sb, const char *function, const char *fmt, ...) in affs_error() argument
449 va_start(args,fmt); in affs_error()
450 vsnprintf(ErrorBuffer,sizeof(ErrorBuffer),fmt,args); in affs_error()
461 affs_warning(struct super_block *sb, const char *function, const char *fmt, ...) in affs_warning() argument
465 va_start(args,fmt); in affs_warning()
466 vsnprintf(ErrorBuffer,sizeof(ErrorBuffer),fmt,args); in affs_warning()
/fs/fat/
Dmisc.c22 void fat_fs_error(struct super_block *s, const char *fmt, ...) in fat_fs_error() argument
30 va_start(args, fmt); in fat_fs_error()
31 vprintk(fmt, args); in fat_fs_error()

123