/kernel/linux/linux-5.10/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 | 91 const char *fmt; member 137 #define no_printk(fmt, ...) \ argument 140 printk(fmt, ##__VA_ARGS__); \ 146 void early_printk(const char *fmt, ...); 170 const char *fmt, va_list args); 173 int vprintk(const char *fmt, va_list args); 176 int printk(const char *fmt, ...); 181 __printf(1, 2) __cold int printk_deferred(const char *fmt, ...); 206 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...); 260 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 | 57 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...); 66 const char *fmt, ...); 73 const char *fmt, ...); 80 const char *fmt, ...); 82 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument 88 .format = (fmt), \ 123 #define __dynamic_func_call(id, fmt, func, ...) do { \ argument 124 DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt); \ 129 #define __dynamic_func_call_no_desc(id, fmt, func, ...) do { \ argument 130 DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt); \ [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_print.h | 106 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va) in drm_vprintf() argument 108 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf() 119 #define drm_printf_indent(printer, indent, fmt, ...) \ argument 120 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__) 346 #define DRM_DEV_ERROR(dev, fmt, ...) \ argument 347 drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__) 357 #define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \ argument 364 DRM_DEV_ERROR(dev, fmt, ##__VA_ARGS__); \ 367 #define DRM_DEV_INFO(dev, fmt, ...) \ argument 368 drm_dev_printk(dev, KERN_INFO, fmt, ##__VA_ARGS__) [all …]
|
/kernel/linux/linux-5.10/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 ": " fmt, ## args); } while (0) 53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument 63 LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s(), " fmt "\n", \ 65 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument 66 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument 67 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | debug.h | 17 #define pr_fmt(fmt) fmt argument 20 #define pr_err(fmt, ...) \ argument 21 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 22 #define pr_warning(fmt, ...) \ argument 23 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 24 #define pr_info(fmt, ...) \ argument 25 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 26 #define pr_debug(fmt, ...) \ argument 27 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) 28 #define pr_debugN(n, fmt, ...) \ argument [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifs_debug.h | 15 #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 …]
|
/kernel/linux/linux-5.10/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 ": " fmt, ## args); } while (0) 55 #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument 59 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument 60 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument 61 #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) argument 62 #define lbs_deb_ioctl(fmt, args...) LBS_DEB_LL(LBS_DEB_IOCTL, " ioctl", fmt, ##args) argument 63 #define lbs_deb_scan(fmt, args...) LBS_DEB_LL(LBS_DEB_SCAN, " scan", fmt, ##args) argument 64 #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) argument [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
D | zoran_driver.c | 261 static int zoran_enum_fmt(struct zoran *zr, struct v4l2_fmtdesc *fmt, int flag) in zoran_enum_fmt() argument 265 if (fmt->index >= ARRAY_SIZE(zoran_formats)) in zoran_enum_fmt() 267 if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in zoran_enum_fmt() 271 if (zoran_formats[i].flags & flag && num++ == fmt->index) { in zoran_enum_fmt() 272 strscpy(fmt->description, zoran_formats[i].name, in zoran_enum_fmt() 273 sizeof(fmt->description)); in zoran_enum_fmt() 275 fmt->pixelformat = zoran_formats[i].fourcc; in zoran_enum_fmt() 277 fmt->flags |= V4L2_FMT_FLAG_COMPRESSED; in zoran_enum_fmt() 304 struct v4l2_format *fmt) in zoran_g_fmt_vid_out() argument 308 fmt->fmt.pix.width = zr->jpg_settings.img_width / zr->jpg_settings.hor_dcm; in zoran_g_fmt_vid_out() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/include/kunit/ |
D | test.h | 583 void kunit_log_append(char *log, const char *fmt, ...); 589 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument 591 printk(lvl fmt, ##__VA_ARGS__); \ 592 kunit_log_append((test_or_suite)->log, fmt "\n", \ 596 #define kunit_printk(lvl, test, fmt, ...) \ argument 597 kunit_log(lvl, test, KUNIT_SUBTEST_INDENT "# %s: " fmt, \ 609 #define kunit_info(test, fmt, ...) \ argument 610 kunit_printk(KERN_INFO, test, fmt, ##__VA_ARGS__) 620 #define kunit_warn(test, fmt, ...) \ argument 621 kunit_printk(KERN_WARNING, test, fmt, ##__VA_ARGS__) [all …]
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-log.h | 15 #define rnbd_clt_log(fn, dev, fmt, ...) ( \ argument 16 fn("<%s@%s> " fmt, (dev)->pathname, \ 19 #define rnbd_srv_log(fn, dev, fmt, ...) ( \ argument 20 fn("<%s@%s>: " fmt, (dev)->pathname, \ 23 #define rnbd_clt_err(dev, fmt, ...) \ argument 24 rnbd_clt_log(pr_err, dev, fmt, ##__VA_ARGS__) 25 #define rnbd_clt_err_rl(dev, fmt, ...) \ argument 26 rnbd_clt_log(pr_err_ratelimited, dev, fmt, ##__VA_ARGS__) 27 #define rnbd_clt_info(dev, fmt, ...) \ argument 28 rnbd_clt_log(pr_info, dev, fmt, ##__VA_ARGS__) [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
D | debug.c | 10 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err() argument 15 va_start(args, fmt); in __wil_err() 16 vaf.fmt = fmt; in __wil_err() 23 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited() argument 31 va_start(args, fmt); in __wil_err_ratelimited() 32 vaf.fmt = fmt; in __wil_err_ratelimited() 39 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited() argument 47 va_start(args, fmt); in wil_dbg_ratelimited() 48 vaf.fmt = fmt; in wil_dbg_ratelimited() 55 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info() argument [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | cal-video.c | 131 static char *fourcc_to_str(u32 fmt) in fourcc_to_str() argument 135 code[0] = (unsigned char)(fmt & 0xff); in fourcc_to_str() 136 code[1] = (unsigned char)((fmt >> 8) & 0xff); in fourcc_to_str() 137 code[2] = (unsigned char)((fmt >> 16) & 0xff); in fourcc_to_str() 138 code[3] = (unsigned char)((fmt >> 24) & 0xff); in fourcc_to_str() 152 const struct cal_fmt *fmt; in find_format_by_pix() local 156 fmt = ctx->active_fmt[k]; in find_format_by_pix() 157 if (fmt->fourcc == pixelformat) in find_format_by_pix() 158 return fmt; in find_format_by_pix() 167 const struct cal_fmt *fmt; in find_format_by_code() local [all …]
|
/kernel/liteos_a/kernel/include/ |
D | los_printf.h | 51 extern VOID LOS_LkPrint(INT32 level, const CHAR *func, INT32 line, const CHAR *fmt, ...); 69 typedef VOID (*pf_OUTPUT)(const CHAR *fmt, ...); 91 extern void dprintf(const char *fmt, ...); 94 #define PRINT_DEBUG(fmt, args...) LOS_LkPrint(LOS_DEBUG_LEVEL, __FUNCTION__, __LINE__, fmt, ##ar… argument 95 #define PRINT_INFO(fmt, args...) LOS_LkPrint(LOS_INFO_LEVEL, __FUNCTION__, __LINE__, fmt, ##arg… argument 96 #define PRINT_WARN(fmt, args...) LOS_LkPrint(LOS_WARN_LEVEL, __FUNCTION__, __LINE__, fmt, ##arg… argument 97 #define PRINT_ERR(fmt, args...) LOS_LkPrint(LOS_ERR_LEVEL, __FUNCTION__, __LINE__, fmt, ##args) argument 98 #define PRINTK(fmt, args...) LOS_LkPrint(LOS_COMMON_LEVEL, __FUNCTION__, __LINE__, fmt, ##a… argument 99 #define PRINT_EMG(fmt, args...) LOS_LkPrint(LOS_EMG_LEVEL, __FUNCTION__, __LINE__, fmt, ##args) argument 100 #define PRINT_RELEASE(fmt, args...) LOS_LkPrint(LOS_COMMON_LEVEL, __FUNCTION__, __LINE__, fmt, ##a… argument [all …]
|