函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-27 10:50:28
Last Modify:2020-03-17 14:16:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__lock_repin_lock

函数原型:static void __lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie)

返回类型:void

参数:

类型参数名称
struct lockdep_map *lock
struct pin_cookiecookie
4346  curr等于当前进程
4349  如果此条件成立可能性小(为编译器优化)(!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)则返回
4352 i小于lockdep_depth循环
4353  hlock等于held_locksi
4355  如果match_held_lock(hlock, lock)则
4356  pin_count加等于val
4357  返回
4361  WARN(1, "pinning an unheld lock\n")
调用者
名称描述
lock_repin_lock