函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Used in module

函数原型:static void lockdep_free_key_range_reg(void *start, unsigned long size)

返回类型:void

参数:

类型参数名称
void *start
unsigned longsize
5017  Initialize the lock_classes[] array elements, the free_lock_classes list* and also the delayed_free structure.
5019  raw_local_irq_save(flags)
5020  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...)
5021  lockdep_recursion等于1
5022  pf等于The caller must hold the graph lock.
5023  Remove all lock classes from the class hash table and from the* all_lock_classes list whose key or name is in the address range [start,* start + size). Move these lock classes to the zapped_classes list. Must* be called with the graph lock held.
5024  Schedule an RCU callback if no RCU callback is pending. Must be called with* the graph lock held.
5025  lockdep_recursion等于0
5026  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...)
5027  raw_local_irq_restore(flags)
5033  synchronize_rcu()
调用者
名称描述
lockdep_free_key_range