Home
last modified time | relevance | path

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

12345678910>>...157

/linux-6.6.21/fs/btrfs/
Dmessages.h18 void btrfs_no_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...) in btrfs_no_printk() argument
26 #define btrfs_printk(fs_info, fmt, args...) \ argument
27 _btrfs_printk(fs_info, fmt, ##args)
31 void _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
35 #define btrfs_printk(fs_info, fmt, args...) \ argument
36 btrfs_no_printk(fs_info, fmt, ##args)
39 #define btrfs_emerg(fs_info, fmt, args...) \ argument
40 btrfs_printk(fs_info, KERN_EMERG fmt, ##args)
41 #define btrfs_alert(fs_info, fmt, args...) \ argument
42 btrfs_printk(fs_info, KERN_ALERT fmt, ##args)
[all …]
/linux-6.6.21/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.h80 const char *fmt; member
126 #define no_printk(fmt, ...) \ argument
129 printk(fmt, ##__VA_ARGS__); \
135 void early_printk(const char *fmt, ...);
147 const char *fmt, va_list args);
150 int vprintk(const char *fmt, va_list args);
153 int _printk(const char *fmt, ...);
158 __printf(1, 2) __cold int _printk_deferred(const char *fmt, ...);
189 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...);
252 static inline __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...) in dump_stack_set_arch_desc() argument
[all …]
Ddynamic_debug.h141 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...);
147 const char *fmt, ...);
154 const char *fmt, ...);
161 const char *fmt, ...);
163 #define DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, cls, fmt) \ argument
169 .format = (fmt), \
178 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument
179 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, _DPRINTK_CLASS_DFLT, fmt)
221 #define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \ argument
222 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/infiniband/sw/rxe/
Drxe.h13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
41 #define rxe_dbg(fmt, ...) pr_debug("%s: " fmt "\n", __func__, ##__VA_ARGS__) argument
42 #define rxe_dbg_dev(rxe, fmt, ...) ibdev_dbg(&(rxe)->ib_dev, \ argument
43 "%s: " fmt, __func__, ##__VA_ARGS__)
44 #define rxe_dbg_uc(uc, fmt, ...) ibdev_dbg((uc)->ibuc.device, \ argument
45 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__)
46 #define rxe_dbg_pd(pd, fmt, ...) ibdev_dbg((pd)->ibpd.device, \ argument
47 "pd#%d %s: " fmt, (pd)->elem.index, __func__, ##__VA_ARGS__)
48 #define rxe_dbg_ah(ah, fmt, ...) ibdev_dbg((ah)->ibah.device, \ argument
49 "ah#%d %s: " fmt, (ah)->elem.index, __func__, ##__VA_ARGS__)
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/fs/smb/client/
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.6.21/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.6.21/drivers/media/pci/cx18/
Dcx18-driver.h158 #define CX18_DEBUG(x, type, fmt, args...) \ argument
161 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \
163 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument
164 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument
165 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument
166 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument
167 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument
168 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument
169 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument
170 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument
[all …]
/linux-6.6.21/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.6.21/tools/perf/ui/
Dhist.c19 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
21 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
27 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() argument
43 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt()
45 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
71 fmt, len, 0.0); in __hpp__fmt()
74 fmt, len, 0ULL); in __hpp__fmt()
79 ret += hpp__call_print_fn(hpp, print_fn, fmt, len, in __hpp__fmt()
82 ret += hpp__call_print_fn(hpp, print_fn, fmt, in __hpp__fmt()
97 fmt, len, 0.0); in __hpp__fmt()
[all …]
/linux-6.6.21/include/kunit/
Dtest.h476 void __printf(2, 3) kunit_log_append(char *log, const char *fmt, ...);
489 #define kunit_mark_skipped(test_or_suite, fmt, ...) \ argument
494 fmt, ##__VA_ARGS__); \
508 #define kunit_skip(test_or_suite, fmt, ...) \ argument
510 kunit_mark_skipped((test_or_suite), fmt, ##__VA_ARGS__);\
518 #define kunit_log(lvl, test_or_suite, fmt, ...) \ argument
520 printk(lvl fmt, ##__VA_ARGS__); \
521 kunit_log_append((test_or_suite)->log, fmt, \
525 #define kunit_printk(lvl, test, fmt, ...) \ argument
526 kunit_log(lvl, test, KUNIT_SUBTEST_INDENT "# %s: " fmt, \
[all …]
/linux-6.6.21/drivers/block/drbd/
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-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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 …]

12345678910>>...157