Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hwspinlock/hwspinlock_core.c __hwspin_lock_request() -> hwlock_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hwlock->bank | 4096-ptr_max |
| DATA_SOURCE | 0 | hwlock | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hwspinlock_tree_lock |
drivers/hwspinlock/hwspinlock_core.c hwspin_lock_free() -> hwlock_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hwlock->bank | 4096-ptr_max |
| DATA_SOURCE | 0 | hwlock | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hwspinlock_tree_lock |
drivers/hwspinlock/hwspinlock_core.c hwspin_lock_free() -> hwlock_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hwlock->bank | 4096-ptr_max |
| DATA_SOURCE | 0 | hwlock | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hwspinlock_tree_lock |
drivers/hwspinlock/hwspinlock_core.c hwspin_lock_request_specific() -> hwlock_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwlock | 1-u64max |
| DATA_SOURCE | 0 | hwlock | r radix_tree_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hwspinlock_tree_lock |
drivers/hwspinlock/sprd_hwspinlock.c sprd_hwspinlock_trylock() -> hwlock_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwlock | 4096-ptr_max |
| PARAM_VALUE | 0 | hwlock->bank | 4096-ptr_max |
| DATA_SOURCE | 0 | hwlock | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip_data->rlock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &efuse->mutex | ||
| HALF_LOCKED2 | *flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &hwlock->lock |