Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:module_find_bug

Proto:static struct bug_entry *module_find_bug(unsigned long bugaddr)

Type:struct bug_entry

Parameter:

TypeParameterName
unsigned longbugaddr
69  struct bug_entry * bug = NULL
71  _read_lock_sched() - mark the beginning of a RCU-sched critical section* This is equivalent of rcu_read_lock(), but disables preemption.* Read-side critical sections can also be introduced by anything else
75  bug = bug_table
76  When i < num_bugs cycle If bugaddr == bug_addr(bug) Then
78  Go to out
80  bug = NULL
81  out :
82  _read_unlock_sched - marks the end of a RCU-classic critical section* See rcu_read_lock_sched for more information.
84  Return bug
Caller
NameDescribe
find_bug