函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lockdep_reset_lock

函数原型:void lockdep_reset_lock(struct lockdep_map *lock)

返回类型:void

参数:

类型参数名称
struct lockdep_map *lock
5156  Initialize the lock_classes[] array elements, the free_lock_classes list* and also the delayed_free structure.
5158  如果inside_selftest()则Reset a lock. Does not sleep. Ignores debug_locks. Must only be used by the* lockdep selftests.
5160  否则Remove all information lockdep has about a lock if debug_locks == 1. Free* released data structures from RCU context.