Lines Matching refs:fmt
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()
78 tb_fmt->fmt = fmt; in hold_module_trace_bprintk_format()
82 *iter = fmt; in hold_module_trace_bprintk_format()
123 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
142 return &p->fmt; in find_next_mod_format()
153 mod_fmt = container_of(v, typeof(*mod_fmt), fmt); in find_next_mod_format()
159 return &mod_fmt->fmt; in find_next_mod_format()
180 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
200 int __trace_bprintk(unsigned long ip, const char *fmt, ...) in __trace_bprintk() argument
205 if (unlikely(!fmt)) in __trace_bprintk()
211 va_start(ap, fmt); in __trace_bprintk()
212 ret = trace_vbprintk(ip, fmt, ap); in __trace_bprintk()
218 int __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap) in __ftrace_vbprintk() argument
220 if (unlikely(!fmt)) in __ftrace_vbprintk()
226 return trace_vbprintk(ip, fmt, ap); in __ftrace_vbprintk()
230 int __trace_printk(unsigned long ip, const char *fmt, ...) in __trace_printk() argument
238 va_start(ap, fmt); in __trace_printk()
239 ret = trace_vprintk(ip, fmt, ap); in __trace_printk()
245 int __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap) in __ftrace_vprintk() argument
250 return trace_vprintk(ip, fmt, ap); in __ftrace_vprintk()
267 const char **fmt = v; in find_next() local
295 return find_next_mod_format(start_index, v, fmt, pos); in find_next()
313 const char **fmt = v; in t_show() local
314 const char *str = *fmt; in t_show()
317 if (!*fmt) in t_show()
320 seq_printf(m, "0x%lx : \"", *(unsigned long *)fmt); in t_show()