/kernel/trace/ |
D | trace_printk.c | 35 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 …]
|
D | trace_probe.c | 12 #define pr_fmt(fmt) "trace_probe: " fmt argument 33 #define DEFINE_BASIC_PRINT_TYPE_FUNC(tname, type, fmt) \ argument 36 trace_seq_printf(s, fmt, *(type *)data); \ 39 const char PRINT_TYPE_FMT_NAME(tname)[] = fmt; 614 parg->fmt = kmalloc(len, GFP_KERNEL); in traceprobe_parse_probe_arg_body() 615 if (!parg->fmt) in traceprobe_parse_probe_arg_body() 617 snprintf(parg->fmt, len, "%s[%d]", parg->type->fmttype, in traceprobe_parse_probe_arg_body() 802 kfree(arg->fmt); in traceprobe_free_probe_arg() 847 const char *fmt, *arg; in __set_print_fmt() local 850 fmt = "(%lx)"; in __set_print_fmt() [all …]
|
D | trace_seq.c | 84 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() argument 94 va_start(ap, fmt); in trace_seq_printf() 95 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf() 144 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf() argument 153 seq_buf_vprintf(&s->seq, fmt, args); in trace_seq_vprintf() 178 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf() argument 187 seq_buf_bprintf(&s->seq, fmt, binary); in trace_seq_bprintf()
|
D | bpf_trace.c | 214 BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1, in BPF_CALL_5() argument 229 if (fmt[--fmt_size] != 0) in BPF_CALL_5() 234 if ((!isprint(fmt[i]) && !isspace(fmt[i])) || !isascii(fmt[i])) in BPF_CALL_5() 237 if (fmt[i] != '%') in BPF_CALL_5() 245 if (fmt[i] == 'l') { in BPF_CALL_5() 248 } else if (fmt[i] == 'p' || fmt[i] == 's') { in BPF_CALL_5() 251 if (fmt[i + 1] != 0 && in BPF_CALL_5() 252 !isspace(fmt[i + 1]) && in BPF_CALL_5() 253 !ispunct(fmt[i + 1])) in BPF_CALL_5() 256 if (fmt[i] == 's') { in BPF_CALL_5() [all …]
|
D | trace_export.c | 60 #define F_printk(fmt, args...) fmt, args argument 168 #define F_printk(fmt, args...) __stringify(fmt) ", " __stringify(args) argument
|
D | trace_output.c | 46 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only() 222 const char *fmt = concatenate ? "%*phN" : "%*ph"; in trace_print_hex_seq() local 225 trace_seq_printf(p, fmt, min(buf_len - i, 16), &buf[i]); in trace_print_hex_seq() 301 char *fmt, va_list ap) in trace_output_raw() argument 306 trace_seq_vprintf(s, fmt, ap); in trace_output_raw() 311 int trace_output_call(struct trace_iterator *iter, char *name, char *fmt, ...) in trace_output_call() argument 316 va_start(ap, fmt); in trace_output_call() 317 ret = trace_output_raw(iter, name, fmt, ap); in trace_output_call() 1257 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_print() 1273 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_raw()
|
/kernel/printk/ |
D | printk_safe.c | 69 const char *fmt, va_list args) in printk_safe_log_store() argument 93 add = vscnprintf(s->buffer + len, sizeof(s->buffer) - len, fmt, ap); in printk_safe_log_store() 290 static __printf(1, 0) int vprintk_nmi(const char *fmt, va_list args) in vprintk_nmi() argument 294 return printk_safe_log_store(s, fmt, args); in vprintk_nmi() 330 static __printf(1, 0) int vprintk_nmi(const char *fmt, va_list args) in vprintk_nmi() argument 342 static __printf(1, 0) int vprintk_safe(const char *fmt, va_list args) in vprintk_safe() argument 346 return printk_safe_log_store(s, fmt, args); in vprintk_safe() 361 __printf(1, 0) int vprintk_func(const char *fmt, va_list args) in vprintk_func() argument 371 len = vprintk_store(0, LOGLEVEL_DEFAULT, NULL, 0, fmt, args); in vprintk_func() 379 return vprintk_nmi(fmt, args); in vprintk_func() [all …]
|
D | internal.h | 18 const char *fmt, va_list args); 20 __printf(1, 0) int vprintk_default(const char *fmt, va_list args); 21 __printf(1, 0) int vprintk_deferred(const char *fmt, va_list args); 22 __printf(1, 0) int vprintk_func(const char *fmt, va_list args); 54 __printf(1, 0) int vprintk_func(const char *fmt, va_list args) { return 0; } in vprintk_func() argument
|
D | printk.c | 20 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 793 int devkmsg_emit(int facility, int level, const char *fmt, ...) in devkmsg_emit() argument 798 va_start(args, fmt); in devkmsg_emit() 799 r = vprintk_emit(facility, level, NULL, 0, fmt, args); in devkmsg_emit() 1906 const char *fmt, va_list args) in vprintk_store() argument 1917 text_len = vscnprintf(text, sizeof(textbuf), fmt, args); in vprintk_store() 1956 const char *fmt, va_list args) in vprintk_emit() argument 1978 printed_len = vprintk_store(facility, level, dict, dictlen, fmt, args); in vprintk_emit() 2006 asmlinkage int vprintk(const char *fmt, va_list args) in vprintk() argument 2008 return vprintk_func(fmt, args); in vprintk() [all …]
|
D | braille.c | 2 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
/kernel/ |
D | panic.c | 167 void panic(const char *fmt, ...) in panic() argument 208 va_start(args, fmt); in panic() 209 len = vscnprintf(buf, sizeof(buf), fmt, args); in panic() 554 const char *fmt; member 572 vprintk(args->fmt, args->args); in __warn() 602 const char *fmt, ...) in warn_slowpath_fmt() argument 608 if (!fmt) { in warn_slowpath_fmt() 614 args.fmt = fmt; in warn_slowpath_fmt() 615 va_start(args.args, fmt); in warn_slowpath_fmt() 621 void __warn_printk(const char *fmt, ...) in __warn_printk() argument [all …]
|
D | kmod.c | 125 int __request_module(bool wait, const char *fmt, ...) in __request_module() argument 142 va_start(args, fmt); in __request_module() 143 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module()
|
D | audit.c | 32 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 1836 static void audit_log_vformat(struct audit_buffer *ab, const char *fmt, in audit_log_vformat() argument 1855 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat() 1864 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); in audit_log_vformat() 1882 void audit_log_format(struct audit_buffer *ab, const char *fmt, ...) in audit_log_format() argument 1888 va_start(args, fmt); in audit_log_format() 1889 audit_log_vformat(ab, fmt, args); in audit_log_format() 2338 const char *fmt, ...) in audit_log() argument 2345 va_start(args, fmt); in audit_log() 2346 audit_log_vformat(ab, fmt, args); in audit_log()
|
D | watchdog_hld.c | 13 #define pr_fmt(fmt) "NMI watchdog: " fmt argument
|
D | crash_core.c | 349 void vmcoreinfo_append_str(const char *fmt, ...) in vmcoreinfo_append_str() argument 355 va_start(args, fmt); in vmcoreinfo_append_str() 356 r = vscnprintf(buf, sizeof(buf), fmt, args); in vmcoreinfo_append_str()
|
D | kexec.c | 7 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
/kernel/dma/ |
D | contiguous.c | 10 #define pr_fmt(fmt) "cma: " fmt argument 280 #define pr_fmt(fmt) fmt argument
|
/kernel/power/ |
D | wakeup_reason.c | 136 void log_suspend_abort_reason(const char *fmt, ...) in log_suspend_abort_reason() argument 150 va_start(args, fmt); in log_suspend_abort_reason() 151 vsnprintf(abort_reason, MAX_SUSPEND_ABORT_LEN, fmt, args); in log_suspend_abort_reason()
|
D | energy_model.c | 9 #define pr_fmt(fmt) "energy_model: " fmt argument
|
/kernel/gcov/ |
D | base.c | 17 #define pr_fmt(fmt) "gcov: " fmt argument
|
/kernel/time/ |
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/debug/kdb/ |
D | kdb_io.c | 555 int vkdb_printf(enum kdb_msgsrc src, const char *fmt, va_list ap) in vkdb_printf() argument 600 vsnprintf(next_avail, size_avail, fmt, ap); in vkdb_printf() 855 int kdb_printf(const char *fmt, ...) in kdb_printf() argument 860 va_start(ap, fmt); in kdb_printf() 861 r = vkdb_printf(KDB_MSGSRC_INTERNAL, fmt, ap); in kdb_printf()
|
/kernel/bpf/ |
D | btf.c | 665 const char *fmt, ...) in __btf_verifier_log() argument 669 va_start(args, fmt); in __btf_verifier_log() 670 bpf_verifier_vlog(log, fmt, args); in __btf_verifier_log() 675 const char *fmt, ...) in btf_verifier_log() argument 683 va_start(args, fmt); in btf_verifier_log() 684 bpf_verifier_vlog(log, fmt, args); in btf_verifier_log() 691 const char *fmt, ...) in __btf_verifier_log_type() argument 710 if (fmt && *fmt) { in __btf_verifier_log_type() 712 va_start(args, fmt); in __btf_verifier_log_type() 713 bpf_verifier_vlog(log, fmt, args); in __btf_verifier_log_type() [all …]
|
/kernel/livepatch/ |
D | shadow.c | 32 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|
D | patch.c | 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
|