Home
last modified time | relevance | path

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

12345678910>>...89

/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/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/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/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/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/fs/btrfs/
H A Dmessages.h18 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() argument
27 void _btrfs_printk(const struct btrfs_fs_info *fs_info, unsigned int level, const char *fmt, ...);
31 #define btrfs_printk_in_rcu(fs_info, level, fmt, args...) \ argument
32 btrfs_no_printk(fs_info, fmt, ##args)
34 #define btrfs_printk_rl_in_rcu(fs_info, level, fmt, args...) \ argument
35 btrfs_no_printk(fs_info, fmt, ##args)
42 #define btrfs_crit(fs_info, fmt, args...) \ argument
43 btrfs_printk_in_rcu(fs_info, LOGLEVEL_CRIT, fmt, ##args)
44 #define btrfs_err(fs_info, fmt, args...) \ argument
45 btrfs_printk_in_rcu(fs_info, LOGLEVEL_ERR, fmt, ##args)
[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/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/include/linux/
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/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/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/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/sound/usb/
H A Dclock.c102 const struct audioformat *fmt) \
105 snd_usb_find_ctrl_interface(chip, fmt->iface); \
107 fmt->protocol == UAC_VERSION_3 ? (type3) : (type2), \
108 fmt->protocol); \
180 const struct audioformat *fmt, in uac_clock_source_is_valid_quirk() argument
190 ctrl_intf = snd_usb_find_ctrl_interface(chip, fmt->iface); in uac_clock_source_is_valid_quirk()
191 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt); in uac_clock_source_is_valid_quirk()
195 if (fmt->protocol == UAC_VERSION_2) { in uac_clock_source_is_valid_quirk()
203 if (fmt->nr_rates == 1 && in uac_clock_source_is_valid_quirk()
204 (fmt in uac_clock_source_is_valid_quirk()
251 uac_clock_source_is_valid(struct snd_usb_audio * chip,const struct audioformat * fmt,int source_id) uac_clock_source_is_valid() argument
296 __uac_clock_find_source(struct snd_usb_audio * chip,const struct audioformat * fmt,int entity_id,unsigned long * visited,bool validate) __uac_clock_find_source() argument
456 snd_usb_clock_find_source(struct snd_usb_audio * chip,const struct audioformat * fmt,bool validate) snd_usb_clock_find_source() argument
472 set_sample_rate_v1(struct snd_usb_audio * chip,const struct audioformat * fmt,int rate) set_sample_rate_v1() argument
562 snd_usb_set_sample_rate_v2v3(struct snd_usb_audio * chip,const struct audioformat * fmt,int clock,int rate) snd_usb_set_sample_rate_v2v3() argument
601 set_sample_rate_v2v3(struct snd_usb_audio * chip,const struct audioformat * fmt,int rate) set_sample_rate_v2v3() argument
669 snd_usb_init_sample_rate(struct snd_usb_audio * chip,const struct audioformat * fmt,int rate) snd_usb_init_sample_rate() argument
[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/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py147 fmt = RstFormatters() variable in YnlDocGenerator
153 lines.append(self.fmt.rst_bullet(group["name"]))
161 lines.append(self.fmt.rst_lineno(do_dict[LINE_STR]))
166 lines.append(self.fmt.rst_paragraph(self.fmt.bold(key), level + 1))
170 lines.append(self.fmt.headroom(level + 2) + do_dict[key] + "\n")
178 lines = [self.fmt.rst_fields("attributes",
179 self.fmt.rst_list_inline(attrs["attributes"]),
192 lines.append(self.fmt.rst_lineno(operation[LINE_STR]))
194 lines.append(self.fmt.rst_section(namespace, 'operation',
196 lines.append(self.fmt.rst_paragraph(operation["doc"]) + "\n")
[all …]
/linux/tools/thermal/lib/
H A Dlog.h18 #define DEBUG(fmt, ...) logit(LOG_DEBUG, "%s:%d: " fmt, __func__, __LINE__, ##__VA_ARGS__) argument
19 #define INFO(fmt, ...) logit(LOG_INFO, fmt, ##__VA_ARGS__) argument
20 #define NOTICE(fmt, ...) logit(LOG_NOTICE, fmt, ##__VA_ARGS__) argument
21 #define WARN(fmt, ...) logit(LOG_WARNING, fmt, ##__VA_ARGS__) argument
22 #define ERROR(fmt, ...) logit(LOG_ERR, fmt, ##__VA_ARGS__) argument
23 #define CRITICAL(fmt, ...) logit(LOG_CRIT, fmt, ##__VA_ARGS__) argument
24 #define ALERT(fmt, ...) logit(LOG_ALERT, fmt, ##__VA_ARGS__) argument
25 #define EMERG(fmt, ...) logit(LOG_EMERG, fmt, ##__VA_ARGS__) argument
/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 …]
/linux/fs/ubifs/
H A Ddebug.h158 #define ubifs_dbg_msg(type, fmt, ...) \ argument
159 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \
163 #define ubifs_dbg_msg_key(type, key, fmt, ...) do { \ argument
165 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \
171 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) argument
173 #define dbg_jnl(fmt, ...) ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__) argument
174 #define dbg_jnlk(key, fmt, ...) \ argument
175 ubifs_dbg_msg_key("jnl", key, fmt, ##__VA_ARGS__)
177 #define dbg_tnc(fmt, ...) ubifs_dbg_msg("tnc", fmt, ##__VA_ARGS__) argument
178 #define dbg_tnck(key, fmt, ...) \ argument
[all …]

12345678910>>...89