Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:37 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Unregister a dynamically allocated key.
Proto:void lockdep_unregister_key(struct lock_class_key *key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct lock_class_key * | key |
| 5167 | hash_head = keyhashentry(key) |
| 5171 | bool found = false |
| 5173 | might_sleep() |
| 5175 | If WARN_ON_ONCE(Is this the address of a static object:) Then Return |
| 5178 | raw_local_irq_save(flags) |
| 5179 | If Not graph_lock() Then Go to out_irq |
| 5186 | found = true |
| 5187 | Break |
| 5190 | WARN_ON_ONCE(!found) |
| 5192 | Schedule an RCU callback if no RCU callback is pending. Must be called with* the graph lock held. |
| 5193 | graph_unlock() |
| 5194 | out_irq : |
| 5195 | raw_local_irq_restore(flags) |
| 5198 | synchronize_rcu() |
| 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 |