函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bug.c Create Date:2022-07-27 07:15:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:module_find_bug

函数原型:static struct bug_entry *module_find_bug(unsigned long bugaddr)

返回类型:struct bug_entry

参数:

类型参数名称
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 i小于num_bugs循环如果bugaddr恒等于bug_addr(bug)则
78  转到:out
80  bug = NULL
81  out :
82  标记rcu锁结束
84  返回:bug
调用者
名称描述
find_bug