Home
last modified time | relevance | path

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

12345678910>>...90

/linux/net/mac80211/
H A Ddebug.h90 void __sdata_info(const char *fmt, ...) __printf(1, 2);
91 void __sdata_dbg(bool print, const char *fmt, ...) __printf(2, 3);
92 void __sdata_err(const char *fmt, ...) __printf(1, 2);
93 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...)
96 #define _sdata_info(sdata, fmt, ...) \ argument
97 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
98 #define _sdata_dbg(print, sdata, fmt, ...) \ argument
99 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__)
100 #define _sdata_err(sdata, fmt, ...) \ argument
101 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
[all …]
/linux/include/linux/
H A Dprintk.h86 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);
158 int vprintk_deferred(const char *fmt, va_list args);
161 int _printk(const char *fmt, ...);
166 __printf(1, 2) __cold int _printk_deferred(const char *fmt, ...);
201 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...);
[all …]
H A Ddynamic_debug.h142 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
148 const char *fmt, ...);
155 const char *fmt, ...);
162 const char *fmt, ...);
170 #define DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, cls, fmt) \ argument
176 .format = (fmt), \
185 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument
186 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, _DPRINTK_CLASS_DFLT, fmt)
228 #define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \ argument
229 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
[all …]
H A Dfs_context.h192 void logfc(struct fc_log *log, const char *prefix, char level, const char *fmt, ...);
194 #define __logfc(fc, l, fmt, ...) \ argument
195 logfc((fc)->log.log, NULL, (l), (fmt), ## __VA_ARGS__)
196 #define __plogp(p, prefix, l, fmt, ...) \ argument
197 logfc((p)->log, (prefix), (l), (fmt), ## __VA_ARGS__)
198 #define __plog(p, l, fmt, ...) __plogp(p, (p)->prefix, l, fmt, ## __VA_ARGS__) argument
208 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) argument
209 #define info_plog(p, fmt, ...) __plog(p, 'i', fmt, ## __VA_ARGS__) argument
210 #define infofc(fc, fmt, ...) __plog((&(fc)->log), 'i', fmt, ## __VA_ARGS__) argument
211 #define infofcp(fc, prefix, fmt, ...) \ argument
[all …]
/linux/drivers/net/wireless/marvell/libertas_tf/
H A 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/rust/syn/gen/
H A Ddebug.rs7 use std::fmt::{self, Debug};
11 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
21 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
27 fn debug(&self, formatter: &mut fmt::Formatter, name: &str) -> fmt::Result { in debug()
39 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
53 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
65 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
77 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
92 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
104 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
[all …]
/linux/include/uapi/linux/media/raspberrypi/
H A Dpisp_common.h95 #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 …]
/linux/fs/jffs2/
H A 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/tools/perf/util/
H A 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_warning_once(fmt, ...) ({ \ argument
30 pr_warning(fmt, ##__VA_ARGS__); \
34 #define pr_info(fmt, ...) \ argument
35 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
36 #define pr_debug(fmt, ...) \ argument
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A 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/drivers/scsi/mpi3mr/
H A 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/fs/smb/client/
H A 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/rust/quote/
H A Dident_fragment.rs4 use core::fmt;
17 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result; in fmt() method
32 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
33 IdentFragment::fmt(*self, f) in fmt()
42 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
43 IdentFragment::fmt(*self, f) in fmt()
52 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
55 fmt::Display::fmt(id, f) in fmt()
57 fmt::Display::fmt(&id[..], f) in fmt()
70 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() function
[all …]
/linux/drivers/gpu/drm/i915/gvt/
H A 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/include/linux/ceph/
H A Dceph_debug.h5 #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 …]
/linux/tools/perf/ui/
H A Dhist.c22 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
24 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
30 int nr_samples, const char *fmt, int len, in __hpp__fmt_print() argument
41 return hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt_print()
47 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print()
50 return hpp__call_print_fn(hpp, print_fn, fmt, len, val); in __hpp__fmt_print()
60 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() argument
107 values[i].samples, fmt, len, in __hpp__fmt()
123 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt() argument
128 int len = max(fmt->user_len ?: fmt->len, (int)strlen(fmt->name)); in hpp__fmt()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_polymorph_printk.h18 #define __drbd_printk_drbd_device_fmt(fmt) "drbd %s/%u drbd%u: " fmt argument
27 #define __drbd_printk_drbd_peer_device_fmt(fmt) \ argument
28 "drbd %s/%u drbd%u: " fmt
35 #define __drbd_printk_drbd_resource_fmt(fmt) "drbd %s: " fmt argument
42 #define __drbd_printk_drbd_connection_fmt(fmt) \ argument
43 "drbd %s: " fmt
54 #define __drbd_printk_if_same_type(obj, struct_name, level, fmt, args...) \ argument
58 printk(level __drbd_printk_ ## struct_name ## _fmt(fmt), \
63 #define drbd_printk(level, obj, fmt, args...) \ argument
65 __drbd_printk_if_same_type(obj, drbd_device, level, fmt, ## args), \
[all …]
/linux/kernel/trace/
H A 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/include/net/
H A 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/arch/alpha/boot/
H A 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/drivers/block/rnbd/
H A 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/arch/powerpc/boot/
H A 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/lib/
H A Dvsprintf.c909 const char *fmt) in dentry_name() argument
916 switch (fmt[1]) { in dentry_name()
918 depth = fmt[1] - '0'; in dentry_name()
958 struct printf_spec spec, const char *fmt) in file_dentry_name() argument
963 return dentry_name(buf, end, f->f_path.dentry, spec, fmt); in file_dentry_name()
968 struct printf_spec spec, const char *fmt) in bdev_name() argument
991 struct printf_spec spec, const char *fmt) in symbol_string() argument
998 if (fmt[1] == 'R') in symbol_string()
1003 if (*fmt == 'B' && fmt[1] == 'b') in symbol_string()
1005 else if (*fmt == 'B') in symbol_string()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A 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 …]
/linux/drivers/media/usb/pwc/
H A Dpwc.h56 #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 …]

12345678910>>...90