Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:17 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock_is_held_type
Proto:int lock_is_held_type(const struct lockdep_map *lock, int read)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct lockdep_map * | lock | |
| int | read |
| 4512 | ret = 0 |
| 4514 | If Value for the false possibility is greater at compile time(lockdep_recursion) Then Return 1 |
| 4517 | raw_local_irq_save(flags) |
| 4520 | lockdep_recursion = 1 |
| 4521 | ret = __lock_is_held(lock, read) |
| 4522 | lockdep_recursion = 0 |
| 4523 | raw_local_irq_restore(flags) |
| 4525 | Return ret |
| 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 |