Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:49:40 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Register a dynamically allocated key.
Proto:void lockdep_register_key(struct lock_class_key *key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct lock_class_key * | key |
| 1119 | If WARN_ON_ONCE(Is this the address of a static object:) Then Return |
| 1121 | hash_head = keyhashentry(key) |
| 1123 | raw_local_irq_save(flags) |
| 1124 | If Not graph_lock() Then Go to restore_irqs |
| 1127 | If WARN_ON_ONCE(k == key) Then Go to out_unlock |
| 1131 | out_unlock : |
| 1132 | graph_unlock() |
| 1133 | restore_irqs : |
| 1134 | raw_local_irq_restore(flags) |
| 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 |