Home
last modified time | relevance | path

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

12345678910>>...137

/linux-6.1.9/include/linux/
Ddev_printk.h19 #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 …]
Dprintk.h82 const char *fmt; member
128 #define no_printk(fmt, ...) \ argument
131 printk(fmt, ##__VA_ARGS__); \
137 void early_printk(const char *fmt, ...);
149 const char *fmt, va_list args);
152 int vprintk(const char *fmt, va_list args);
155 int _printk(const char *fmt, ...);
160 __printf(1, 2) __cold int _printk_deferred(const char *fmt, ...);
191 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...);
254 static inline __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...) in dump_stack_set_arch_desc() argument
[all …]
Ddynamic_debug.h137 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
146 const char *fmt, ...);
153 const char *fmt, ...);
160 const char *fmt, ...);
162 #define DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, cls, fmt) \ argument
168 .format = (fmt), \
177 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument
178 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, _DPRINTK_CLASS_DFLT, fmt)
220 #define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \ argument
221 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
[all …]
/linux-6.1.9/net/mac80211/
Ddebug.h89 void __sdata_info(const char *fmt, ...) __printf(1, 2);
90 void __sdata_dbg(bool print, const char *fmt, ...) __printf(2, 3);
91 void __sdata_err(const char *fmt, ...) __printf(1, 2);
92 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...)
95 #define _sdata_info(sdata, fmt, ...) \ argument
96 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
97 #define _sdata_dbg(print, sdata, fmt, ...) \ argument
98 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__)
99 #define _sdata_err(sdata, fmt, ...) \ argument
100 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
[all …]
/linux-6.1.9/include/drm/
Ddrm_print.h107 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va) in drm_vprintf() argument
109 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf()
120 #define drm_printf_indent(printer, indent, fmt, ...) \ argument
121 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__)
370 #define DRM_DEV_ERROR(dev, fmt, ...) \ argument
371 drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__)
384 #define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \ argument
391 DRM_DEV_ERROR(dev, fmt, ##__VA_ARGS__); \
395 #define DRM_DEV_INFO(dev, fmt, ...) \ argument
396 drm_dev_printk(dev, KERN_INFO, fmt, ##__VA_ARGS__)
[all …]
/linux-6.1.9/fs/xfs/
Dxfs_message.h11 const char *fmt, ...);
13 #define xfs_printk_index_wrap(kern_level, mp, fmt, ...) \ argument
15 printk_index_subsys_emit("%sXFS%s: ", kern_level, fmt); \
16 xfs_printk_level(kern_level, mp, fmt, ##__VA_ARGS__); \
18 #define xfs_emerg(mp, fmt, ...) \ argument
19 xfs_printk_index_wrap(KERN_EMERG, mp, fmt, ##__VA_ARGS__)
20 #define xfs_alert(mp, fmt, ...) \ argument
21 xfs_printk_index_wrap(KERN_ALERT, mp, fmt, ##__VA_ARGS__)
22 #define xfs_crit(mp, fmt, ...) \ argument
23 xfs_printk_index_wrap(KERN_CRIT, mp, fmt, ##__VA_ARGS__)
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/libertas_tf/
Ddeb_defs.h49 #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 …]
/linux-6.1.9/fs/jffs2/
Ddebug.h67 #define jffs2_dbg(level, fmt, ...) \ argument
70 pr_debug(fmt, ##__VA_ARGS__); \
79 #define JFFS2_ERROR(fmt, ...) \ argument
80 pr_err("error: (%d) %s: " fmt, \
83 #define JFFS2_WARNING(fmt, ...) \ argument
84 pr_warn("warning: (%d) %s: " fmt, \
87 #define JFFS2_NOTICE(fmt, ...) \ argument
88 pr_notice("notice: (%d) %s: " fmt, \
91 #define JFFS2_DEBUG(fmt, ...) \ argument
92 printk(KERN_DEBUG "[JFFS2 DBG] (%d) %s: " fmt, \
[all …]
/linux-6.1.9/tools/perf/util/
Ddebug.h18 #define pr_fmt(fmt) fmt argument
21 #define pr_err(fmt, ...) \ argument
22 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
23 #define pr_warning(fmt, ...) \ argument
24 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
25 #define pr_warning_once(fmt, ...) ({ \ argument
28 pr_warning(fmt, ##__VA_ARGS__); \
32 #define pr_info(fmt, ...) \ argument
33 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
34 #define pr_debug(fmt, ...) \ argument
[all …]
/linux-6.1.9/fs/cifs/
Dcifs_debug.h15 #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 …]
/linux-6.1.9/drivers/media/pci/zoran/
Dzoran_driver.c258 static int zoran_enum_fmt(struct zoran *zr, struct v4l2_fmtdesc *fmt, int flag) in zoran_enum_fmt() argument
262 if (fmt->index >= ARRAY_SIZE(zoran_formats)) in zoran_enum_fmt()
264 if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in zoran_enum_fmt()
268 if (zoran_formats[i].flags & flag && num++ == fmt->index) { in zoran_enum_fmt()
269 strscpy(fmt->description, zoran_formats[i].name, in zoran_enum_fmt()
270 sizeof(fmt->description)); in zoran_enum_fmt()
272 fmt->pixelformat = zoran_formats[i].fourcc; in zoran_enum_fmt()
274 fmt->flags |= V4L2_FMT_FLAG_COMPRESSED; in zoran_enum_fmt()
290 struct v4l2_format *fmt) in zoran_g_fmt_vid_out() argument
294 fmt->fmt.pix.width = zr->jpg_settings.img_width / zr->jpg_settings.hor_dcm; in zoran_g_fmt_vid_out()
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Ddefs.h51 #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 …]
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_debug.h41 #define ioc_err(ioc, fmt, ...) \ argument
42 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
43 #define ioc_notice(ioc, fmt, ...) \ argument
44 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
45 #define ioc_warn(ioc, fmt, ...) \ argument
46 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
47 #define ioc_info(ioc, fmt, ...) \ argument
48 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
50 #define dprint(ioc, fmt, ...) \ argument
53 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__); \
[all …]
/linux-6.1.9/include/kunit/
Dtest.h375 void __printf(2, 3) kunit_log_append(char *log, const char *fmt, ...);
388 #define kunit_mark_skipped(test_or_suite, fmt, ...) \ argument
393 fmt, ##__VA_ARGS__); \
407 #define kunit_skip(test_or_suite, fmt, ...) \ argument
409 kunit_mark_skipped((test_or_suite), fmt, ##__VA_ARGS__);\
417 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument
419 printk(lvl fmt, ##__VA_ARGS__); \
420 kunit_log_append((test_or_suite)->log, fmt "\n", \
424 #define kunit_printk(lvl, test, fmt, ...) \ argument
425 kunit_log(lvl, test, KUNIT_SUBTEST_INDENT "# %s: " fmt, \
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddebug.h27 #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-6.1.9/drivers/media/pci/cx18/
Dcx18-driver.h159 #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-6.1.9/tools/perf/ui/
Dhist.c18 #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-6.1.9/drivers/block/rnbd/
Drnbd-log.h15 #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 …]
/linux-6.1.9/kernel/trace/
Dtrace_printk.c35 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-6.1.9/include/net/
Dnet_debug.h28 #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 …]
/linux-6.1.9/arch/alpha/boot/
Dstdio.c110 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-6.1.9/arch/powerpc/boot/
Dstdio.c146 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-6.1.9/arch/x86/boot/
Dprintf.c113 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-6.1.9/tools/lib/traceevent/
Dparse-utils.c14 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-6.1.9/drivers/net/wireless/ath/wil6210/
Ddebug.c10 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 …]

12345678910>>...137