Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:25 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove all references to a lock class. The caller must hold the graph lock.
Proto:static void zap_class(struct pending_free *pf, struct lock_class *class)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pending_free * | pf | |
| struct lock_class * | class |
| 4849 | WARN_ON_ONCE(!key) |
| 4856 | entry = list_entries + i |
| 4860 | nr_list_entries-- |
| 4871 | Else |
| Name | Describe |
|---|---|
| __lockdep_free_key_range | 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. |
| __lockdep_reset_lock | The caller must hold the graph lock. Does not sleep. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |