Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwtracing/stm/core.c stm_find_master_chan() -> stm_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data | 4096-ptr_max |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | stm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &output->lock | ||
| LOCK2 | global &stp_policy_subsys.su_mutex | ||
| LOCK2 | 0 | &stm->mc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct stm_device)->mc_lock | ||
| TYPE_LOCK | (struct stm_output)->lock |
drivers/hwtracing/stm/core.c stm_find_master_chan() -> stm_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data | 4096-ptr_max |
| CAPPED_DATA | 0 | stm->data->sw_start | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | stm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &output->lock | ||
| LOCK2 | global &stp_policy_subsys.su_mutex | ||
| LOCK2 | 0 | &stm->mc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct stm_device)->mc_lock | ||
| TYPE_LOCK | (struct stm_output)->lock |
drivers/hwtracing/stm/core.c stm_output_claim() -> stm_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data | 4096-ptr_max |
| CAPPED_DATA | 0 | stm->data->sw_start | 1 |
| DATA_SOURCE | 0 | stm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &output->lock | ||
| LOCK2 | global &stp_policy_subsys.su_mutex | ||
| LOCK2 | 0 | &stm->mc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct stm_device)->mc_lock | ||
| TYPE_LOCK | (struct stm_output)->lock |
drivers/hwtracing/stm/core.c stm_output_disclaim() -> stm_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data->sw_end | 0-u16max |
| CAPPED_DATA | 0 | stm | 1 |
| DATA_SOURCE | 0 | stm | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &output->lock | ||
| LOCK2 | 0 | &stm->mc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &src->link_lock | ||
| HALF_LOCKED2 | &stm->link_lock | ||
| HALF_LOCKED2 | &stm->link_mutex | ||
| TYPE_LOCK | (struct stm_device)->mc_lock | ||
| TYPE_LOCK | (struct stm_output)->lock |
drivers/hwtracing/stm/core.c stp_master_free() -> stm_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stm | 4096-ptr_max |
| PARAM_VALUE | 0 | stm->data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-u16max |
| CAPPED_DATA | 0 | stm | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | stm | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |