Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:08 |
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
Proto:static inline __attribute__((__always_inline__)) int __lock_is_held(const struct lockdep_map *lock, int read)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct lockdep_map * | lock | |
int | read |
4299 | curr = current process |
4302 | When i < lockdep_depth cycle |
4303 | hlock = held_locks + i |
4305 | If match_held_lock(hlock, lock) Then |
4313 | Return 0 |
Name | Describe |
---|---|
__lock_acquire | This gets called for every mutex_lock*()/spin_lock*() operation |
lock_is_held_type |
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 |