Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_printk.c Create Date:2022-07-28 12:06:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hold_module_trace_bprintk_format

Proto:static void hold_module_trace_bprintk_format(const char **start, const char **end)

Type:void

Parameter:

TypeParameterName
const char **start
const char **end
59  If start != end Then trace_printk_init_buffers()
62  mutex_lock( & serialize accesses to trace_bprintk_fmt_list )
63  When iter < end cycle
64  tb_fmt = lookup_format( * iter)
65  If tb_fmt Then
66  If Not IS_ERR(tb_fmt) Then iter = fmt
68  Continue
71  fmt = NULL
72  tb_fmt = Allocation memory
73  If tb_fmt Then
75  If fmt Then
79  Else kfree(tb_fmt)
82  iter = fmt
85  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
module_trace_bprintk_format_notify