Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/locking/semaphore.c __down() -> __down_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| PARAM_VALUE | 0 | sem->count | 0 |
| PARAM_VALUE | 0 | sem->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sem->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sem->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 2 |
| PARAM_VALUE | 2 | timeout | s64max |
| DATA_SOURCE | 0 | sem | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sem->lock | |
| TYPE_LOCK | (struct semaphore)->lock |
kernel/locking/semaphore.c __down_interruptible() -> __down_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| PARAM_VALUE | 0 | sem->count | 0 |
| PARAM_VALUE | 0 | sem->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sem->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sem->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | timeout | s64max |
| BUF_SIZE | 0 | sem | (-1),96 |
| BUF_SIZE | 0 | sem | (-1),96 |
| DATA_SOURCE | 0 | sem | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sem->lock | |
| HALF_LOCKED2 | &client->hwctx_srcu | ||
| HALF_LOCKED2 | &f->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rx->sk | ||
| HALF_LOCKED2 | &service->bulk_mutex | ||
| HALF_LOCKED2 | global &capsule_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct semaphore)->lock |
kernel/locking/semaphore.c __down_killable() -> __down_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| PARAM_VALUE | 0 | sem->count | 0 |
| PARAM_VALUE | 0 | sem->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sem->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sem->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 258 |
| PARAM_VALUE | 2 | timeout | s64max |
| DATA_SOURCE | 0 | sem | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sem->lock | |
| TYPE_LOCK | (struct semaphore)->lock |
kernel/locking/semaphore.c __down_timeout() -> __down_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sem | 4096-ptr_max |
| PARAM_VALUE | 0 | sem->count | 0 |
| PARAM_VALUE | 0 | sem->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sem->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | sem->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 2 |
| DATA_SOURCE | 0 | sem | $0 |
| DATA_SOURCE | 2 | timeout | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | sem->count | 0 |
| HOST_DATA | 0 | sem->last_holder | 0-u64max |
| UNITS | 2 | timeout | unit_jiffy |
| LOCK2 | flags | ||
| LOCK2 | 0 | &sem->lock | |
| HALF_LOCKED2 | &data->io_mutex | ||
| HALF_LOCKED2 | &iidev->wake_thread | ||
| HALF_LOCKED2 | &nlmsg_request->sem | ||
| HALF_LOCKED2 | &vf->op_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct semaphore)->lock |