函数逻辑报告

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

函数名称:Reset a lock. Does not sleep. Ignores debug_locks. Must only be used by the* lockdep selftests.

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

返回类型:void

参数:

类型参数名称
struct lockdep_map *lock
5143  pf等于pf
5146  raw_local_irq_save(flags)
5147  r sched/core.c and kernel_lock.c: ( & lockdep_lock: protects the lockdep graph, the hashes and the* class/list/hash allocators.* This is one of the rare exceptions where it's justified* to use a raw spinlock - we really dont want the spinlock* code to recurse back into the lockdep code...)
5148  The caller must hold the graph lock. Does not sleep.
5149  The caller must hold the graph lock. May be called from RCU context.
5150  arch_spin_unlock( & lockdep_lock: protects the lockdep graph, the hashes and the* class/list/hash allocators.* This is one of the rare exceptions where it's justified* to use a raw spinlock - we really dont want the spinlock* code to recurse back into the lockdep code...)
5151  raw_local_irq_restore(flags)
调用者
名称描述
lockdep_reset_lock