Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:10
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__lock_repin_lock

Proto:static void __lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie)

Type:void

Parameter:

TypeParameterName
struct lockdep_map *lock
struct pin_cookiecookie
4346  curr = current process
4349  If Value for the false possibility is greater at compile time(!We want to turn all lock-debugging facilities on/off at once,* via a global flag. The reason is that once a single bug has been* detected and reported, there might be cascade of followup bugs* that would just muddy the log. So we report the first one and) Then Return
4352  When i < lockdep_depth cycle
4353  hlock = held_locks + i
4355  If match_held_lock(hlock, lock) Then
4356  pin_count += val
4357  Return
4361  WARN(1, "pinning an unheld lock\n")
Caller
NameDescribe
lock_repin_lock