/Linux-v5.4/include/linux/ |
D | printk.h | 88 const char *fmt; member 134 #define no_printk(fmt, ...) \ argument 137 printk(fmt, ##__VA_ARGS__); \ 143 void early_printk(const char *fmt, ...); 165 const char *fmt, va_list args); 168 int vprintk(const char *fmt, va_list args); 171 int printk(const char *fmt, ...); 176 __printf(1, 2) __cold int printk_deferred(const char *fmt, ...); 201 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...); 256 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 | 56 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...); 65 const char *fmt, ...); 72 const char *fmt, ...); 79 const char *fmt, ...); 81 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument 87 .format = (fmt), \ 122 #define __dynamic_func_call(id, fmt, func, ...) do { \ argument 123 DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt); \ 128 #define __dynamic_func_call_no_desc(id, fmt, func, ...) do { \ argument 129 DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt); \ [all …]
|
/Linux-v5.4/net/mac80211/ |
D | debug.h | 85 void __sdata_info(const char *fmt, ...) __printf(1, 2); 86 void __sdata_dbg(bool print, const char *fmt, ...) __printf(2, 3); 87 void __sdata_err(const char *fmt, ...) __printf(1, 2); 88 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) 91 #define _sdata_info(sdata, fmt, ...) \ argument 92 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__) 93 #define _sdata_dbg(print, sdata, fmt, ...) \ argument 94 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__) 95 #define _sdata_err(sdata, fmt, ...) \ argument 96 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__) [all …]
|
D | trace.c | 15 void __sdata_info(const char *fmt, ...) in __sdata_info() argument 18 .fmt = fmt, in __sdata_info() 22 va_start(args, fmt); in __sdata_info() 30 void __sdata_dbg(bool print, const char *fmt, ...) in __sdata_dbg() argument 33 .fmt = fmt, in __sdata_dbg() 37 va_start(args, fmt); in __sdata_dbg() 46 void __sdata_err(const char *fmt, ...) in __sdata_err() argument 49 .fmt = fmt, in __sdata_err() 53 va_start(args, fmt); in __sdata_err() 61 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) in __wiphy_dbg() argument [all …]
|
/Linux-v5.4/include/drm/ |
D | drm_print.h | 100 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va) in drm_vprintf() argument 102 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf() 113 #define drm_printf_indent(printer, indent, fmt, ...) \ argument 114 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__) 289 #define _DRM_PRINTK(once, level, fmt, ...) \ argument 290 printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__) 292 #define DRM_INFO(fmt, ...) \ argument 293 _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__) 294 #define DRM_NOTE(fmt, ...) \ argument 295 _DRM_PRINTK(, NOTICE, fmt, ##__VA_ARGS__) [all …]
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
D | deb_defs.h | 49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument 51 printk(KERN_DEBUG DRV_NAME grpnam "%s: " fmt, \ 54 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 59 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 60 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 63 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument 64 LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s(), " fmt "\n", \ 66 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument 67 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument 68 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | debug.h | 16 #define pr_fmt(fmt) fmt argument 19 #define pr_err(fmt, ...) \ argument 20 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 21 #define pr_warning(fmt, ...) \ argument 22 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 23 #define pr_info(fmt, ...) \ argument 24 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 25 #define pr_debug(fmt, ...) \ argument 26 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) 27 #define pr_debugN(n, fmt, ...) \ argument [all …]
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | defs.h | 51 #define LBS_DEB_LL(grp, grpnam, fmt, args...) \ argument 53 printk(KERN_DEBUG DRV_NAME grpnam "%s: " fmt, \ 56 #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 59 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument 60 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument 61 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument 62 #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) argument 63 #define lbs_deb_ioctl(fmt, args...) LBS_DEB_LL(LBS_DEB_IOCTL, " ioctl", fmt, ##args) argument 64 #define lbs_deb_scan(fmt, args...) LBS_DEB_LL(LBS_DEB_SCAN, " scan", fmt, ##args) argument 65 #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
D | debug.h | 27 #define gvt_err(fmt, args...) \ argument 28 pr_err("gvt: "fmt, ##args) 30 #define gvt_vgpu_err(fmt, args...) \ argument 33 pr_err("gvt: "fmt, ##args); \ 35 pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\ 38 #define gvt_dbg_core(fmt, args...) \ argument 39 pr_debug("gvt: core: "fmt, ##args) 41 #define gvt_dbg_irq(fmt, args...) \ argument 42 pr_debug("gvt: irq: "fmt, ##args) 44 #define gvt_dbg_mm(fmt, args...) \ argument [all …]
|
/Linux-v5.4/fs/cifs/ |
D | cifs_debug.h | 49 #define cifs_info_func(ratefunc, fmt, ...) \ argument 51 pr_info_ ## ratefunc("CIFS: " fmt, ##__VA_ARGS__); \ 54 #define cifs_info(fmt, ...) \ argument 56 cifs_info_func(ratelimited, fmt, ##__VA_ARGS__); \ 60 #define cifs_dbg_func(ratefunc, type, fmt, ...) \ argument 64 fmt, __FILE__, ##__VA_ARGS__); \ 67 fmt, ##__VA_ARGS__); \ 69 pr_debug_ ## ratefunc(fmt, ##__VA_ARGS__); \ 73 #define cifs_dbg(type, fmt, ...) \ argument 77 type, fmt, ##__VA_ARGS__); \ [all …]
|
/Linux-v5.4/tools/perf/ui/ |
D | hist.c | 18 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 20 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ 26 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() argument 42 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt() 44 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt() 70 fmt, len, 0.0); in __hpp__fmt() 73 fmt, len, 0ULL); in __hpp__fmt() 78 ret += hpp__call_print_fn(hpp, print_fn, fmt, len, in __hpp__fmt() 81 ret += hpp__call_print_fn(hpp, print_fn, fmt, in __hpp__fmt() 96 fmt, len, 0.0); in __hpp__fmt() [all …]
|
/Linux-v5.4/drivers/media/pci/cx18/ |
D | cx18-driver.h | 159 #define CX18_DEBUG(x, type, fmt, args...) \ argument 162 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ 164 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument 165 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument 166 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument 167 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument 168 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument 169 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument 170 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument 171 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument [all …]
|
/Linux-v5.4/fs/xfs/ |
D | xfs_message.h | 8 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 …]
|
/Linux-v5.4/fs/jffs2/ |
D | debug.h | 66 #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 …]
|
/Linux-v5.4/arch/alpha/boot/ |
D | stdio.c | 110 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 128 for (str=buf ; *fmt ; ++fmt) { in vsprintf() 129 if (*fmt != '%') { in vsprintf() 130 *str++ = *fmt; in vsprintf() 137 ++fmt; /* this also skips first '%' */ in vsprintf() 138 switch (*fmt) { in vsprintf() 148 if ('0' <= *fmt && *fmt <= '9') in vsprintf() 149 field_width = skip_atoi(&fmt); in vsprintf() 150 else if (*fmt == '*') { in vsprintf() 151 ++fmt; in vsprintf() [all …]
|
/Linux-v5.4/kernel/trace/ |
D | trace_printk.c | 35 const char *fmt; member 38 static inline struct trace_bprintk_fmt *lookup_format(const char *fmt) in lookup_format() argument 42 if (!fmt) in lookup_format() 46 if (!strcmp(pos->fmt, fmt)) in lookup_format() 56 char *fmt; in hold_module_trace_bprintk_format() local 67 *iter = tb_fmt->fmt; in hold_module_trace_bprintk_format() 71 fmt = NULL; in hold_module_trace_bprintk_format() 74 fmt = kmalloc(strlen(*iter) + 1, GFP_KERNEL); in hold_module_trace_bprintk_format() 75 if (fmt) { in hold_module_trace_bprintk_format() 77 strcpy(fmt, *iter); in hold_module_trace_bprintk_format() [all …]
|
/Linux-v5.4/arch/powerpc/boot/ |
D | stdio.c | 146 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 164 for (str=buf ; *fmt ; ++fmt) { in vsprintf() 165 if (*fmt != '%') { in vsprintf() 166 *str++ = *fmt; in vsprintf() 173 ++fmt; /* this also skips first '%' */ in vsprintf() 174 switch (*fmt) { in vsprintf() 184 if ('0' <= *fmt && *fmt <= '9') in vsprintf() 185 field_width = skip_atoi(&fmt); in vsprintf() 186 else if (*fmt == '*') { in vsprintf() 187 ++fmt; in vsprintf() [all …]
|
/Linux-v5.4/arch/x86/boot/ |
D | printf.c | 113 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 128 for (str = buf; *fmt; ++fmt) { in vsprintf() 129 if (*fmt != '%') { in vsprintf() 130 *str++ = *fmt; in vsprintf() 137 ++fmt; /* this also skips first '%' */ in vsprintf() 138 switch (*fmt) { in vsprintf() 158 if (isdigit(*fmt)) in vsprintf() 159 field_width = skip_atoi(&fmt); in vsprintf() 160 else if (*fmt == '*') { in vsprintf() 161 ++fmt; in vsprintf() [all …]
|
/Linux-v5.4/tools/lib/traceevent/ |
D | parse-utils.c | 14 void __vwarning(const char *fmt, va_list ap) in __vwarning() argument 21 vfprintf(stderr, fmt, ap); in __vwarning() 26 void __warning(const char *fmt, ...) in __warning() argument 30 va_start(ap, fmt); in __warning() 31 __vwarning(fmt, ap); in __warning() 35 void __weak warning(const char *fmt, ...) in warning() argument 39 va_start(ap, fmt); in warning() 40 __vwarning(fmt, ap); in warning() 44 void __vpr_stat(const char *fmt, va_list ap) in __vpr_stat() argument 46 vprintf(fmt, ap); in __vpr_stat() [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | debug.c | 21 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err() argument 26 va_start(args, fmt); in __wil_err() 27 vaf.fmt = fmt; in __wil_err() 34 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited() argument 42 va_start(args, fmt); in __wil_err_ratelimited() 43 vaf.fmt = fmt; in __wil_err_ratelimited() 50 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited() argument 58 va_start(args, fmt); in wil_dbg_ratelimited() 59 vaf.fmt = fmt; in wil_dbg_ratelimited() 66 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info() argument [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 58 #define dprintk(fmt, ...) \ argument 61 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \ 64 #define IMAGE_SIZE(fmt) \ argument 65 (((fmt)->count[0] + (fmt)->count[1]) * (fmt)->samples_per_line) 79 *size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_setup() 82 fh->vbi_fmt.fmt.samples_per_line, in vbi_buffer_setup() 83 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup() 84 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup() 85 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup() [all …]
|
/Linux-v5.4/drivers/media/usb/pwc/ |
D | pwc.h | 56 #define PWC_DEBUG_MODULE(fmt, args...) PWC_DEBUG(MODULE, fmt, ##args) argument 57 #define PWC_DEBUG_PROBE(fmt, args...) PWC_DEBUG(PROBE, fmt, ##args) argument 58 #define PWC_DEBUG_OPEN(fmt, args...) PWC_DEBUG(OPEN, fmt, ##args) argument 59 #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) argument 60 #define PWC_DEBUG_MEMORY(fmt, args...) PWC_DEBUG(MEMORY, fmt, ##args) argument 61 #define PWC_DEBUG_FLOW(fmt, args...) PWC_DEBUG(FLOW, fmt, ##args) argument 62 #define PWC_DEBUG_SIZE(fmt, args...) PWC_DEBUG(SIZE, fmt, ##args) argument 63 #define PWC_DEBUG_IOCTL(fmt, args...) PWC_DEBUG(IOCTL, fmt, ##args) argument 64 #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) argument 71 #define PWC_DEBUG(level, fmt, args...) do {\ argument [all …]
|
/Linux-v5.4/fs/ubifs/ |
D | debug.h | 157 #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 …]
|
/Linux-v5.4/drivers/gpio/ |
D | gpiolib.h | 137 #define gpiod_emerg(desc, fmt, ...) \ argument 138 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 140 #define gpiod_crit(desc, fmt, ...) \ argument 141 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 143 #define gpiod_err(desc, fmt, ...) \ argument 144 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 146 #define gpiod_warn(desc, fmt, ...) \ argument 147 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 149 #define gpiod_info(desc, fmt, ...) \ argument 150 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ [all …]
|