Defined in 2 files as a function:
- include/linux/rtmutex.h, line 50 (as a function)
- kernel/locking/rtmutex_common.h, line 231 (as a function)
Referenced in 9 files:
- include/linux/local_lock_internal.h, line 314
- include/linux/netdevice.h, line 4980
- kernel/futex/pi.c
- kernel/locking/rtmutex.c
- kernel/locking/rtmutex_api.c
- kernel/locking/rtmutex_common.h
- kernel/locking/rwbase_rt.c
- kernel/locking/ww_mutex.h, line 169
- kernel/rcu/tree_plugin.h
Smatch caller information:
kernel/rcu/tree.c rcu_is_task_rcu_boosted() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/rcu/tree.c rcu_preempt_deferred_qs_irqrestore() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rnp->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct rcu_node)->lock |
kernel/locking/rtmutex_api.c __rt_mutex_start_proxy_lock() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &hb->lock | ||
| HALF_LOCKED2 | &q.pi_state->pi_mutex.wait_lock | ||
| HALF_LOCKED2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c debug_rt_mutex_proxy_unlock() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pi_state->pi_mutex.wait_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &curr->futex.exit_mutex | ||
| HALF_LOCKED2 | &curr->pi_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c debug_rt_mutex_unlock() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c remove_waiter() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | lock | (-1),96 |
| BUF_SIZE | 0 | lock | (-1),96 |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | 0 | &lock->wait_lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio_chain() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $2 |
| RX_PATH | |||
| LOCK2 | &task->pi_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio_chain() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &task->pi_lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio_chain() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lock->wait_lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio_chain() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lock->wait_lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio_chain() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| CAPPED_DATA | 0 | lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_adjust_prio_chain() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| CAPPED_DATA | 0 | lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_cleanup_proxy_lock() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | lock | (-1),96 |
| BUF_SIZE | 0 | lock | (-1),96 |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &lock->wait_lock | |
| HALF_LOCKED2 | &hb->lock | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_slowlock_block() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | lock | (-1),96 |
| BUF_SIZE | 0 | lock | (-1),96 |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | 0 | &lock->wait_lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c rt_mutex_slowtrylock() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hb->lock |
kernel/locking/rtmutex_api.c rtmutex_spin_on_owner() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | flags |
kernel/locking/rtmutex_api.c task_blocks_on_rt_mutex() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/locking/rtmutex_api.c try_to_take_rt_mutex() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| BUF_SIZE | 0 | lock | (-1),96 |
| BUF_SIZE | 0 | lock | (-1),96 |
| CAPPED_DATA | 0 | lock | 1 |
| DATA_SOURCE | 0 | lock | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &lock->wait_lock | |
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/futex/pi.c __fixup_pi_state_owner() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| LOCK2 | &pi_state->pi_mutex.wait_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &hb->lock | ||
| HALF_LOCKED2 | &pi_state->pi_mutex.wait_lock | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/futex/pi.c __fixup_pi_state_owner() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| LOCK2 | &pi_state->pi_mutex.wait_lock | ||
| LOCK2 | &pi_state->pi_mutex.wait_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &hb->lock | ||
| TYPE_LOCK | (struct rt_mutex_base)->wait_lock |
kernel/futex/pi.c fixup_pi_owner() -> rt_mutex_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| HALF_LOCKED2 | &hb->lock |