Home
last modified time | relevance | path

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

12345678910>>...117

/Linux-v4.19/include/linux/
Dprintk.h87 const char *fmt; member
133 #define no_printk(fmt, ...) \ argument
136 printk(fmt, ##__VA_ARGS__); \
142 void early_printk(const char *fmt, ...);
164 const char *fmt, va_list args);
167 int vprintk(const char *fmt, va_list args);
172 const char *fmt, ...);
175 int printk(const char *fmt, ...);
180 __printf(1, 2) __cold int printk_deferred(const char *fmt, ...);
205 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...);
[all …]
Ddynamic_debug.h56 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
65 const char *fmt, ...);
72 const char *fmt, ...);
74 #define DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, key, init) \ argument
80 .format = (fmt), \
91 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument
92 DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, .key.dd_key_true, \
98 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument
99 DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, .key.dd_key_false, \
110 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument
[all …]
/Linux-v4.19/net/mac80211/
Ddebug.h85 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 …]
Dtrace.c15 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-v4.19/include/drm/
Ddrm_print.h96 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va) in drm_vprintf() argument
98 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf()
109 #define drm_printf_indent(printer, indent, fmt, ...) \ argument
110 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__)
285 #define _DRM_PRINTK(once, level, fmt, ...) \ argument
286 printk##once(KERN_##level "[" DRM_NAME "] " fmt, ##__VA_ARGS__)
288 #define DRM_INFO(fmt, ...) \ argument
289 _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__)
290 #define DRM_NOTE(fmt, ...) \ argument
291 _DRM_PRINTK(, NOTICE, fmt, ##__VA_ARGS__)
[all …]
/Linux-v4.19/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 "%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-v4.19/tools/perf/util/
Ddebug.h20 #define pr_fmt(fmt) fmt argument
23 #define pr_err(fmt, ...) \ argument
24 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
25 #define pr_warning(fmt, ...) \ argument
26 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
27 #define pr_info(fmt, ...) \ argument
28 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
29 #define pr_debug(fmt, ...) \ argument
30 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__)
31 #define pr_debugN(n, fmt, ...) \ argument
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Ddefs.h51 #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-v4.19/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-v4.19/tools/perf/ui/
Dhist.c14 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
16 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
22 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() argument
38 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt()
40 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
66 fmt, len, 0.0); in __hpp__fmt()
69 fmt, len, 0ULL); in __hpp__fmt()
74 ret += hpp__call_print_fn(hpp, print_fn, fmt, len, in __hpp__fmt()
77 ret += hpp__call_print_fn(hpp, print_fn, fmt, in __hpp__fmt()
92 fmt, len, 0.0); in __hpp__fmt()
[all …]
/Linux-v4.19/fs/xfs/
Dxfs_message.h8 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-v4.19/drivers/media/pci/cx18/
Dcx18-driver.h168 #define CX18_DEBUG(x, type, fmt, args...) \ argument
171 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \
173 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument
174 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument
175 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument
176 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument
177 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument
178 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument
179 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument
180 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument
[all …]
/Linux-v4.19/fs/jffs2/
Ddebug.h66 #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-v4.19/arch/alpha/boot/
Dstdio.c114 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
132 for (str=buf ; *fmt ; ++fmt) { in vsprintf()
133 if (*fmt != '%') { in vsprintf()
134 *str++ = *fmt; in vsprintf()
141 ++fmt; /* this also skips first '%' */ in vsprintf()
142 switch (*fmt) { in vsprintf()
152 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
153 field_width = skip_atoi(&fmt); in vsprintf()
154 else if (*fmt == '*') { in vsprintf()
155 ++fmt; in vsprintf()
[all …]
/Linux-v4.19/kernel/trace/
Dtrace_printk.c34 const char *fmt; member
37 static inline struct trace_bprintk_fmt *lookup_format(const char *fmt) in lookup_format() argument
41 if (!fmt) in lookup_format()
45 if (!strcmp(pos->fmt, fmt)) in lookup_format()
55 char *fmt; in hold_module_trace_bprintk_format() local
66 *iter = tb_fmt->fmt; in hold_module_trace_bprintk_format()
70 fmt = NULL; in hold_module_trace_bprintk_format()
73 fmt = kmalloc(strlen(*iter) + 1, GFP_KERNEL); in hold_module_trace_bprintk_format()
74 if (fmt) { in hold_module_trace_bprintk_format()
76 strcpy(fmt, *iter); in hold_module_trace_bprintk_format()
[all …]
/Linux-v4.19/arch/powerpc/boot/
Dstdio.c150 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
168 for (str=buf ; *fmt ; ++fmt) { in vsprintf()
169 if (*fmt != '%') { in vsprintf()
170 *str++ = *fmt; in vsprintf()
177 ++fmt; /* this also skips first '%' */ in vsprintf()
178 switch (*fmt) { in vsprintf()
188 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
189 field_width = skip_atoi(&fmt); in vsprintf()
190 else if (*fmt == '*') { in vsprintf()
191 ++fmt; in vsprintf()
[all …]
/Linux-v4.19/arch/x86/boot/
Dprintf.c115 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
130 for (str = buf; *fmt; ++fmt) { in vsprintf()
131 if (*fmt != '%') { in vsprintf()
132 *str++ = *fmt; in vsprintf()
139 ++fmt; /* this also skips first '%' */ in vsprintf()
140 switch (*fmt) { in vsprintf()
160 if (isdigit(*fmt)) in vsprintf()
161 field_width = skip_atoi(&fmt); in vsprintf()
162 else if (*fmt == '*') { in vsprintf()
163 ++fmt; in vsprintf()
[all …]
/Linux-v4.19/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-v4.19/drivers/net/wireless/ath/wil6210/
Ddebug.c21 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-v4.19/include/linux/sunrpc/
Ddebug.h24 #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-v4.19/lib/
Dvsprintf.c617 const char *fmt) in dentry_name() argument
624 switch (fmt[1]) { in dentry_name()
626 depth = fmt[1] - '0'; in dentry_name()
662 struct printf_spec spec, const char *fmt) in bdev_name() argument
681 struct printf_spec spec, const char *fmt) in symbol_string() argument
688 if (fmt[1] == 'R') in symbol_string()
693 if (*fmt == 'B') in symbol_string()
695 else if (*fmt != 'f' && *fmt != 's') in symbol_string()
724 struct printf_spec spec, const char *fmt) in resource_string() argument
767 int decode = (fmt[0] == 'R') ? 1 : 0; in resource_string()
[all …]
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-vbi.c26 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
70 #define dprintk(fmt, ...) \ argument
73 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \
76 #define IMAGE_SIZE(fmt) \ argument
77 (((fmt)->count[0] + (fmt)->count[1]) * (fmt)->samples_per_line)
91 *size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_setup()
94 fh->vbi_fmt.fmt.samples_per_line, in vbi_buffer_setup()
95 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup()
96 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup()
97 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup()
[all …]
/Linux-v4.19/drivers/media/usb/pwc/
Dpwc.h68 #define PWC_DEBUG_MODULE(fmt, args...) PWC_DEBUG(MODULE, fmt, ##args) argument
69 #define PWC_DEBUG_PROBE(fmt, args...) PWC_DEBUG(PROBE, fmt, ##args) argument
70 #define PWC_DEBUG_OPEN(fmt, args...) PWC_DEBUG(OPEN, fmt, ##args) argument
71 #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) argument
72 #define PWC_DEBUG_MEMORY(fmt, args...) PWC_DEBUG(MEMORY, fmt, ##args) argument
73 #define PWC_DEBUG_FLOW(fmt, args...) PWC_DEBUG(FLOW, fmt, ##args) argument
74 #define PWC_DEBUG_SIZE(fmt, args...) PWC_DEBUG(SIZE, fmt, ##args) argument
75 #define PWC_DEBUG_IOCTL(fmt, args...) PWC_DEBUG(IOCTL, fmt, ##args) argument
76 #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) argument
83 #define PWC_DEBUG(level, fmt, args...) do {\ argument
[all …]
/Linux-v4.19/fs/ubifs/
Ddebug.h169 #define ubifs_dbg_msg(type, fmt, ...) \ argument
170 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
174 #define ubifs_dbg_msg_key(type, key, fmt, ...) do { \ argument
176 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \
182 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) argument
184 #define dbg_jnl(fmt, ...) ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__) argument
185 #define dbg_jnlk(key, fmt, ...) \ argument
186 ubifs_dbg_msg_key("jnl", key, fmt, ##__VA_ARGS__)
188 #define dbg_tnc(fmt, ...) ubifs_dbg_msg("tnc", fmt, ##__VA_ARGS__) argument
189 #define dbg_tnck(key, fmt, ...) \ argument
[all …]
/Linux-v4.19/drivers/usb/usbip/
Dusbip_common.h26 #define pr_fmt(fmt) KBUILD_MODNAME ": %s:%d: " fmt, __func__, __LINE__ argument
28 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
61 #define usbip_dbg_with_flag(flag, fmt, args...) \ argument
64 pr_debug(fmt, ##args); \
67 #define usbip_dbg_sysfs(fmt, args...) \ argument
68 usbip_dbg_with_flag(usbip_debug_sysfs, fmt , ##args)
69 #define usbip_dbg_xmit(fmt, args...) \ argument
70 usbip_dbg_with_flag(usbip_debug_xmit, fmt , ##args)
71 #define usbip_dbg_urb(fmt, args...) \ argument
72 usbip_dbg_with_flag(usbip_debug_urb, fmt , ##args)
[all …]

12345678910>>...117