Lines Matching defs:fmt
142 const char *fmt;
147 vscnprintf(char *buf, size_t size, const char *fmt, va_list args)
152 i = vsnprintf(buf, size, fmt, args);
158 scnprintf(char *buf, size_t size, const char *fmt, ...)
163 va_start(args, fmt);
164 i = vscnprintf(buf, size, fmt, args);
176 #define pr_debug(fmt, ...) \
179 log(LOG_DEBUG, fmt, ##__VA_ARGS__); \
181 #define pr_devel(fmt, ...) \
182 log(LOG_DEBUG, pr_fmt(fmt), ##__VA_ARGS__)
184 #define pr_debug(fmt, ...) \
185 ({ if (0) log(LOG_DEBUG, fmt, ##__VA_ARGS__); 0; })
186 #define pr_devel(fmt, ...) \
187 ({ if (0) log(LOG_DEBUG, pr_fmt(fmt), ##__VA_ARGS__); 0; })
191 #define pr_fmt(fmt) fmt
218 #define pr_emerg(fmt, ...) \
219 log(LOG_EMERG, pr_fmt(fmt), ##__VA_ARGS__)
220 #define pr_alert(fmt, ...) \
221 log(LOG_ALERT, pr_fmt(fmt), ##__VA_ARGS__)
222 #define pr_crit(fmt, ...) \
223 log(LOG_CRIT, pr_fmt(fmt), ##__VA_ARGS__)
224 #define pr_err(fmt, ...) \
225 log(LOG_ERR, pr_fmt(fmt), ##__VA_ARGS__)
226 #define pr_err_once(fmt, ...) \
227 log_once(LOG_ERR, pr_fmt(fmt), ##__VA_ARGS__)
228 #define pr_warning(fmt, ...) \
229 log(LOG_WARNING, pr_fmt(fmt), ##__VA_ARGS__)
232 #define pr_warn_once(fmt, ...) \
233 log_once(LOG_WARNING, pr_fmt(fmt), ##__VA_ARGS__)
234 #define pr_notice(fmt, ...) \
235 log(LOG_NOTICE, pr_fmt(fmt), ##__VA_ARGS__)
236 #define pr_info(fmt, ...) \
237 log(LOG_INFO, pr_fmt(fmt), ##__VA_ARGS__)
238 #define pr_info_once(fmt, ...) \
239 log_once(LOG_INFO, pr_fmt(fmt), ##__VA_ARGS__)
240 #define pr_cont(fmt, ...) \
241 printk(KERN_CONT fmt, ##__VA_ARGS__)