Function report |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-28 09:47:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Internal helper function; C doesn't allow us to hide it :/* DO NOT USE (outside of mutex code).
Proto:static inline struct task_struct *__mutex_owner(struct mutex *lock)
Type:struct task_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mutex * | lock |
| 75 | Return atomic_long_read( & owner) & ~MUTEX_FLAGS |
| Name | Describe |
|---|---|
| mutex_is_locked | |
| mutex_trylock_recursive | |
| __ww_mutex_wound | Wound-Wait; wound a younger @hold_ctx if it holds the lock.* Wound the lock holder if there are waiters with older transactions than* the lock holders. Even if multiple waiters may wound the lock holder,* it's sufficient that only one does. |
| 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 |