Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:00 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:@depth must not be zero
Proto:static struct *find_held_lock(struct task_struct *curr, struct lockdep_map *lock, unsigned int depth, int *idx)
Type:struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | curr | |
| struct lockdep_map * | lock | |
| unsigned int | depth | |
| int * | idx |
| 4055 | hlock = held_locks + i |
| 4057 | If match_held_lock(hlock, lock) Then Go to out |
| 4060 | ret = NULL |
| 4067 | If irq_context != irq_context Then |
| 4068 | ret = NULL |
| 4069 | Break |
| 4071 | If match_held_lock(hlock, lock) Then |
| 4077 | out : |
| 4079 | Return ret |
| Name | Describe |
|---|---|
| __lock_set_class | |
| __lock_downgrade | |
| __lock_release | Remove the lock from the list of currently held locks - this gets* called on mutex_unlock()/spin_unlock*() (or on a failed* mutex_lock_interruptible()). |
| 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 |