Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:19 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock_pin_lock
Proto:struct pin_cookie lock_pin_lock(struct lockdep_map *lock)
Type:struct pin_cookie
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct lockdep_map * | lock |
| 4532 | cookie = NIL_COOKIE |
| 4535 | If Value for the false possibility is greater at compile time(lockdep_recursion) Then Return cookie |
| 4538 | raw_local_irq_save(flags) |
| 4541 | lockdep_recursion = 1 |
| 4542 | cookie = __lock_pin_lock(lock) |
| 4543 | lockdep_recursion = 0 |
| 4544 | raw_local_irq_restore(flags) |
| 4546 | Return cookie |
| 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 |