Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:49:59 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:match_held_lock
Proto:static int match_held_lock(const struct held_lock *hlock, const struct lockdep_map *lock)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct held_lock * | hlock | |
| const struct lockdep_map * | lock |
| 4016 | If references Then |
| 4017 | class = class_cache[0] |
| 4019 | If Not class Then class = look_up_lock_class(lock, 0) |
| 4028 | If Not class Then Return 0 |
| 4036 | If DEBUG_LOCKS_WARN_ON(!nest_lock) Then Return 0 |
| 4039 | If class_idx == class - lock_classes Then Return 1 |
| 4043 | Return 0 |
| Name | Describe |
|---|---|
| find_held_lock | @depth must not be zero |
| __lock_is_held | |
| __lock_pin_lock | |
| __lock_repin_lock | |
| __lock_unpin_lock |
| 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 |