函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The caller must hold the graph lock. Does not sleep.

函数原型:static void __lockdep_reset_lock(struct pending_free *pf, struct lockdep_map *lock)

返回类型:void

参数:

类型参数名称
struct pending_free *pf
struct lockdep_map *lock
5097 j小于MAX_LOCKDEP_SUBCLASSES循环
5101  class等于look_up_lock_class(lock, j)
5102  如果classRemove all references to a lock class. The caller must hold the graph lock.
5109  如果WARN_ON_ONCE(Check whether any element of the @lock->class_cache[] array refers to a* registered lock class. The caller must hold either the graph lock or the* RCU read lock.)则Generic 'turn off all lock debugging' function:
调用者
名称描述
lockdep_reset_lock_regRemove all information lockdep has about a lock if debug_locks == 1. Free* released data structures from RCU context.
lockdep_reset_lock_immReset a lock. Does not sleep. Ignores debug_locks. Must only be used by the* lockdep selftests.