Home
last modified time | relevance | path

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

123456

/include/linux/
A Ddev_printk.h19 #define dev_fmt(fmt) fmt argument
36 const char *fmt, va_list args);
42 const char *fmt, ...);
62 const char *fmt, va_list args) in dev_vprintk_emit() argument
73 const char *fmt, ...) in _dev_printk() argument
147 #define dev_emerg(dev, fmt, ...) \ argument
149 #define dev_crit(dev, fmt, ...) \ argument
151 #define dev_alert(dev, fmt, ...) \ argument
153 #define dev_err(dev, fmt, ...) \ argument
155 #define dev_warn(dev, fmt, ...) \ argument
[all …]
A Dprintk.h86 const char *fmt; member
404 #define pr_fmt(fmt) fmt argument
411 const char *fmt; member
514 #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) argument
526 #define pr_emerg(fmt, ...) \ argument
536 #define pr_alert(fmt, ...) \ argument
546 #define pr_crit(fmt, ...) \ argument
556 #define pr_err(fmt, ...) \ argument
566 #define pr_warn(fmt, ...) \ argument
586 #define pr_info(fmt, ...) \ argument
[all …]
A Ddynamic_debug.h147 const char *fmt, ...);
154 const char *fmt, ...);
161 const char *fmt, ...);
169 .format = (fmt), \
237 fmt, func, ##__VA_ARGS__)
266 pr_fmt(fmt), ##__VA_ARGS__)
268 #define dynamic_pr_debug(fmt, ...) \ argument
270 pr_fmt(fmt), ##__VA_ARGS__)
274 dev, fmt, ##__VA_ARGS__)
278 dev, fmt, ##__VA_ARGS__)
[all …]
A Dfs_context.h201 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) argument
202 #define info_plog(p, fmt, ...) __plog(p, 'i', fmt, ## __VA_ARGS__) argument
203 #define infofc(fc, fmt, ...) __plog((&(fc)->log), 'i', fmt, ## __VA_ARGS__) argument
213 #define warnf(fc, fmt, ...) __logfc(fc, 'w', fmt, ## __VA_ARGS__) argument
214 #define warn_plog(p, fmt, ...) __plog(p, 'w', fmt, ## __VA_ARGS__) argument
215 #define warnfc(fc, fmt, ...) __plog((&(fc)->log), 'w', fmt, ## __VA_ARGS__) argument
225 #define errorf(fc, fmt, ...) __logfc(fc, 'e', fmt, ## __VA_ARGS__) argument
226 #define error_plog(p, fmt, ...) __plog(p, 'e', fmt, ## __VA_ARGS__) argument
227 #define errorfc(fc, fmt, ...) __plog((&(fc)->log), 'e', fmt, ## __VA_ARGS__) argument
237 #define invalf(fc, fmt, ...) (errorf(fc, fmt, ## __VA_ARGS__), -EINVAL) argument
[all …]
A Dkernel.h259 #define trace_printk(fmt, ...) \ argument
263 do_trace_printk(fmt, ##__VA_ARGS__); \
265 trace_puts(fmt); \
268 #define do_trace_printk(fmt, args...) \ argument
272 __builtin_constant_p(fmt) ? fmt : NULL; \
276 if (__builtin_constant_p(fmt)) \
333 #define ftrace_vprintk(fmt, vargs) \ argument
335 if (__builtin_constant_p(fmt)) { \
338 __builtin_constant_p(fmt) ? fmt : NULL; \
364 int trace_printk(const char *fmt, ...) in trace_printk() argument
[all …]
A Dsprintf.h11 __printf(2, 3) int sprintf(char *buf, const char * fmt, ...);
13 __printf(3, 4) int snprintf(char *buf, size_t size, const char *fmt, ...);
14 __printf(3, 0) int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
15 __printf(3, 4) int scnprintf(char *buf, size_t size, const char *fmt, ...);
16 __printf(3, 0) int vscnprintf(char *buf, size_t size, const char *fmt, va_list args);
17 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...);
18 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args);
19 __printf(2, 0) const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list args);
A Dvbox_utils.h16 __printf(1, 2) void vbg_info(const char *fmt, ...);
17 __printf(1, 2) void vbg_warn(const char *fmt, ...);
18 __printf(1, 2) void vbg_err(const char *fmt, ...);
19 __printf(1, 2) void vbg_err_ratelimited(const char *fmt, ...);
23 __printf(1, 2) void vbg_debug(const char *fmt, ...);
A Dnet.h274 #define net_emerg_ratelimited(fmt, ...) \ argument
276 #define net_alert_ratelimited(fmt, ...) \ argument
278 #define net_crit_ratelimited(fmt, ...) \ argument
280 #define net_err_ratelimited(fmt, ...) \ argument
282 #define net_notice_ratelimited(fmt, ...) \ argument
284 #define net_warn_ratelimited(fmt, ...) \ argument
286 #define net_info_ratelimited(fmt, ...) \ argument
290 #define net_dbg_ratelimited(fmt, ...) \ argument
295 __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \
299 #define net_dbg_ratelimited(fmt, ...) \ argument
[all …]
A Dsuspend.h532 #define pr_fmt(fmt) "PM: " fmt argument
534 #define __pm_pr_dbg(fmt, ...) \ argument
539 pr_debug(fmt, ##__VA_ARGS__); \
541 #define __pm_deferred_pr_dbg(fmt, ...) \ argument
552 #define __pm_pr_dbg(fmt, ...) \ argument
553 no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
554 #define __pm_deferred_pr_dbg(fmt, ...) \ argument
569 #define pm_pr_dbg(fmt, ...) \ argument
570 __pm_pr_dbg(fmt, ##__VA_ARGS__)
572 #define pm_deferred_pr_dbg(fmt, ...) \ argument
[all …]
A Dblktrace_api.h34 struct cgroup_subsys_state *css, const char *fmt, ...);
49 #define blk_add_cgroup_trace_msg(q, css, fmt, ...) \ argument
56 __blk_trace_note_message(bt, css, fmt, ##__VA_ARGS__);\
59 #define blk_add_trace_msg(q, fmt, ...) \ argument
60 blk_add_cgroup_trace_msg(q, NULL, fmt, ##__VA_ARGS__)
88 # define blk_add_trace_msg(q, fmt, ...) do { } while (0) argument
89 # define blk_add_cgroup_trace_msg(q, cg, fmt, ...) do { } while (0) argument
A Dnetpoll.h42 #define np_info(np, fmt, ...) \ argument
43 pr_info("%s: " fmt, np->name, ##__VA_ARGS__)
44 #define np_err(np, fmt, ...) \ argument
45 pr_err("%s: " fmt, np->name, ##__VA_ARGS__)
46 #define np_notice(np, fmt, ...) \ argument
47 pr_notice("%s: " fmt, np->name, ##__VA_ARGS__)
A Ddevice-mapper.h653 #define DM_FMT(fmt) DM_NAME ": " DM_MSG_PREFIX ": " fmt "\n" argument
655 #define DMCRIT(fmt, ...) pr_crit(DM_FMT(fmt), ##__VA_ARGS__) argument
657 #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##__VA_ARGS__) argument
658 #define DMERR_LIMIT(fmt, ...) pr_err_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument
659 #define DMWARN(fmt, ...) pr_warn(DM_FMT(fmt), ##__VA_ARGS__) argument
660 #define DMWARN_LIMIT(fmt, ...) pr_warn_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument
661 #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##__VA_ARGS__) argument
662 #define DMINFO_LIMIT(fmt, ...) pr_info_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument
664 #define DMDEBUG(fmt, ...) pr_debug(DM_FMT(fmt), ##__VA_ARGS__) argument
665 #define DMDEBUG_LIMIT(fmt, ...) pr_debug_ratelimited(DM_FMT(fmt), ##__VA_ARGS__) argument
A Dcoredump.h62 #define coredump_report(fmt, ...) __COREDUMP_PRINTK(KERN_INFO, fmt, ##__VA_ARGS__) argument
63 #define coredump_report_failure(fmt, ...) __COREDUMP_PRINTK(KERN_WARNING, fmt, ##__VA_ARGS__) argument
A Dbinfmts.h109 extern void __register_binfmt(struct linux_binfmt *fmt, int insert);
112 static inline void register_binfmt(struct linux_binfmt *fmt) in register_binfmt() argument
114 __register_binfmt(fmt, 0); in register_binfmt()
117 static inline void insert_binfmt(struct linux_binfmt *fmt) in insert_binfmt() argument
119 __register_binfmt(fmt, 1); in insert_binfmt()
/include/uapi/linux/media/raspberrypi/
A Dpisp_common.h96 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_8)
98 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_10)
100 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_12)
102 (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) == PISP_IMAGE_FORMAT_BPS_16)
105 8 + (2 << (((fmt) & PISP_IMAGE_FORMAT_BPS_MASK) - 1)) : 8)
109 ((fmt) & PISP_IMAGE_FORMAT_THREE_CHANNEL)
111 (!((fmt) & PISP_IMAGE_FORMAT_THREE_CHANNEL))
125 (!((fmt) & PISP_IMAGE_FORMAT_ORDER_SWAPPED))
127 ((fmt) & PISP_IMAGE_FORMAT_ORDER_SWAPPED)
138 ((fmt) & PISP_IMAGE_FORMAT_WALLPAPER_ROLL)
[all …]
/include/drm/
A Ddrm_print.h216 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf()
618 #define drm_info(drm, fmt, ...) \ argument
627 #define drm_err(drm, fmt, ...) \ argument
669 #define drm_dbg(drm, fmt, ...) drm_dbg_driver(drm, fmt, ##__VA_ARGS__) argument
681 #define __drm_dbg(cat, fmt, ...) __drm_dev_dbg(NULL, NULL, cat, fmt, ##__VA_ARGS__) argument
694 #define DRM_INFO(fmt, ...) \ argument
697 #define DRM_NOTE(fmt, ...) \ argument
700 #define DRM_WARN(fmt, ...) \ argument
714 #define DRM_ERROR(fmt, ...) \ argument
715 __drm_err(fmt, ##__VA_ARGS__)
[all …]
/include/linux/ceph/
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
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
45 # define doutc(client, fmt, ...) \ argument
[all …]
/include/linux/sunrpc/
A 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
37 # define dfprintk(fac, fmt, ...) \ argument
43 # define dfprintk_cont(fac, fmt, ...) \ argument
46 printk(KERN_CONT fmt, ##__VA_ARGS__); \
[all …]
/include/net/
A Dnet_debug.h34 netdev_printk(level, dev, fmt, ##__VA_ARGS__); \
38 #define netdev_emerg_once(dev, fmt, ...) \ argument
40 #define netdev_alert_once(dev, fmt, ...) \ argument
42 #define netdev_crit_once(dev, fmt, ...) \ argument
44 #define netdev_err_once(dev, fmt, ...) \ argument
46 #define netdev_warn_once(dev, fmt, ...) \ argument
48 #define netdev_notice_once(dev, fmt, ...) \ argument
50 #define netdev_info_once(dev, fmt, ...) \ argument
87 netdev_printk(level, (dev), fmt, ##args); \
93 netdev_##level(dev, fmt, ##args); \
[all …]
/include/kunit/
A Dtest.h688 fmt, \
784 fmt, \ argument
815 fmt, \ argument
822 fmt, \
910 fmt, \ argument
946 fmt, \
965 fmt, \
1291 fmt, \
1326 fmt, \
1345 fmt, \
[all …]
A Dtest-bug.h55 #define kunit_fail_current_test(fmt, ...) do { \ argument
59 fmt, ##__VA_ARGS__); \
67 #define kunit_fail_current_test(fmt, ...) do {} while (0) argument
/include/acpi/
A Dnhlt.h46 #define __acpi_nhlt_next_fmtcfg(fmt) \ argument
47 ((void *)((u8 *)((fmt) + 1) + (fmt)->config.capabilities_size))
49 #define __acpi_nhlt_get_fmtcfg(fmts, fmt, i) \ argument
50 ((i) ? __acpi_nhlt_next_fmtcfg(fmt) : __acpi_nhlt_first_fmtcfg(fmts))
74 #define for_each_nhlt_fmtcfg(fmts, fmt) \ argument
77 (fmt = __acpi_nhlt_get_fmtcfg(fmts, fmt, __i)); \
85 #define for_each_nhlt_endpoint_fmtcfg(ep, fmt) \ argument
86 for_each_nhlt_fmtcfg(acpi_nhlt_endpoint_fmtscfg(ep), fmt)
/include/media/
A Dv4l2-common.h28 (client)->addr, fmt , ## arg)
30 #define v4l_err(client, fmt, arg...) \ argument
33 #define v4l_warn(client, fmt, arg...) \ argument
36 #define v4l_info(client, fmt, arg...) \ argument
57 #define v4l2_printk(level, dev, fmt, arg...) \ argument
60 #define v4l2_err(dev, fmt, arg...) \ argument
61 v4l2_printk(KERN_ERR, dev, fmt , ## arg)
63 #define v4l2_warn(dev, fmt, arg...) \ argument
64 v4l2_printk(KERN_WARNING, dev, fmt , ## arg)
66 #define v4l2_info(dev, fmt, arg...) \ argument
[all …]
/include/media/drv-intf/
A Dsaa7146.h31 #define ERR(fmt, ...) pr_err("%s: " fmt, __func__, ##__VA_ARGS__) argument
33 #define _DBG(mask, fmt, ...) \ argument
36 pr_debug("%s(): " fmt, __func__, ##__VA_ARGS__); \
40 #define DEB_S(fmt, ...) _DBG(0x01, fmt, ##__VA_ARGS__) argument
42 #define DEB_D(fmt, ...) _DBG(0x02, fmt, ##__VA_ARGS__) argument
44 #define DEB_EE(fmt, ...) _DBG(0x04, fmt, ##__VA_ARGS__) argument
46 #define DEB_I2C(fmt, ...) _DBG(0x08, fmt, ##__VA_ARGS__) argument
48 #define DEB_VBI(fmt, ...) _DBG(0x10, fmt, ##__VA_ARGS__) argument
50 #define DEB_INT(fmt, ...) _DBG(0x20, fmt, ##__VA_ARGS__) argument
52 #define DEB_CAP(fmt, ...) _DBG(0x40, fmt, ##__VA_ARGS__) argument
/include/net/bluetooth/
A Dbluetooth.h254 void bt_info(const char *fmt, ...);
256 void bt_warn(const char *fmt, ...);
258 void bt_err(const char *fmt, ...);
263 void bt_dbg(const char *fmt, ...);
270 #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) argument
271 #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__) argument
272 #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__) argument
275 #define BT_DBG(fmt, ...) bt_dbg(fmt "\n", ##__VA_ARGS__) argument
277 #define BT_DBG(fmt, ...) pr_debug(fmt "\n", ##__VA_ARGS__) argument
286 #define bt_dev_err(hdev, fmt, ...) \ argument
[all …]

Completed in 77 milliseconds

123456