Function report |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-28 09:51:55 |
Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock->owner state tracking:* is used to keep track of the "lock has waiters" state
Proto:static void rt_mutex_set_owner(struct rt_mutex *lock, struct task_struct *owner)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rt_mutex * | lock | >owner holds the task_struct pointer of the owner. Bit 0 |
struct task_struct * | owner |
57 | If rt_mutex_has_waiters(>owner holds the task_struct pointer of the owner. Bit 0) Then val |= lock->owner state tracking: |
Name | Describe |
---|---|
try_to_take_rt_mutex | Try to take an rt-mutex* Must be called with lock->wait_lock held and interrupts disabled*@lock: The lock to be acquired |
rt_mutex_init_proxy_locked | _mutex_init_proxy_locked - initialize and lock a rt_mutex on behalf of a* proxy owner*@lock: the rt_mutex to be locked*@proxy_owner:the task to set as owner* No locking. Caller has to do serializing itself* Special API call for PI-futex support |
rt_mutex_proxy_unlock | _mutex_proxy_unlock - release a lock on behalf of owner*@lock: the rt_mutex to be locked* No locking. Caller has to do serializing itself* Special API call for PI-futex support. This merrily cleans up the rtmutex* (debugging) state |
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 |