Function report |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-28 09:47:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check the wound condition for the current lock acquire
Proto:static inline int __sched __ww_mutex_check_kill(struct mutex *lock, struct mutex_waiter *waiter, struct ww_acquire_ctx *ctx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mutex * | lock | |
struct mutex_waiter * | waiter | |
struct ww_acquire_ctx * | ctx |
812 | If acquired == 0 Then Return 0 |
815 | If Not is_wait_die Then |
816 | If wounded Then Return __ww_mutex_kill(lock, ctx) |
819 | Return 0 |
831 | If Not ww_ctx Then Continue |
834 | Return __ww_mutex_kill(lock, ctx) |
837 | Return 0 |
Name | Describe |
---|---|
__mutex_lock_common | Lock a mutex (possibly interruptible), slowpath: |
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 |