Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/locking/rwsem.c rwsem_try_write_lock() -> rwsem_set_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| BUF_SIZE | 0 | sem->dep_map.name | (-1),20 |
| BUF_SIZE | 0 | sem->magic | (-1),160 |
| DATA_SOURCE | 0 | sem | $0 |
| STR_LEN | 0 | sem->dep_map.name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sem->wait_lock | |
| TYPE_LOCK | (struct rw_semaphore)->wait_lock |
kernel/locking/rwsem.c rwsem_try_write_lock_unqueued() -> rwsem_set_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| BUF_SIZE | 0 | sem->dep_map.name | (-1),20 |
| BUF_SIZE | 0 | sem->magic | (-1),160 |
| DATA_SOURCE | 0 | sem | $0 |
| STR_LEN | 0 | sem->dep_map.name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/locking/rwsem.c rwsem_write_trylock() -> rwsem_set_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| BUF_SIZE | 0 | sem->dep_map.name | (-1),20 |
| BUF_SIZE | 0 | sem->magic | (-1),160 |
| DATA_SOURCE | 0 | sem | $0 |
| STR_LEN | 0 | sem->dep_map.name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |