Function report | 
Source Code:kernel\locking\lockdep.c | 
Create Date:2022-07-28 09:49:36 | 
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:look_up_lock_class
Proto:static inline struct lock_class *look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass)
Type:struct lock_class
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct lockdep_map * | lock | |
| unsigned int | subclass | 
| 799 | printk(r conditions "BUG: looking up invalid subclass: %u\n", subclass) | 
| 801 | printk(r conditions "turning off the locking correctness validator.\n") | 
| 803 | dump_stack() | 
| 804 | Return NULL | 
| 811 | If Value for the false possibility is greater at compile time(!key) Then Return NULL | 
| 820 | BUILD_BUG_ON - break compile if a condition is true(sizeof(structlock_class_key) > sizeof(structlockdep_map)) | 
| 825 | hash_head = classhashentry(key) | 
| 839 | WARN_ON_ONCE(name != name && key != & __lockdep_no_validate__) | 
| 841 | Return class | 
| 845 | Return NULL | 
| 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. | 
| match_held_lock | |
| __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  |