Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:31
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Used in module

Proto:static void lockdep_free_key_range_reg(void *start, unsigned long size)

Type:void

Parameter:

TypeParameterName
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()
Caller
NameDescribe
lockdep_free_key_range