Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/locking/rwsem.c down_read_non_owner() -> __rwsem_set_reader_owned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| PARAM_VALUE | 1 | owner | 0 |
| DATA_SOURCE | 0 | sem | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/locking/rwsem.c rwsem_mark_wake() -> __rwsem_set_reader_owned()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| BUF_SIZE | 0 | sem->dep_map.name | (-1),20 |
| BUF_SIZE | 0 | sem->first_waiter | (-1),48 |
| BUF_SIZE | 0 | sem->magic | (-1),160 |
| CAPPED_DATA | 0 | sem | 1 |
| DATA_SOURCE | 0 | sem | $0 |
| STR_LEN | 0 | sem->dep_map.name | (-1),19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sem->wait_lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct rw_semaphore)->wait_lock |
kernel/locking/rwsem.c rwsem_set_reader_owned() -> __rwsem_set_reader_owned()
| 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 |