| /kernel/trace/ |
| A D | trace_printk.c | 35 const char *fmt; member 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 71 fmt = NULL; in hold_module_trace_bprintk_format() 75 if (fmt) { in hold_module_trace_bprintk_format() 78 tb_fmt->fmt = fmt; in hold_module_trace_bprintk_format() 82 *iter = fmt; in hold_module_trace_bprintk_format() 142 return &p->fmt; in find_next_mod_format() 211 va_start(ap, fmt); in __trace_bprintk() [all …]
|
| A D | trace_seq.c | 78 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() argument 88 va_start(ap, fmt); in trace_seq_printf() 89 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf() 139 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf() argument 148 seq_buf_vprintf(&s->seq, fmt, args); in trace_seq_vprintf() 173 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf() argument 182 seq_buf_bprintf(&s->seq, fmt, binary); in trace_seq_bprintf()
|
| A D | trace_events_synth.c | 278 fmt = "%d"; in synth_field_fmt() 280 fmt = "%u"; in synth_field_fmt() 282 fmt = "%d"; in synth_field_fmt() 284 fmt = "%u"; in synth_field_fmt() 286 fmt = "%d"; in synth_field_fmt() 288 fmt = "%u"; in synth_field_fmt() 290 fmt = "%d"; in synth_field_fmt() 292 fmt = "%u"; in synth_field_fmt() 294 fmt = "%d"; in synth_field_fmt() 296 fmt = "%u"; in synth_field_fmt() [all …]
|
| A D | trace_events.c | 12 #define pr_fmt(fmt) fmt argument 260 fmt += len; in find_event_field() 265 len = p - fmt; in find_event_field() 306 e = fmt + len; in process_pointer() 341 e = fmt + len; in process_string() 349 s = fmt; in process_string() 428 const char *fmt; in test_event_printk() local 437 if (!fmt) in test_event_printk() 441 switch (fmt[i]) { in test_event_printk() 444 if (!fmt[i]) in test_event_printk() [all …]
|
| A D | trace_probe.c | 12 #define pr_fmt(fmt) "trace_probe: " fmt argument 1529 if (!parg->fmt) { in traceprobe_parse_probe_arg_body() 1658 kfree(arg->fmt); in traceprobe_free_probe_arg() 1906 fmt = "(%lx)"; in __set_print_fmt() 1914 fmt = ""; in __set_print_fmt() 1929 parg->type->fmt); in __set_print_fmt() 1936 parg->type->fmt); in __set_print_fmt() 1955 fmt = ", REC->%s"; in __set_print_fmt() 1957 fmt, parg->name); in __set_print_fmt() 1996 if (parg->fmt) in traceprobe_define_arg_fields() [all …]
|
| A D | trace_export.c | 67 #define F_printk(fmt, args...) fmt, args argument 168 #define F_printk(fmt, args...) __stringify(fmt) ", " __stringify(args) argument
|
| A D | trace_output.c | 51 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only() 227 const char *fmt = concatenate ? "%*phN" : "%*ph"; in trace_print_hex_seq() local 331 va_start(ap, fmt); in trace_event_printf() 332 trace_seq_vprintf(s, trace_event_format(iter, fmt), ap); in trace_event_printf() 339 char *fmt, va_list ap) in trace_output_raw() argument 344 trace_seq_vprintf(s, trace_event_format(iter, fmt), ap); in trace_output_raw() 354 va_start(ap, fmt); in trace_output_call() 355 ret = trace_output_raw(iter, name, fmt, ap); in trace_output_call() 993 pos, iter->fmt); in print_fields() 1698 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_print() [all …]
|
| A D | trace_boot.c | 7 #define pr_fmt(fmt) "trace_boot: " fmt argument 176 append_printf(char **bufp, char *end, const char *fmt, ...) in append_printf() argument 184 va_start(args, fmt); in append_printf() 185 ret = vsnprintf(*bufp, end - *bufp, fmt, args); in append_printf()
|
| /kernel/ |
| A D | panic.c | 561 void panic(const char *fmt, ...) in panic() argument 565 va_start(args, fmt); in panic() 566 vpanic(fmt, args); in panic() 805 const char *fmt; member 829 vprintk(args->fmt, args->args); in __warn() 856 const char *fmt, ...) in warn_slowpath_fmt() argument 863 if (!fmt) { in warn_slowpath_fmt() 870 args.fmt = fmt; in warn_slowpath_fmt() 871 va_start(args.args, fmt); in warn_slowpath_fmt() 885 va_start(args, fmt); in __warn_printk() [all …]
|
| A D | vmcore_info.c | 88 void vmcoreinfo_append_str(const char *fmt, ...) in vmcoreinfo_append_str() argument 94 va_start(args, fmt); in vmcoreinfo_append_str() 95 r = vscnprintf(buf, sizeof(buf), fmt, args); in vmcoreinfo_append_str()
|
| /kernel/bpf/ |
| A D | helpers.c | 848 if ((!isprint(fmt[i]) && !isspace(fmt[i])) || !isascii(fmt[i])) { in bpf_bprintf_prepare() 872 while (fmt[i] == '0' || fmt[i] == '+' || fmt[i] == '-' || in bpf_bprintf_prepare() 875 if (fmt[i] >= '1' && fmt[i] <= '9') { in bpf_bprintf_prepare() 877 while (fmt[i] >= '0' && fmt[i] <= '9') in bpf_bprintf_prepare() 884 if (fmt[i + 1] == 0 || isspace(fmt[i + 1]) || in bpf_bprintf_prepare() 891 if ((fmt[i + 1] == 'k' || fmt[i + 1] == 'u') && in bpf_bprintf_prepare() 899 fmt[i + 1] == 'x' || fmt[i + 1] == 's' || in bpf_bprintf_prepare() 922 if ((fmt[i + 1] != 'i' && fmt[i + 1] != 'I') || in bpf_bprintf_prepare() 923 (fmt[i + 2] != '4' && fmt[i + 2] != '6')) { in bpf_bprintf_prepare() 1015 if (fmt[i] != 'i' && fmt[i] != 'd' && fmt[i] != 'u' && in bpf_bprintf_prepare() [all …]
|
| A D | log.c | 14 #define verbose(env, fmt, args...) bpf_verifier_log_write(env, fmt, ##args) argument 60 void bpf_verifier_vlog(struct bpf_verifier_log *log, const char *fmt, in bpf_verifier_vlog() argument 66 n = vscnprintf(log->kbuf, BPF_VERIFIER_TMP_LOG_SIZE, fmt, args); in bpf_verifier_vlog() 305 const char *fmt, ...) in bpf_verifier_log_write() argument 312 va_start(args, fmt); in bpf_verifier_log_write() 313 bpf_verifier_vlog(&env->log, fmt, args); in bpf_verifier_log_write() 319 const char *fmt, ...) in bpf_log() argument 326 va_start(args, fmt); in bpf_log() 327 bpf_verifier_vlog(log, fmt, args); in bpf_log() 679 #define verbose_a(fmt, ...) ({ verbose(env, "%s" fmt, sep, ##__VA_ARGS__); sep = ","; }) argument
|
| /kernel/printk/ |
| A D | printk_safe.c | 75 asmlinkage int vprintk(const char *fmt, va_list args) in vprintk() argument 80 return vkdb_printf(KDB_MSGSRC_PRINTK, fmt, args); in vprintk() 82 return vprintk_default(fmt, args); in vprintk()
|
| A D | internal.h | 18 #define con_printk(lvl, con, fmt, ...) \ argument 19 printk(lvl pr_fmt("%s%sconsole [%s%d] " fmt), \ 73 const char *fmt, va_list args); 75 __printf(1, 0) int vprintk_default(const char *fmt, va_list args);
|
| A D | printk.c | 20 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 754 va_start(args, fmt); in devkmsg_emit() 2243 const char *fmt, va_list args) in vprintk_store() argument 2302 facility, &flags, fmt, args); in vprintk_store() 2396 const char *fmt, va_list args) in vprintk_emit() argument 2474 va_start(args, fmt); in _printk() 2475 r = vprintk(fmt, args); in _printk() 2510 va_start(ap, fmt); in early_printk() 2913 va_start(args, fmt); in console_prepend_message() 4612 va_start(args, fmt); in _printk_deferred() [all …]
|
| A D | index.c | 85 if (!entry->fmt) in pi_show() 91 prefix_len = printk_parse_prefix(entry->fmt, &level, &flags); in pi_show() 110 seq_escape_printf_format(s, entry->fmt + prefix_len); in pi_show()
|
| A D | braille.c | 2 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
| /kernel/module/ |
| A D | kmod.c | 131 int __request_module(bool wait, const char *fmt, ...) in __request_module() argument 148 va_start(args, fmt); in __request_module() 149 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module()
|
| A D | dups.c | 8 #define pr_fmt(fmt) "module: " fmt argument
|
| /kernel/dma/ |
| A D | contiguous.c | 38 #define pr_fmt(fmt) "cma: " fmt argument 440 #define pr_fmt(fmt) fmt argument
|
| /kernel/debug/kdb/ |
| A D | kdb_io.c | 615 int vkdb_printf(enum kdb_msgsrc src, const char *fmt, va_list ap) in vkdb_printf() argument 659 vsnprintf(next_avail, size_avail, fmt, ap); in vkdb_printf() 891 int kdb_printf(const char *fmt, ...) in kdb_printf() argument 896 va_start(ap, fmt); in kdb_printf() 897 r = vkdb_printf(KDB_MSGSRC_INTERNAL, fmt, ap); in kdb_printf()
|
| /kernel/livepatch/ |
| A D | state.c | 8 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
| /kernel/time/ |
| A D | timer_list.c | 31 static void SEQ_printf(struct seq_file *m, const char *fmt, ...) in SEQ_printf() argument 35 va_start(args, fmt); in SEQ_printf() 38 seq_vprintf(m, fmt, args); in SEQ_printf() 40 vprintk(fmt, args); in SEQ_printf()
|
| /kernel/gcov/ |
| A D | base.c | 17 #define pr_fmt(fmt) "gcov: " fmt argument
|
| /kernel/bpf/preload/ |
| A D | bpf_preload_kern.c | 2 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|