Function report | 
Source Code:kernel\locking\lockdep.c | 
Create Date:2022-07-28 09:49:41 | 
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Check whether a key has been registered as a dynamic key.
Proto:static bool is_dynamic_key(const struct lock_class_key *key)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct lock_class_key * | key | 
| 1143 | bool found = false | 
| 1145 | If WARN_ON_ONCE(Is this the address of a static object:) Then Return false | 
| 1156 | hash_head = keyhashentry(key) | 
| 1161 | found = true | 
| 1162 | Break | 
| 1167 | Return found | 
| Name | Describe | 
|---|---|
| register_lock_class | Register a lock's class in the hash-table, if the class is not present* yet. Otherwise we look it up. We cache the result in the lock object* itself, so actual lookup of the hash should be once per lock object. | 
| lockdep_init_map | Initialize a lock instance's lock-class mapping info: | 
| 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  |