Home
last modified time | relevance | path

Searched refs:tb_fmt (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
Dtrace_printk.c64 struct trace_bprintk_fmt *tb_fmt = lookup_format(*iter); in hold_module_trace_bprintk_format() local
65 if (tb_fmt) { in hold_module_trace_bprintk_format()
66 if (!IS_ERR(tb_fmt)) in hold_module_trace_bprintk_format()
67 *iter = tb_fmt->fmt; in hold_module_trace_bprintk_format()
72 tb_fmt = kmalloc(sizeof(*tb_fmt), GFP_KERNEL); in hold_module_trace_bprintk_format()
73 if (tb_fmt) { in hold_module_trace_bprintk_format()
76 list_add_tail(&tb_fmt->list, &trace_bprintk_fmt_list); in hold_module_trace_bprintk_format()
78 tb_fmt->fmt = fmt; in hold_module_trace_bprintk_format()
80 kfree(tb_fmt); in hold_module_trace_bprintk_format()