| /include/linux/ |
| D | dev_printk.h | 19 #define dev_fmt(fmt) fmt argument 36 const char *fmt, va_list args); 38 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...); 42 const char *fmt, ...); 44 void _dev_emerg(const struct device *dev, const char *fmt, ...); 46 void _dev_alert(const struct device *dev, const char *fmt, ...); 48 void _dev_crit(const struct device *dev, const char *fmt, ...); 50 void _dev_err(const struct device *dev, const char *fmt, ...); 52 void _dev_warn(const struct device *dev, const char *fmt, ...); 54 void _dev_notice(const struct device *dev, const char *fmt, ...); [all …]
|
| D | printk.h | 86 const char *fmt; member 132 #define no_printk(fmt, ...) \ argument 135 _printk(fmt, ##__VA_ARGS__); \ 141 void early_printk(const char *fmt, ...); 153 const char *fmt, va_list args); 156 int vprintk(const char *fmt, va_list args); 159 int _printk(const char *fmt, ...); 164 __printf(1, 2) __cold int _printk_deferred(const char *fmt, ...); 196 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...); 265 static inline __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...) in dump_stack_set_arch_desc() argument [all …]
|
| D | dynamic_debug.h | 141 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...); 147 const char *fmt, ...); 154 const char *fmt, ...); 161 const char *fmt, ...); 163 #define DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, cls, fmt) \ argument 169 .format = (fmt), \ 178 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument 179 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, _DPRINTK_CLASS_DFLT, fmt) 221 #define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \ argument 222 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \ [all …]
|
| D | fs_context.h | 189 void logfc(struct fc_log *log, const char *prefix, char level, const char *fmt, ...); 191 #define __logfc(fc, l, fmt, ...) logfc((fc)->log.log, NULL, \ argument 192 l, fmt, ## __VA_ARGS__) 193 #define __plog(p, l, fmt, ...) logfc((p)->log, (p)->prefix, \ argument 194 l, fmt, ## __VA_ARGS__) 203 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) argument 204 #define info_plog(p, fmt, ...) __plog(p, 'i', fmt, ## __VA_ARGS__) argument 205 #define infofc(fc, fmt, ...) __plog((&(fc)->log), 'i', fmt, ## __VA_ARGS__) argument 215 #define warnf(fc, fmt, ...) __logfc(fc, 'w', fmt, ## __VA_ARGS__) argument 216 #define warn_plog(p, fmt, ...) __plog(p, 'w', fmt, ## __VA_ARGS__) argument [all …]
|
| D | kernel.h | 232 void ____trace_printk_check_format(const char *fmt, ...) in ____trace_printk_check_format() argument 235 #define __trace_printk_check_format(fmt, args...) \ argument 238 ____trace_printk_check_format(fmt, ##args); \ 271 #define trace_printk(fmt, ...) \ argument 275 do_trace_printk(fmt, ##__VA_ARGS__); \ 277 trace_puts(fmt); \ 280 #define do_trace_printk(fmt, args...) \ argument 284 __builtin_constant_p(fmt) ? fmt : NULL; \ 286 __trace_printk_check_format(fmt, ##args); \ 288 if (__builtin_constant_p(fmt)) \ [all …]
|
| D | sprintf.h | 11 __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); 13 __printf(3, 4) int snprintf(char *buf, size_t size, const char *fmt, ...); 14 __printf(3, 0) int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); 15 __printf(3, 4) int scnprintf(char *buf, size_t size, const char *fmt, ...); 16 __printf(3, 0) int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); 17 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...); 18 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args); 19 __printf(2, 0) const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list args);
|
| D | wakeup_reason.h | 26 void log_suspend_abort_reason(const char *fmt, ...); 27 void log_abnormal_wakeup_reason(const char *fmt, ...); 32 static inline void log_suspend_abort_reason(const char *fmt, ...) { } in log_suspend_abort_reason() argument 33 static inline void log_abnormal_wakeup_reason(const char *fmt, ...) { } in log_abnormal_wakeup_reason() argument
|
| D | vbox_utils.h | 16 __printf(1, 2) void vbg_info(const char *fmt, ...); 17 __printf(1, 2) void vbg_warn(const char *fmt, ...); 18 __printf(1, 2) void vbg_err(const char *fmt, ...); 19 __printf(1, 2) void vbg_err_ratelimited(const char *fmt, ...); 23 __printf(1, 2) void vbg_debug(const char *fmt, ...);
|
| D | net.h | 281 #define net_emerg_ratelimited(fmt, ...) \ argument 282 net_ratelimited_function(pr_emerg, fmt, ##__VA_ARGS__) 283 #define net_alert_ratelimited(fmt, ...) \ argument 284 net_ratelimited_function(pr_alert, fmt, ##__VA_ARGS__) 285 #define net_crit_ratelimited(fmt, ...) \ argument 286 net_ratelimited_function(pr_crit, fmt, ##__VA_ARGS__) 287 #define net_err_ratelimited(fmt, ...) \ argument 288 net_ratelimited_function(pr_err, fmt, ##__VA_ARGS__) 289 #define net_notice_ratelimited(fmt, ...) \ argument 290 net_ratelimited_function(pr_notice, fmt, ##__VA_ARGS__) [all …]
|
| D | suspend.h | 580 #define pr_fmt(fmt) "PM: " fmt argument 582 #define __pm_pr_dbg(fmt, ...) \ argument 585 printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); \ 587 pr_debug(fmt, ##__VA_ARGS__); \ 589 #define __pm_deferred_pr_dbg(fmt, ...) \ argument 592 printk_deferred(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); \ 600 #define __pm_pr_dbg(fmt, ...) \ argument 601 no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) 602 #define __pm_deferred_pr_dbg(fmt, ...) \ argument 603 no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) [all …]
|
| D | blktrace_api.h | 34 struct cgroup_subsys_state *css, const char *fmt, ...); 49 #define blk_add_cgroup_trace_msg(q, css, fmt, ...) \ argument 56 __blk_trace_note_message(bt, css, fmt, ##__VA_ARGS__);\ 59 #define blk_add_trace_msg(q, fmt, ...) \ argument 60 blk_add_cgroup_trace_msg(q, NULL, fmt, ##__VA_ARGS__) 88 # define blk_add_trace_msg(q, fmt, ...) do { } while (0) argument 89 # define blk_add_cgroup_trace_msg(q, cg, fmt, ...) do { } while (0) argument
|
| D | device-mapper.h | 649 #define DM_FMT(fmt) DM_NAME ": " DM_MSG_PREFIX ": " fmt "\n" argument 651 #define DMCRIT(fmt, ...) pr_crit(DM_FMT(fmt), ##__VA_ARGS__) argument 653 #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##__VA_ARGS__) argument 654 #define DMERR_LIMIT(fmt, ...) pr_err_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument 655 #define DMWARN(fmt, ...) pr_warn(DM_FMT(fmt), ##__VA_ARGS__) argument 656 #define DMWARN_LIMIT(fmt, ...) pr_warn_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument 657 #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##__VA_ARGS__) argument 658 #define DMINFO_LIMIT(fmt, ...) pr_info_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument 660 #define DMDEBUG(fmt, ...) pr_debug(DM_FMT(fmt), ##__VA_ARGS__) argument 661 #define DMDEBUG_LIMIT(fmt, ...) pr_debug_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument
|
| D | coredump.h | 61 #define coredump_report(fmt, ...) __COREDUMP_PRINTK(KERN_INFO, fmt, ##__VA_ARGS__) argument 62 #define coredump_report_failure(fmt, ...) __COREDUMP_PRINTK(KERN_WARNING, fmt, ##__VA_ARGS__) argument
|
| D | binfmts.h | 105 extern void __register_binfmt(struct linux_binfmt *fmt, int insert); 108 static inline void register_binfmt(struct linux_binfmt *fmt) in register_binfmt() argument 110 __register_binfmt(fmt, 0); in register_binfmt() 113 static inline void insert_binfmt(struct linux_binfmt *fmt) in insert_binfmt() argument 115 __register_binfmt(fmt, 1); in insert_binfmt()
|
| /include/uapi/linux/media/raspberrypi/ |
| D | pisp_common.h | 95 #define PISP_IMAGE_FORMAT_BPS_8(fmt) \ argument 96 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_8) 97 #define PISP_IMAGE_FORMAT_BPS_10(fmt) \ argument 98 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_10) 99 #define PISP_IMAGE_FORMAT_BPS_12(fmt) \ argument 100 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_12) 101 #define PISP_IMAGE_FORMAT_BPS_16(fmt) \ argument 102 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_16) 103 #define PISP_IMAGE_FORMAT_BPS(fmt) \ argument 104 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) ? \ [all …]
|
| /include/drm/ |
| D | drm_print.h | 206 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va) in drm_vprintf() argument 208 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf() 219 #define drm_printf_indent(printer, indent, fmt, ...) \ argument 220 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__) 436 #define DRM_DEV_ERROR(dev, fmt, ...) \ argument 437 drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__) 450 #define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \ argument 457 DRM_DEV_ERROR(dev, fmt, ##__VA_ARGS__); \ 461 #define DRM_DEV_INFO(dev, fmt, ...) \ argument 462 drm_dev_printk(dev, KERN_INFO, fmt, ##__VA_ARGS__) [all …]
|
| /include/linux/ceph/ |
| D | ceph_debug.h | 5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 18 # define dout(fmt, ...) \ argument 19 pr_debug("%.*s %12.12s:%-4d : " fmt, \ 22 # define doutc(client, fmt, ...) \ argument 23 pr_debug("%.*s %12.12s:%-4d : [%pU %llu] " fmt, \ 30 # define dout(fmt, ...) \ argument 31 no_printk(KERN_DEBUG fmt, ##__VA_ARGS__) 32 # define doutc(client, fmt, ...) \ argument 33 no_printk(KERN_DEBUG "[%pU %llu] " fmt, \ 44 # define dout(fmt, ...) pr_debug(" " fmt, ##__VA_ARGS__) argument [all …]
|
| /include/linux/sunrpc/ |
| D | debug.h | 24 #define dprintk(fmt, ...) \ argument 25 dfprintk(FACILITY, fmt, ##__VA_ARGS__) 26 #define dprintk_cont(fmt, ...) \ argument 27 dfprintk_cont(FACILITY, fmt, ##__VA_ARGS__) 28 #define dprintk_rcu(fmt, ...) \ argument 29 dfprintk_rcu(FACILITY, fmt, ##__VA_ARGS__) 30 #define dprintk_rcu_cont(fmt, ...) \ argument 31 dfprintk_rcu_cont(FACILITY, fmt, ##__VA_ARGS__) 37 # define dfprintk(fac, fmt, ...) \ argument 40 printk(KERN_DEFAULT fmt, ##__VA_ARGS__); \ [all …]
|
| /include/net/ |
| D | net_debug.h | 28 #define netdev_level_once(level, dev, fmt, ...) \ argument 34 netdev_printk(level, dev, fmt, ##__VA_ARGS__); \ 38 #define netdev_emerg_once(dev, fmt, ...) \ argument 39 netdev_level_once(KERN_EMERG, dev, fmt, ##__VA_ARGS__) 40 #define netdev_alert_once(dev, fmt, ...) \ argument 41 netdev_level_once(KERN_ALERT, dev, fmt, ##__VA_ARGS__) 42 #define netdev_crit_once(dev, fmt, ...) \ argument 43 netdev_level_once(KERN_CRIT, dev, fmt, ##__VA_ARGS__) 44 #define netdev_err_once(dev, fmt, ...) \ argument 45 netdev_level_once(KERN_ERR, dev, fmt, ##__VA_ARGS__) [all …]
|
| /include/kunit/ |
| D | test.h | 560 void __printf(2, 3) kunit_log_append(struct string_stream *log, const char *fmt, ...); 573 #define kunit_mark_skipped(test_or_suite, fmt, ...) \ argument 578 fmt, ##__VA_ARGS__); \ 592 #define kunit_skip(test_or_suite, fmt, ...) \ argument 594 kunit_mark_skipped((test_or_suite), fmt, ##__VA_ARGS__);\ 602 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument 604 printk(lvl fmt, ##__VA_ARGS__); \ 605 kunit_log_append((test_or_suite)->log, fmt, \ 609 #define kunit_printk(lvl, test, fmt, ...) \ argument 610 kunit_log(lvl, test, KUNIT_SUBTEST_INDENT "# %s: " fmt, \ [all …]
|
| D | test-bug.h | 58 #define kunit_fail_current_test(fmt, ...) do { \ argument 62 fmt, ##__VA_ARGS__); \ 70 #define kunit_fail_current_test(fmt, ...) do {} while (0) argument
|
| /include/media/ |
| D | v4l2-common.h | 23 #define v4l_printk(level, name, adapter, addr, fmt, arg...) \ argument 24 printk(level "%s %d-%04x: " fmt, name, i2c_adapter_id(adapter), addr , ## arg) 26 #define v4l_client_printk(level, client, fmt, arg...) \ argument 28 (client)->addr, fmt , ## arg) 30 #define v4l_err(client, fmt, arg...) \ argument 31 v4l_client_printk(KERN_ERR, client, fmt , ## arg) 33 #define v4l_warn(client, fmt, arg...) \ argument 34 v4l_client_printk(KERN_WARNING, client, fmt , ## arg) 36 #define v4l_info(client, fmt, arg...) \ argument 37 v4l_client_printk(KERN_INFO, client, fmt , ## arg) [all …]
|
| /include/acpi/ |
| D | nhlt.h | 46 #define __acpi_nhlt_next_fmtcfg(fmt) \ argument 47 ((void *)((u8 *)((fmt) + 1) + (fmt)->config.capabilities_size)) 49 #define __acpi_nhlt_get_fmtcfg(fmts, fmt, i) \ argument 50 ((i) ? __acpi_nhlt_next_fmtcfg(fmt) : __acpi_nhlt_first_fmtcfg(fmts)) 74 #define for_each_nhlt_fmtcfg(fmts, fmt) \ argument 77 (fmt = __acpi_nhlt_get_fmtcfg(fmts, fmt, __i)); \ 85 #define for_each_nhlt_endpoint_fmtcfg(ep, fmt) \ argument 86 for_each_nhlt_fmtcfg(acpi_nhlt_endpoint_fmtscfg(ep), fmt)
|
| /include/net/bluetooth/ |
| D | bluetooth.h | 246 void bt_info(const char *fmt, ...); 248 void bt_warn(const char *fmt, ...); 250 void bt_err(const char *fmt, ...); 255 void bt_dbg(const char *fmt, ...); 258 void bt_warn_ratelimited(const char *fmt, ...); 260 void bt_err_ratelimited(const char *fmt, ...); 262 #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) argument 263 #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__) argument 264 #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__) argument 267 #define BT_DBG(fmt, ...) bt_dbg(fmt "\n", ##__VA_ARGS__) argument [all …]
|
| /include/media/drv-intf/ |
| D | saa7146.h | 31 #define ERR(fmt, ...) pr_err("%s: " fmt, __func__, ##__VA_ARGS__) argument 33 #define _DBG(mask, fmt, ...) \ argument 36 pr_debug("%s(): " fmt, __func__, ##__VA_ARGS__); \ 40 #define DEB_S(fmt, ...) _DBG(0x01, fmt, ##__VA_ARGS__) argument 42 #define DEB_D(fmt, ...) _DBG(0x02, fmt, ##__VA_ARGS__) argument 44 #define DEB_EE(fmt, ...) _DBG(0x04, fmt, ##__VA_ARGS__) argument 46 #define DEB_I2C(fmt, ...) _DBG(0x08, fmt, ##__VA_ARGS__) argument 48 #define DEB_VBI(fmt, ...) _DBG(0x10, fmt, ##__VA_ARGS__) argument 50 #define DEB_INT(fmt, ...) _DBG(0x20, fmt, ##__VA_ARGS__) argument 52 #define DEB_CAP(fmt, ...) _DBG(0x40, fmt, ##__VA_ARGS__) argument
|