/linux-master/include/linux/ |
H A D | vbox_utils.h | 16 __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, ...);
|
H A D | fs_context.h | 183 void logfc(struct fc_log *log, const char *prefix, char level, const char *fmt, ...); 185 #define __logfc(fc, l, fmt, ...) logfc((fc)->log.log, NULL, \ 186 l, fmt, ## __VA_ARGS__) 187 #define __plog(p, l, fmt, ...) logfc((p)->log, (p)->prefix, \ 188 l, fmt, ## __VA_ARGS__) 192 * @fmt: The format string 197 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) 198 #define info_plog(p, fmt, ...) __plog(p, 'i', fmt, ## __VA_ARGS_ [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | guest_sprintf.c | 118 int guest_vsnprintf(char *buf, int n, const char *fmt, va_list args) argument 139 for (str = buf; *fmt; ++fmt) { 140 if (*fmt != '%') { 141 APPEND_BUFFER_SAFE(str, end, *fmt); 148 ++fmt; /* this also skips first '%' */ 149 switch (*fmt) { 169 if (isdigit(*fmt)) 170 field_width = skip_atoi(&fmt); 171 else if (*fmt 304 guest_snprintf(char *buf, int n, const char *fmt, ...) argument [all...] |
/linux-master/net/batman-adv/ |
H A D | log.h | 68 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...) 76 * @fmt: format string 79 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \ 84 batadv_debug_log(__batpriv, fmt, ## arg); \ 92 const char *fmt __always_unused, ...) 118 * @fmt: format string 121 #define batadv_info(net_dev, fmt, arg...) \ 125 batadv_dbg(BATADV_DBG_ALL, _batpriv, fmt, ## arg); \ 126 pr_info("%s: " fmt, _netdev->name, ## arg); \ 132 * @fmt [all...] |
/linux-master/drivers/regulator/ |
H A D | internal.h | 18 #define rdev_crit(rdev, fmt, ...) \ 19 pr_crit("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) 20 #define rdev_err(rdev, fmt, ...) \ 21 pr_err("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) 22 #define rdev_warn(rdev, fmt, ...) \ 23 pr_warn("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) 24 #define rdev_info(rdev, fmt, ...) \ 25 pr_info("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) 26 #define rdev_dbg(rdev, fmt, ...) \ 27 pr_debug("%s: " fmt, rdev_get_nam [all...] |
/linux-master/tools/perf/ui/ |
H A D | hist.c | 19 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ 21 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ 27 hpp_field_fn get_field, const char *fmt, int len, 43 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); 45 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); 71 fmt, len, 0.0); 74 fmt, len, 0ULL); 79 ret += hpp__call_print_fn(hpp, print_fn, fmt, len, 82 ret += hpp__call_print_fn(hpp, print_fn, fmt, 97 fmt, le 26 __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, hpp_field_fn get_field, const char *fmt, int len, hpp_snprint_fn print_fn, bool fmt_percent) argument 115 hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he, hpp_field_fn get_field, const char *fmtstr, hpp_snprint_fn print_fn, bool fmt_percent) argument 134 hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he, hpp_field_fn get_field, const char *fmtstr, hpp_snprint_fn print_fn, bool fmt_percent) argument 290 hpp__width_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp __maybe_unused, struct hists *hists) argument 306 hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line __maybe_unused, int *span __maybe_unused) argument 314 hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) argument 330 hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) argument 541 fmt_free(struct perf_hpp_fmt *fmt) argument 559 struct perf_hpp_fmt *fmt = &perf_hpp__format[i]; local 624 struct perf_hpp_fmt *fmt, *acc, *ovh, *tmp; local 650 struct perf_hpp_fmt *fmt; local 673 struct perf_hpp_fmt *fmt; local 693 struct perf_hpp_fmt *fmt, *tmp; local 715 struct perf_hpp_fmt *fmt; local 740 struct perf_hpp_fmt *fmt; local 760 perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists) argument 795 struct perf_hpp_fmt *fmt; local 810 struct perf_hpp_fmt *fmt; local 826 add_hierarchy_fmt(struct hists *hists, struct perf_hpp_fmt *fmt) argument 870 struct perf_hpp_fmt *fmt; local [all...] |
/linux-master/drivers/usb/usbip/ |
H A D | usbip_common.h | 27 #define pr_fmt(fmt) KBUILD_MODNAME ": %s:%d: " fmt, __func__, __LINE__ 29 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 62 #define usbip_dbg_with_flag(flag, fmt, args...) \ 65 pr_debug(fmt, ##args); \ 68 #define usbip_dbg_sysfs(fmt, args...) \ 69 usbip_dbg_with_flag(usbip_debug_sysfs, fmt , ##args) 70 #define usbip_dbg_xmit(fmt, args...) \ 71 usbip_dbg_with_flag(usbip_debug_xmit, fmt , ##arg [all...] |
/linux-master/tools/usb/usbip/libsrc/ |
H A D | usbip_common.h | 62 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME 63 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ 66 #define err(fmt, args...) \ 69 syslog(LOG_ERR, pr_fmt(fmt), "error", ##args); \ 72 fprintf(stderr, pr_fmt(fmt), "error", ##args); \ 76 #define info(fmt, args...) \ 79 syslog(LOG_INFO, pr_fmt(fmt), "info", ##args); \ 82 fprintf(stderr, pr_fmt(fmt), "inf [all...] |
/linux-master/drivers/media/tuners/ |
H A D | tuner-i2c.h | 75 #define tuner_printk(kernlvl, i2cprops, fmt, arg...) do { \ 76 printk(kernlvl "%s %d-%04x: " fmt, i2cprops.name, \ 85 #define __tuner_warn(i2cprops, fmt, arg...) do { \ 86 tuner_printk(KERN_WARNING, i2cprops, fmt, ##arg); \ 89 #define __tuner_info(i2cprops, fmt, arg...) do { \ 90 tuner_printk(KERN_INFO, i2cprops, fmt, ##arg); \ 93 #define __tuner_err(i2cprops, fmt, arg...) do { \ 94 tuner_printk(KERN_ERR, i2cprops, fmt, ##arg); \ 97 #define __tuner_dbg(i2cprops, fmt, arg...) do { \ 99 tuner_printk(KERN_DEBUG, i2cprops, fmt, ##ar [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | debug.h | 31 __printf(2, 3) void ath12k_info(struct ath12k_base *ab, const char *fmt, ...); 32 __printf(2, 3) void ath12k_err(struct ath12k_base *ab, const char *fmt, ...); 33 __printf(2, 3) void ath12k_warn(struct ath12k_base *ab, const char *fmt, ...); 40 const char *fmt, ...); 48 const char *fmt, ...) 60 #define ath12k_dbg(ar, dbg_mask, fmt, ...) \ 64 __ath12k_dbg(ar, mask, fmt, ##__VA_ARGS__); \ 46 __ath12k_dbg(struct ath12k_base *ab, enum ath12k_debug_mask dbg_mask, const char *fmt, ...) argument
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | debug.h | 76 __printf(2, 3) void ath11k_info(struct ath11k_base *ab, const char *fmt, ...); 77 __printf(2, 3) void ath11k_err(struct ath11k_base *ab, const char *fmt, ...); 78 __printf(2, 3) void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...); 85 const char *fmt, ...); 93 const char *fmt, ...) 106 #define ath11k_dbg(ar, dbg_mask, fmt, ...) \ 110 __ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \ 91 __ath11k_dbg(struct ath11k_base *ab, enum ath11k_debug_mask dbg_mask, const char *fmt, ...) argument
|
/linux-master/drivers/media/usb/pwc/ |
H A D | pwc.h | 56 #define PWC_DEBUG_MODULE(fmt, args...) PWC_DEBUG(MODULE, fmt, ##args) 57 #define PWC_DEBUG_PROBE(fmt, args...) PWC_DEBUG(PROBE, fmt, ##args) 58 #define PWC_DEBUG_OPEN(fmt, args...) PWC_DEBUG(OPEN, fmt, ##args) 59 #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) 60 #define PWC_DEBUG_MEMORY(fmt, args...) PWC_DEBUG(MEMORY, fmt, ##arg [all...] |
/linux-master/arch/alpha/lib/ |
H A D | srm_printk.c | 10 srm_printk(const char *fmt, ...) argument 17 va_start(args, fmt); 18 len = vsprintf(buf, fmt, args);
|
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf.h | 123 #define mxl_printk(kern, fmt, arg...) \ 124 printk(kern "%s: " fmt "\n", __func__, ##arg) 126 #define mxl_info(fmt, arg...) \ 127 mxl_printk(KERN_INFO, fmt, ##arg) 130 #define mxl_debug(fmt, arg...) \ 132 mxl_printk(KERN_DEBUG, fmt, ##arg) 136 #define mxl_debug_adv(fmt, arg...) \ 138 mxl_printk(KERN_DEBUG, fmt, ##arg) 140 #define mxl_i2c(fmt, arg...) \ 142 mxl_printk(KERN_DEBUG, fmt, ##ar [all...] |
/linux-master/drivers/comedi/drivers/tests/ |
H A D | unittest.h | 31 #define unittest(result, fmt, ...) ({ \ 35 pr_err("FAIL %s():%i " fmt, __func__, __LINE__, \ 39 pr_debug("pass %s():%i " fmt, __func__, __LINE__, \
|
/linux-master/tools/include/tools/ |
H A D | dis-asm-compat.h | 20 const char *fmt, ...) 27 va_start(args, fmt); 28 r = vfprintf(out, fmt, args); 18 fprintf_styled(void *out, enum disassembler_style style, const char *fmt, ...) argument
|
/linux-master/drivers/mtd/ubi/ |
H A D | misc.c | 145 void ubi_msg(const struct ubi_device *ubi, const char *fmt, ...) argument 150 va_start(args, fmt); 152 vaf.fmt = fmt; 161 void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...) argument 166 va_start(args, fmt); 168 vaf.fmt = fmt; 178 void ubi_err(const struct ubi_device *ubi, const char *fmt, ...) argument 183 va_start(args, fmt); [all...] |
/linux-master/include/kunit/ |
H A D | test-bug.h | 55 #define kunit_fail_current_test(fmt, ...) do { \ 59 fmt, ##__VA_ARGS__); \ 67 #define kunit_fail_current_test(fmt, ...) do {} while (0)
|
H A D | test.h | 483 void __printf(2, 3) kunit_log_append(struct string_stream *log, const char *fmt, ...); 489 * @fmt: A printk() style format string. 491 * Marks the test as skipped. @fmt is given output as the test status 496 #define kunit_mark_skipped(test_or_suite, fmt, ...) \ 501 fmt, ##__VA_ARGS__); \ 508 * @fmt: A printk() style format string. 510 * Skips the test. @fmt is given output as the test status 515 #define kunit_skip(test_or_suite, fmt, ...) \ 517 kunit_mark_skipped((test_or_suite), fmt, ##__VA_ARGS__);\ 525 #define kunit_log(lvl, test_or_suite, fmt, [all...] |
/linux-master/samples/bpf/ |
H A D | tracex1.bpf.c | 38 char fmt[] = "skb %p len %d\n"; local 40 bpf_trace_printk(fmt, sizeof(fmt), skb, len);
|
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 84 uformat = format->fmt; 102 if (format->fmt->type != uformat->type) 104 list_for_each_entry(frame, &format->fmt->frames, entry) { 122 const struct uvc_format_desc *fmtdesc = to_uvc_format(format->fmt); 125 uformat = format->fmt; 150 if (format->fmt->type != uformat->type) 153 list_for_each_entry(frame, &format->fmt->frames, entry) { 217 uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt) argument 223 fmt->fmt 236 uvc_v4l2_try_format(struct file *file, void *fh, struct v4l2_format *fmt) argument 276 uvc_v4l2_set_format(struct file *file, void *fh, struct v4l2_format *fmt) argument [all...] |
/linux-master/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-ip.c | 40 struct v4l2_mbus_framefmt *fmt; local 43 fmt = v4l2_subdev_state_get_format(state, 1); 46 return fmt; 98 struct v4l2_subdev_format *fmt) 104 if (fmt->pad == RZG2L_CRU_IP_SOURCE) { 105 fmt->format = *src_format; 109 sink_format = v4l2_subdev_state_get_format(state, fmt->pad); 111 if (!rzg2l_cru_ip_code_to_fmt(fmt->format.code)) 114 sink_format->code = fmt->format.code; 117 sink_format->colorspace = fmt 96 rzg2l_cru_ip_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *fmt) argument 166 struct v4l2_subdev_format fmt = { .pad = RZG2L_CRU_IP_SINK, }; local [all...] |
/linux-master/arch/powerpc/xmon/ |
H A D | nonstdio.h | 10 extern __printf(1, 2) void xmon_printf(const char *fmt, ...);
|
/linux-master/sound/usb/ |
H A D | format.h | 7 struct uac_format_type_i_continuous_descriptor *fmt,
|
/linux-master/net/mac80211/ |
H A D | debugfs.h | 10 loff_t *ppos, char *fmt, ...);
|